Developer

LibreOffice's massive method removal

If you think your code base is massive, spare a thought for LibreOffice, as the project has only recently managed to remove half of the known unused methods in its code base.

Earlier in the week Novell developer and LibreOffice contributor, Michael Meeks, posted the following graph on his blog.

(Credit: Michael Meeks)

"It seems that over half of our unused code has now bitten the dust. Unfortunately, as we remove more, more wastage tends to be revealed, which explains some of the upward jumps in the graph, nevertheless the trend is clearly down," wrote Meeks.

LibreOffice uses a tool called callcatcher that identifies the unused methods.

Next time a complex code base is giving you pain, if it doesn't have over 5000 unused methods, then you are in a better position than the LibreOffice folk were when they started.

About

Some would say that it is a long way from software engineering to journalism, others would correctly argue that it is a mere 10 metres according to the floor plan.During his first five years with CBS Interactive, Chris started his journalistic advent...

Editor's Picks