Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
A lot of people have replied with something equivalent to "It depends what you're trying to measure." In my case I was cleaning up some legacy database code left by a programmer with a particularly bad case of the cut-n-paste coding style. I was abstacting the low-level routines, and was curious to how much I was actually able to remove from the other routines.
I got to wondering what people actually measured when called upon. In the end in just took a guestimate with "egrep -c '}|;' <filename>". Of course, line-count (high or low) by itself means nothing. Don't worry, I fudged a few in my military programming days ;) Thanks to all for the replies. In reply to Re: Line-counts of perl programs/modules
by Tarka
|
|