On 09/26/2012 10:34 AM, Andre wrote:
I just ran cloc-1.56.pl on a freshly updated copy of trunk
Correction:
I looked at the source code of cloc-1.56.pl (which, by the way, can be
found at [1]) and saw that the extension "hxx" was not bound to c++
header files. After fixing this I get a result that better correlates
with manually counting all files with extensions "cxx" (10908) and "hxx"
(11359) :
50196 text files.
48795 unique files.
20023 files ignored.
http://cloc.sourceforge.net v 1.56 T=183.0 s (186.0 files/s, 55412.8
lines/s)
--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
C++ 11014 837029 816000 4690902
C/C++ Header 12059 324056 491409 974528
Java 3709 101925 206181 440363
IDL 4401 86334 1 310547
XML 1042 9507 23860 188177
XSLT 143 3751 11465 114043
Pascal 224 16178 180 99695
Teamcenter def 19 27 0 70644
Perl 265 18281 18814 69461
C 157 10218 10393 47304
Visual Basic 323 6219 11193 25379
HTML 148 899 3031 16823
yacc 3 594 665 7966
CSS 121 2381 3217 6785
C# 28 1030 1463 6632
Bourne Shell 100 849 2894 6303
Objective C++ 36 1072 1256 6132
make 85 1533 2147 5700
Python 43 1183 1366 4899
Objective C 15 712 903 2702
Assembly 17 230 293 2294
DTD 27 662 1035 2173
lex 4 223 201 1208
Javascript 6 124 258 1063
awk 12 62 397 755
XSD 4 32 88 546
PHP 5 95 57 520
OpenCL 2 99 332 444
Korn Shell 2 93 96 385
m4 1 45 0 350
ASP 6 39 9 284
DOS Batch 11 76 216 234
Lisp 1 11 0 115
C Shell 5 12 83 43
Bourne Again Shell 1 2 25 16
ASP.Net 1 0 0 10
sed 3 0 0 7
Expect 2 0 0 2
--------------------------------------------------------------------------------
SUM: 34045 1425583 1609528 7105434
--------------------------------------------------------------------------------
-Andre
[1] http://sourceforge.net/projects/cloc/