OOo sloccount

Output of sloccount on the fedora OOo pre-build unpacked OOo, i.e. basically the sloccount of OOo minus the external modules otherwise normally found in the cross-distro build like libxml2/mozilla/libwpd/etc and some redundant modules which don’t contribute to the final office deliverables, e.g. autodoc/odk/qadevOOo. So it’s a lower-bound count of OOo. Summary comes to 4,670,779 lines.

Totals grouped by language (dominant language first):
cpp:        4282359 (91.68%)
java:        198542 (4.25%)
ansic:        95936 (2.05%)
perl:         58905 (1.26%)
sh:           13242 (0.28%)
yacc:          6828 (0.15%)
cs:            5018 (0.11%)
python:        3353 (0.07%)
lex:           2474 (0.05%)
asm:           2436 (0.05%)
lisp:           804 (0.02%)
awk:            692 (0.01%)
php:            104 (0.00%)
csh:             79 (0.00%)
sed:              7 (0.00%)

4 Responses to “OOo sloccount”

  1. Tim Waugh says:

    Wow! Big..

    13 thousand lines of shell script? Surely that’s lots of generated configure scripts and things?

    No m4 in the list?

    Just trying to imagine debugging 58 thousand lines of perl..

  2. caolan says:

    sure, sloccount possibly misdetects a few things. And of course plenty of the sh and perl stuff is just build infrastructure like configure scripts and various cvs wrappers and so on. But the major count shouldn’t be affected too much even by a miscount += 100,000 lines :-)

  3. Justin Mason says:

    I’d be more worried about the csh scripts and assembler? wtf!

  4. Is there really php in OpenOffice.org? As far as I can see the PHP is just some place for storing a possible forth coming web based extensions library system.

Leave a Reply