comp.lang.ada
 help / color / mirror / Atom feed
From: cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!mlb.semi.har ris.com!dw3g!smccoy@ucbvax.Berkeley.EDU  (Scott McCoy)
Subject: Re: Assy/Ada SLOC ratio;What's an Ada SLOC?
Date: 15 Oct 92 12:21:44 GMT	[thread overview]
Message-ID: <1992Oct15.122144.11657@mlb.semi.harris.com> (raw)

In article <1992Oct14.121432.10919@aplcen.apl.jhu.edu>, dlc@ddsdx2.jhuapl.edu (
Dave Collard x7468) writes:

[...code example deleted...]

|> 
|> IMHO, any method that depends on semicolons for counting
|> lines of code is pretty useless.
|> 

You've hit on a key point here -- just what do want your 'SLOC'
metric to measure?  Size?  Complexity?  Depending upon your
answer, different SLOC methods may be appropriate.

In the years I've been working in the Ada industry, I've never
seen a consensus for an Ada SLOC computational method.

In the past, I've used 'every non-blank, non-comment line is
a LOC'.  Note that this method is highly depend upon programming
and formating style.  I know that.  But it's a simple way to
count, and if you're consistent, then the data can be meaningful.

Just my $0.02.
-- 
Scott McCoy	Harris ISD	Opinions expressed are my own.
Staff Eng - SW	Internet: 	smccoy@dw3g.ess.harris.com

             reply	other threads:[~1992-10-15 12:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-10-15 12:21 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!mlb.semi.har [this message]
  -- strict thread matches above, loose matches on Subject: below --
1992-10-17 13:41 Assy/Ada SLOC ratio;What's an Ada SLOC? Xmiester
1992-10-16 13:17 Dennis Doubleday
1992-10-15 21:33 Bob Kitzberger
1992-10-15 13:15 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!mlb.semi.har
1992-10-14 16:55 Mark A Biggar
1992-10-14 12:14 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!aplcen.apl.j
1992-10-09 21:30 Paul Byrley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox