From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=BAYES_00,TO_NO_BRKTS_PCNT autolearn=no autolearn_force=no version=3.4.5-pre1 Date: 14 Oct 92 16:55:58 GMT From: wdl39!mab@ford-wdl1.arpa (Mark A Biggar) Subject: Re: Assy/Ada SLOC ratio;What's an Ada SLOC? Message-ID: <1992Oct14.165558.5098@wdl.loral.com> List-Id: 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