Bryce Harrington wrote:
What will the codebase cleanup work entail? The work will range from straightforward "grunt" work like making some simple code changes to all files in the codebase, to meatier work like abstracting widely used code into a more concise and powerful algorithm, to advanced work such as extracting distinct code into independent code packages.
I briefly mentioned this tool on chat, but I figured I'd throw it on the list for everyone to take a look at (and I'll add it to the wiki later):
http://pmd.sourceforge.net/cpd.html
I've run the current Inkscape codebase through the Copy/Paste Detector and found plenty of duplicated code that, at the very least, can be refactored to look nice and reduce the SLOC count. I've already done a little of this in pen-context.cpp, and plan on tackling some of the parts of the livarot code and some of the dialog code that look ripe for easy refactoring.
John