Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: LOC

by RMGir (Prior)
on Jul 25, 2002 at 19:17 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://185296]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-20 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found