count code lines

Android, iPhone, iPod, iPad, Office, Programs, Software, Hardware, ...
Post Reply
User avatar
vst
Admin
Posts: 81
Joined: Thu Jan 15, 2009 2:36 pm

count code lines

Post by vst » Wed May 19, 2010 12:08 pm

Hello there,

today i searched for a tool to scan my project for code lines and i found it - yeah.
It gives me a great result and i'am pleased to recommend it.

Code: Select all

--------------------------------------------------------------------------------
Language                      files          blank        comment           code
--------------------------------------------------------------------------------
PHP                            1170          54603          72209         154904
HTML                            533           3202           2227          80706
Javascript                      284          19341          11183          74288
CSS                              81           2147            682           8598
XML                              17             69             35           1875
XSLT                              3            174            196           1202
Perl                              3            313            364           1082
ASP                               2             52             36            337
SQL                               1             48              0            198
Ruby                              1             37              6            160
JSP                               1             22             13             69
Bourne Shell                      1             13             12             26
Bourne Again Shell                4              4              0              8
DTD                               1              2              0              5
--------------------------------------------------------------------------------
SUM:                           2102          80027          86963         323458
--------------------------------------------------------------------------------
The Script called CLOC - Count Lines of Code is available for Windows and as Perl Script for other Platforms at http://cloc.sourceforge.net/

Thanks to the developers!

To remember myself: I renamed it to cloc.pl and moved the script to /usr/bin/


regards,
Valentin
so long and thank you for the fish
staubmann.eu

Post Reply