I just found this cloc tool and thought it would be interesting to run
against my AOO working copy of trunk.
(you need to use a fixed width font for everything to line up correctly)
It counts files and divides up code from blank lines and comments.
Not sure if everything is recognized correctly or not.
http://cloc.sourceforge.net v 1.62 T=36328.09 s (2.5 files/s, 707.0
lines/s)
---------------------------------------------------------------------------------------
Language files blank
comment code
---------------------------------------------------------------------------------------
C++ 18831 964021 908220
5412141
D 4033 0 0 4702453
HTML 24153 179945 51363
3749024
C/C++ Header 17661 398141 492400
1896446
C 3244 222270 295647
1440394
Java 5545 169530 339745
706337
Bourne Shell 535 107025 116324
693783
XML 2388 30366 29879
513713
Python 2669 100925 129166
468943
IDL 5276 87877 1
332386
XSLT 723 12561 16722
174778
m4 102 19568 4000
174364
MSBuild script 660 3 10 163369
Perl 460 25734 25569
111869
make 557 15841 10879
101758
Assembly 120 6364 8688
30229
Pascal 118 5223 587
25621
CSS 202 5358 4567
21020
Visual Basic 60 3692 4137
18438
DTD 84 3046 6021
14901
yacc 9 1925 1328
14582
JavaServer Faces 131 882 1 10195
C# 50 1372 2501
9630
Javascript 90 713 877 6774
Objective C++ 37 1081 1265
6172
XSD 162 582 418 6061
Visualforce Component 456 701 4940 5023
DOS Batch 470 962 635 4889
Ant 54 973 1494 4692
lex 8 1126 839
4190
Windows Module Definition 41 256 229 3424
Objective C 23 810 970 3338
Windows Resource File 44 754 1320 2940
CMake 22 681 848 2308
PHP 7 55 58 1824
Ada 10 599 560 1681
SQL 40 313 619 1569
Expect 11 115 180 1239
awk 17 125 449 1134
Korn Shell 3 132 142 608
CUDA 5 167 144 572
OpenCL 2 99 332 444
Bourne Again Shell 5 89 101 411
ASP 6 39 9 284
JSP 6 32 117 278
Lisp 3 18 32 172
vim script 1 36 7 106
Racket 7 0 0 83
Windows Message File 2 14 25 77
NAnt script 3 8 0 56
C Shell 6 13 83 50
Fortran 77 1 3 7 43
sed 5 0 10 33
Tcl/Tk 1 3 6 24
ASP.Net 2 4 0 19
QML 1 2 4 14
YAML 1 2 0 6
RobotFramework 1 0 0 5
---------------------------------------------------------------------------------------
SUM: 89164 2372176 2464475
20846917
---------------------------------------------------------------------------------------
Best regards,
Carl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org