Help save net neutrality! Learn more.
Close

#2 Can nort compile C, pascal, php code

open
nobody
None
5
2007-06-21
2007-06-21
Anonymous
No

Dear expert,

I have downloaded version 2.26. But it failed to count c, php, pascal etc.. codes. Please can you send me a package which can count these codes?

N.B. For sake of clarity, i am attaching the full application trace

sloccount /tmp/sloccount-2.26/testcode
Creating filelist for testcode
Categorizing files.
Finding a working MD5 command....
Found a working MD5 command.
Computing results.
/tmp/sloccount-2.26/compute_sloc_lang: line 52: c_count: command not found
/tmp/sloccount-2.26/compute_sloc_lang: line 52: c_count: command not found
/tmp/sloccount-2.26/compute_sloc_lang: line 53: pascal_count: command not found
/tmp/sloccount-2.26/compute_sloc_lang: line 53: php_count: command not found

SLOC Directory SLOC-by-Language (Sorted)
Argument "" isn't numeric in addition (+) at /tmp/sloccount-2.26/get_sloc line 298, <DATAFILE> line 1.
Argument "" isn't numeric in addition (+) at /tmp/sloccount-2.26/get_sloc line 298, <DATAFILE> line 3.
Argument "" isn't numeric in addition (+) at /tmp/sloccount-2.26/get_sloc line 298, <DATAFILE> line 7.
Argument "" isn't numeric in addition (+) at /tmp/sloccount-2.26/get_sloc line 298, <DATAFILE> line 8.
181 testcode ruby=110,haskell=32,cobol=27,f90=6,fortran=6

Totals grouped by language (dominant language first):
ruby: 110 (60.77%)
haskell: 32 (17.68%)
cobol: 27 (14.92%)
f90: 6 (3.31%)
fortran: 6 (3.31%)

Total Physical Source Lines of Code (SLOC) = 181
Development Effort Estimate, Person-Years (Person-Months) = 0.03 (0.40)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 0.15 (1.76)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 0.23
Total Estimated Cost to Develop = $ 4,490
(average salary = $56,286/year, overhead = 2.40).
SLOCCount, Copyright (C) 2001-2004 David A. Wheeler
SLOCCount is Open Source Software/Free Software, licensed under the GNU GPL.
SLOCCount comes with ABSOLUTELY NO WARRANTY, and you are welcome to
redistribute it under certain conditions as specified by the GNU GPL license;
see the documentation for details.
Please credit this data as "generated using David A. Wheeler's 'SLOCCount'."

Hope this helps.

-- Tanim

Discussion


Log in to post a comment.