TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Date: Tue, 20 Jun 2000 11:28:29 -0400
Reply-To: Richard Conn <[log in to unmask]>
From: Richard Conn <[log in to unmask]>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Parts/Attachments: text/plain (52 lines)
Actually, a metric used at work is Effective SLOC (ESLOC), which is a
derived from Data Primitives including, but not limited to:
  DPh = SLOC created from scratch by hand
  DPrp = SLOC reused from other code created on the current project (where
         original code is already well-known)
  DPrx = SLOC reused from other code created external to the current project
  DPg = SLOC generated by some tool

  ESLOC = c0 * DPh + c1 * DPrp + c2 * DPrx + c3 * DPg

Where cN is some constant.  ESLOC is then used as a basis for deriving other
CMM Level 4 measurements, such as defect density and productivity.

This is, of course, when the project is working at Reuse Level 0, where all
code that goes into an application is available in source code form.  At
reuse levels we don't have any SLOC counts for the reused assets with which
to work.

Richard Conn, Principal Investigator
Reuse Tapestry

-----Original Message-----
From: Team Ada: Ada Advocacy Issues (83 & 95)
[mailto:[log in to unmask]]On Behalf Of [log in to unmask]
Sent: Tuesday, June 20, 2000 6:12 AM
To: [log in to unmask]
Subject: Re: Fw: Future of Ada

>Slightly more seriously, I probably could generate 10kSLOC with CBuild (the
>Claw application builder) in a 12 hour day. And that also would all be
>working, readable, commented, Ada 95 source code. That would make a good
>for a Windows program. But actually writing the application to do something
>after the menus were pulled down and the dialogs popped up would take
>somewhat more time...

Now this is getting silly. Surely we don't include generated code in the
metric do we? Besides the rates of 10SLOC/Day are related to the number of
written, tested and documented aren't they?