comp.lang.ada
 help / color / mirror / Atom feed
From: wdl39!mab@ford-wdl1.arpa  (Mark A Biggar)
Subject: Re: Assy/Ada SLOC ratio;What's an  Ada SLOC?
Date: 14 Oct 92 16:55:58 GMT	[thread overview]
Message-ID: <1992Oct14.165558.5098@wdl.loral.com> (raw)

In article <9210092044.AA05113@ajpo.sei.cmu.edu> byrley@NTSC-RD.NAVY.MIL ("Paul
 Byrley") writes:
>Two questions:
>First, what do you experts count for Ada SLOC?  I thought total
>semicolons but now am hearing "semicolons EXCEPT for ...".  I
>would appreciate opinions from lots of people who have Ada
>experience.  I will send summary out to net when results are in.

For all practical purposes the semicolon count is good enough.  The only
"except for" I've ever thought made sense is not counting the semicolons
on the end of pragmas, but by actual count that is usualy less then 1% of the 
total.  If your generating SLOC number to be fead into cost-estimation tools
using any value with in the nearest 100 sloc is usually good enough.
>
>Second, what ratio do you experts use when estimating the no.
>of assembly lines of code to make an Ada SLOC (as you defiined
>it in answering my first question).  I would hope to get data
>on the "group" of assembly code which performed a certain 
>operation or function vs the SLOC for the Ada to perform the
>same operation or function.  I don't think line for line assy to
>Ada translation would help much.  Please try to tell me the domain
>you work in and the number of lines of code (not just the ratio).

This is highly compiler and CPU archetecture dependent and sould be determined
on a case by case basis by measurement of actual code.

--
Mark Biggar
mab@wdl1.wdl.loral.com

             reply	other threads:[~1992-10-14 16:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-10-14 16:55 Mark A Biggar [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-15 12:21 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!mlb.semi.har
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