Hi, please find attached a port for cloc 1.56.
Description: cloc counts blank lines, comment lines, and physical lines of source code in many programming languages. Given two versions of a code base, cloc can compute differences in blank, comment, and source lines. Please test and comment. OKs? Regards, Joerg For fun: $ cloc --exclude-dir=CVS /usr/src/ 66468 text files. 60627 unique files. 34154 files ignored. http://cloc.sourceforge.net v 1.56 T=2522.0 s (18.7 files/s, 6504.4 lines/s) -------------------------------------------------------------------------------- Language files blank comment code -------------------------------------------------------------------------------- C 18593 1356474 1727823 7535924 C/C++ Header 11268 311156 627706 1550630 Perl 3772 142666 189976 606677 Bourne Shell 1443 78418 94170 582426 Assembly 1214 35543 56069 222218 HTML 514 25369 3483 184570 C++ 5365 51075 35670 164026 D 1036 79261 4 110804 yacc 99 14440 11295 106426 m4 449 10232 5162 97999 Expect 575 15447 23438 78721 make 1865 13435 7128 65098 Teamcenter def 120 5014 573 35087 ASP.Net 5 956 18 22955 Lisp 100 2166 2626 20489 XML 32 1160 137 16003 lex 41 1873 2215 10842 Pascal 22 908 2486 10095 Fortran 77 185 937 3191 7915 Objective C 133 1329 580 5033 awk 58 546 1515 4675 Tcl/Tk 23 571 845 3706 Fortran 90 73 264 818 3457 sed 53 299 801 2169 DOS Batch 51 551 212 1879 Python 38 182 178 1344 CSS 6 38 3 622 YAML 15 14 10 530 Korn Shell 11 68 128 517 vim script 1 26 35 398 DTD 1 91 58 335 Bourne Again Shell 3 77 100 305 XSLT 4 74 78 270 IDL 5 0 0 184 MATLAB 3 66 3 149 SKILL 3 24 0 99 Ocaml 13 16 0 79 Java 3 5 24 47 Ada 4 13 45 23 MUMPS 1 3 0 22 C Shell 2 5 13 20 -------------------------------------------------------------------------------- SUM: 47202 2150792 2798616 11454768 --------------------------------------------------------------------------------
cloc.tar.gz
Description: application/tar-gz