Print

Print


Hi,

I just finished a lecture for my class at Drexel U on that subject. The SEI has some papers on measurement which include a fair discussion of LOC (lines of code). See my summary at http://users.snip.net/~gbooker/INFO630/loc_example.doc and the associated lecture http://users.snip.net/~gbooker/INFO630/lect2.ppt for references.

I don't have any specific guidance on what is "normal" for counting LOC in Ada, but that should give you some ideas.

Glenn

---------- Original Message ----------------------------------
From: Rick Duley <[log in to unmask]>
Reply-To: Rick Duley <[log in to unmask]>
Date:         Mon, 1 Jul 2002 02:52:51 +0000

><html><div style='background-color:'><DIV></DIV>
><DIV></DIV>
><P><FONT face="Courier New, Courier, Monospace" size=2>Hi Teamers</FONT></P>
><P><FONT face="Courier New, Courier, Monospace" size=2>I am working on a student programming assignment and I have in mind a Line-Of_Code counter for Ada programs.  Obviously, the first problem is the definition of a Line of Code.  The quick solution is that it is anything which ends with a semicolon but that has problems - to whit: is a 'with' statement a line of code, or maybe a parameter declaration?</FONT></P>
><P><FONT face="Courier New, Courier, Monospace" size=2>I have been unable to locate and literature reference to this issue and I wondered if anyone couple point me at something.  Alternatively, maybe some good teamers who are in the software development industry could tell me how their companies, or the industry in general, define a line-of-code for the purposes of paying contract programmers.</FONT></P>
><DIV></DIV>
><DIV></DIV>
><DIV><FONT face="Courier New, Courier, Monospace" size=2>------------------------------------------------- </FONT></DIV>
><DIV></DIV>
><DIV><FONT face="Courier New, Courier, Monospace" size=2></FONT></DIV>
><DIV></DIV>
><DIV><FONT face="Courier New, Courier, Monospace" size=2>Rick Duley (Edith Cowan University)</FONT></DIV>
><DIV></DIV>
><DIV><FONT face="Courier New" size=2>23/209 Walcott St</FONT></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV><FONT face="Courier New, Courier, Monospace" size=2></FONT></DIV>
><DIV></DIV>
><DIV></DIV><FONT face="Courier New, Courier, Monospace" size=2>North Perth, Western Australia 6006</FONT>
><DIV></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV><FONT face="Courier New, Courier, Monospace" size=2>mob: +61 040 910 6049</FONT></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV><FONT face="Courier New, Courier, Monospace" size=2>                                /-_|\ </FONT></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV><FONT face="Courier New, Courier, Monospace" size=2>                               /     \ </FONT></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV><FONT face="Courier New, Courier, Monospace" size=2>                         perth *_.-._/ </FONT></DIV>
><DIV></DIV>
><DIV><FONT face="Courier New" size=2>                                    v</FONT></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV><FONT face="Courier New, Courier, Monospace" size=2>Experience is the worst of teachers </FONT></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV><FONT face="Courier New, Courier, Monospace" size=2>       It gives you the exam </FONT></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV><FONT face="Courier New, Courier, Monospace" size=2>                before it gives you the lecture</FONT></DIV>
><DIV></DIV>
><DIV></DIV>
><DIV></DIV></div><br clear=all><hr>Send and receive Hotmail on your mobile device: <a href='http://g.msn.com/1HM1ENAU/c152??PI=44314'>Click Here</a><br></html>
>