Code Metrics for OpenOffice.org


File Counts for OpenOffice.org 1.0.3
Filetype
total
details
C++
12877
6455 cxx, 6337 Header, 35 cpp
Bitmaps
6923
5761 bmp, 606 xpm, 312 ico, 244 gif
Documentation (*.html)
3747

Directories
3321

Interface Descriptions (*.idl)
2403

Makefiles (*.mk)
1722

C
1138
437 c, 701 Header
Java
668

Resource files
1245
677 src, 568 hrc
Perl
22

setup partikel
57

Assemler
14
7 asm, 7 s
awk
24

sh
21

and some more ...



> 35000 file



Lines of code statistic

these statistic are based on tools from http://www.dwheeler.com/sloccount/
It's missing the file types of idl, makefile (*.mk), documentation files (samples, templates, online help, odk documentation). Maybe somebody has the time to extend the scripts, so that we can include statistics for these as well.

Lines of Code (LOC) for OpenOffice.org 1.0.3
LOC (total)
C++
ANSI C
Java
Perl
sh
yacc
asm
objc
lex
awk
sed
3169180
2923571
140278
75179
9484
8005
6321
1803
1741
1598
1197
3

92.5 %
4.43 %
2.37 %
0.3 %
0.25 %
0.20 %
0.06 %
0.05 %
0.05 %
0.04 %
0 %

Lines of Code (LOC) for OpenOffice.org 1.1
LOC (total)
C++
Java
ANSI C
Perl
sh
yacc
objc
asm
lex
awk
csh
python
sed
4297681
3909719 184299
182442
12384
7890
6533
1741
1663
1360
1049
55
18
3

90.97 %
4.29 %
3.98 %
0.29%
0182 %
0.15%
0.04%
0.04%
0.03%
0.02%
0%
0%
0%
for 1.1 also hxx are computed, not for 1.0.3.