Re: [GSoC] potential student with a question about refactoring god objects
Hi, On Tue, Mar 18, 2014 at 01:40:52PM +0100, V wrote: I am currently interested in the Refactor god objects idea which says that there are quite a few huge god objects and lists sw/inc/doc.hxx as an example. Could someone point me to other god objects so I can get a better idea of the amount of work that will be done? When you do a LibreOffice build, there will be dependencies generated in workdir/Dep/CxxObject -- a good general score for god-objectness would be multiplying the number of code lines of a header with how often its filename appears in workdir/Dep. There likely will be a few false positives (like string class headers, that are justified to be included ~everywhere), but it should give you a starting point. HTH, Bjoern ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[GSoC] potential student with a question about refactoring god objects
Hello, I am supposed to write an email to this list so I'll use this mail to also ask a question. I am currently interested in the Refactor god objects idea which says that there are quite a few huge god objects and lists sw/inc/doc.hxx as an example. Could someone point me to other god objects so I can get a better idea of the amount of work that will be done? Thanks, Valentin ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [GSoC] potential student with a question about refactoring god objects
On 18/03/14 13:40, V wrote: Hello, I am supposed to write an email to this list so I'll use this mail to also ask a question. I am currently interested in the Refactor god objects idea which says that there are quite a few huge god objects and lists sw/inc/doc.hxx as an example. Could someone point me to other god objects so I can get a better idea of the amount of work that will be done? hello Valentin, in case you manage to finish splitting up SwDoc during the GSoC timeframe, there are similar classes in other applications like SdDrawDocument and ScDocument, where there is the additional challenge that there are not even interfaces defined currently. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice