The number of lines of code is irrelevant as an absolute
number, just like "hits" on a web page. Say your project
is 50,000 lines instead of 60,000. What's the difference?
What will be done once magic number
$nlines is found?
Where the measurements are important is when comparing two (or twenty) different numbers. Say you've got these measurements on your projects:
| Date | Lines w/comments | Lines w/o comments |
| 4/1 (Start) | 0 | 0 |
| 5/1 | 5,000 | 4,000 |
| 6/1 | 10,000 | 7,500 |
| 7/1 | 12,000 | 10,000 |
You can see that you've been going along at a nice clip
for the first two months, and then in June everything slowed
down.
The relationship between lines w/comments and lines w/o doesn't exactly match, but it's close enough for you to say
"Hey, look, we're slowing down."
What's important is that you track it consistently, so that
the comparisons are meaningful. In the example above, if you switch measurement from with to without comments, it looks like you've made zero increase in a month, which isn't the case.
xoxo,
Andy
--
I was dreaming when I wrote this, so sue me if I go too fast.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.