comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: SLOC-wars
Date: Fri, 5 Apr 2002 09:37:37 -0500
Date: 2002-04-05T14:37:38+00:00	[thread overview]
Message-ID: <a8kcri$6e7$1@nh.pace.co.uk> (raw)
In-Reply-To: a8jnnl$95l$1@geraldo.cc.utexas.edu

"Bobby D. Bryant" <bdbryant@mail.utexas.edu> wrote in message
news:a8jnnl$95l$1@geraldo.cc.utexas.edu...
>
> For current purposes all we seem to need is a metric that will give us a
> rough feel for how big a chunk of code is.  All we need is -
>
>  o a number that gives the rough metric,
>
Good.

>  o a simple mechanism for acquiring the number,
>
Good.
>  o a "standard" mechanism, so that it will mean approximately the same
>    thing to everyone,
>
Not likely to achieve it across all organizations because what is relavent
is always up for debate. Be consistent within an organization or project for
how that body of code is measured & monitored and you'll be doing good.


>  o to the extent possible, a mechanism that works across languages.
>
Not at all possible. Languages have such hugely varying syntax and semantics
that any attempt to compare one to the other is going to be hopeless.
Whatever comparisons you attempt to make based on the numbers are going to
either be a) meaningless or b) so debatable that you won't ever get anyone
to agree to do anything based on the numbers.


> I'm all for the most sophisticated free system that satisfies the above,
> but I'm not interested in "more sophistication" if I can't get it by
> running a script or typing a simple expression at the prompt.  It's not
> like we're bidding on a project or evaluating employee performance.
>
I once hacked together a program to count Halstead bits for Ada83 code. I
had a lexical analyzer sitting around and the rest was just a matter of
identifying input files and scanning over the tokens. A freebie tool to do
it wouldn't be hard to accomplish if a lexical analyzer for Ada95 is
available. Having one somewhere like AdaPower would create a "reference
standard" that might help in comparison of Ada code bodies. Halstead bits is
at least well defined and less subject to arguments about the relavence of
comments or white space or similar things.

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com





  reply	other threads:[~2002-04-05 14:37 UTC|newest]

Thread overview: 97+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-28 11:10 AdaGames Enrico A.
2002-03-28 12:29 ` AdaGames Erik Sigra
2002-03-28 14:30   ` AdaGames Preben Randhol
2002-03-28 16:47     ` AdaGames Erik Sigra
2002-03-28 17:55       ` AdaGames Preben Randhol
2002-03-28 18:48         ` AdaGames Erik Sigra
2002-03-28 19:13           ` AdaGames Stephen Leake
2002-03-28 21:58           ` AdaGames Preben Randhol
2002-03-29  7:10           ` AdaGames Bobby D. Bryant
2002-03-29 20:25             ` AdaGames Erik Sigra
2002-03-28 16:00   ` AdaGames chris.danx
2002-03-28 16:27     ` AdaGames Preben Randhol
2002-03-28 20:49       ` AdaGames Kent Paul Dolan
2002-03-28 22:02         ` AdaGames Preben Randhol
2002-04-02 23:11           ` AdaGames Kent Paul Dolan
2002-03-28 18:11     ` AdaGames chris.danx
2002-03-28 19:21   ` AdaGames Ted Dennison
2002-03-29  7:20     ` AdaGames Bobby D. Bryant
2002-03-29 14:28       ` AdaGames Wes Groleau
2002-03-29 14:51       ` AdaGames Ted Dennison
2002-03-28 20:39   ` AdaGames (SDL) Chad R. Meiners
2002-03-28 15:07 ` AdaGames Marin David Condic
2002-03-29  2:14   ` AdaGames Darren New
2002-03-29 14:15     ` AdaGames Marin David Condic
2002-03-30  1:43       ` AdaGames Darren New
2002-04-01 14:23         ` AdaGames Ted Dennison
2002-04-01 16:57           ` AdaGames Darren New
2002-04-01 22:18             ` AdaGames Ted Dennison
2002-04-01 22:42               ` AdaGames Darren New
2002-03-28 15:13 ` AdaGames Ted Dennison
2002-03-29  7:24   ` AdaGames Bobby D. Bryant
2002-03-28 20:55 ` AdaGames Kent Paul Dolan
2002-03-28 22:47   ` AdaGames Randy Brukardt
2002-03-29 14:53     ` AdaGames Ted Dennison
2002-04-02  2:05       ` AdaGames Randy Brukardt
2002-03-29 15:08     ` AdaGames Ted Dennison
2002-03-28 20:59 ` Nethack! (was): AdaGames Kent Paul Dolan
2002-03-29 14:13   ` Ted Dennison
2002-04-01  8:01     ` Juanma Barranquero
2002-04-01 15:04       ` Ted Dennison
2002-04-02  9:27         ` Juanma Barranquero
2002-04-02 14:54           ` Preben Randhol
2002-04-03  6:43             ` Juanma Barranquero
2002-04-02 18:30           ` Ted Dennison
2002-04-03  7:02             ` Juanma Barranquero
2002-04-03 15:06               ` Ted Dennison
2002-04-03 15:31                 ` Marin David Condic
2002-04-04  4:40                   ` tmoran
2002-04-04  6:14                     ` Kent Paul Dolan
2002-04-04 14:16                       ` Marin David Condic
2002-04-04  6:10                   ` Kent Paul Dolan
2002-04-04 14:26                     ` Marin David Condic
2002-04-04  6:56                 ` Juanma Barranquero
2002-04-04 16:46                   ` Ted Dennison
2002-04-05  7:37                     ` Juanma Barranquero
2002-04-03  9:44             ` Preben Randhol
2002-04-03 15:50               ` Ted Dennison
2002-04-03 16:14                 ` Marin David Condic
2002-04-04 16:09                   ` Wes Groleau
2002-04-04 16:48                     ` Marin David Condic
2002-04-04 16:57                     ` Mário Amado Alves
2002-04-04 18:07                       ` Marin David Condic
2002-04-05  5:14                       ` SLOC-wars Kent Paul Dolan
2002-04-05  8:36                         ` SLOC-wars Bobby D. Bryant
2002-04-05 14:37                           ` Marin David Condic [this message]
2002-04-08 13:35                             ` SLOC-wars Ted Dennison
2002-04-08 14:12                               ` SLOC-wars Marin David Condic
2002-04-09 14:15                                 ` SLOC-wars Wes Groleau
2002-04-05 14:25                         ` SLOC-wars Marin David Condic
2002-04-07 19:07                           ` SLOC-wars John R. Strohm
2002-04-08 14:59                           ` SLOC-wars Wes Groleau
2002-04-08 15:13                             ` SLOC-wars Marin David Condic
2002-04-05 22:51                         ` SLOC-wars John R. Strohm
2002-04-06 22:19                           ` SLOC-wars Kent Paul Dolan
2002-04-06 23:17                             ` SLOC-wars Larry Kilgallen
2002-04-08 14:35                               ` SLOC-wars Marin David Condic
2002-04-09 15:04                                 ` SLOC-wars Wes Groleau
2002-04-10 13:39                                 ` SLOC-wars Ted Dennison
2002-04-10 14:54                                   ` SLOC-wars Marin David Condic
2002-04-07 18:58                             ` SLOC-wars John R. Strohm
2002-04-08 15:06                           ` SLOC-wars Wes Groleau
2002-04-05 14:43                     ` Nethack! (was): AdaGames Ted Dennison
2002-04-05 14:51                       ` Marin David Condic
2002-04-05 20:41                       ` Metrics! (was) " Wes Groleau
2002-04-06 22:11                         ` Kent Paul Dolan
2002-04-08 13:29                         ` Ted Dennison
2002-04-03 17:09                 ` Bobby D. Bryant
2002-04-04 14:19                   ` Ted Dennison
2002-04-03 17:17                 ` Jean-Pierre Rosen
2002-04-04 16:19                 ` Preben Randhol
2002-04-04 16:47                   ` SLOC! (was Nethack! (was): AdaGames) Wes Groleau
2002-04-01 18:05       ` Nethack! (was): AdaGames Ralph Moeritz
2002-04-02  9:29         ` Juanma Barranquero
2002-03-29  1:52 ` AdaGames Adrian Hoe
2002-03-29  7:29 ` AdaGames Bobby D. Bryant
2002-04-02 23:43   ` Nethack (again)!: AdaGames Kent Paul Dolan
2002-03-29 18:40 ` AdaGames Pascal Obry
replies disabled

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