Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: LOC

by RMGir (Prior)
on Jul 25, 2002 at 19:17 UTC ( #185296=note: print w/replies, xml ) Need Help??


in reply to Counting lines of C code

wc -l *.cpp *.h? :)

Seriously, what are the restrictions? Counting or not counting comments? Blank lines? Are you going to penalize one developer over another because one does

if(a) { do_this(); }
and another does
if(a) do_this();
?

You probably want to go over to freshmeat.net and type "metrics". That'll find you things like CCCC, to pick the first result from the list.

I like perl, and I do a lot of things with it, but this isn't a wheel I'd chose to reinvent.
--
Mike

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://185296]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2018-01-19 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (218 votes). Check out past polls.

    Notices?