comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert I. Eachus" <rieachus@earthlink.net>
Subject: Re: Win2000 has 63,000 'defects'
Date: 2000/03/04
Date: 2000-03-04T00:00:00+00:00	[thread overview]
Message-ID: <38C09E9F.2C752521@earthlink.net> (raw)
In-Reply-To: 2000Feb21.071938.1@eisner

Larry Kilgallen wrote:
 
> If one considers the possibility it is an _estimate_, based on typical
> industry figures, the very thought of only 1.5 defects per KLOC is out
> of the question.  Some people I know use 5 defects per KLOC for code
> that has been revised and 10 defects per KLOC for "new" code.  Reports
> indicate that Windows 2000 has a lot of new code.

   When I was at Stratus, there was a very common understanding.  I
think I heard it "officially" expressed at more than one engineering
meeting, but never saw any underlying documentation.
Basicly it goes like this, if your (OS, real-time, compiler, transaction
processing, etc.) code has more than one bug per thousand lines, it
could never be made robust enough to ship.  If your code has less than
one bug per 10,000 lines, it will cost less to get it to 1 bug per
million lines than to get the bug 1 per 1000 lines code to one bug per
2000.

   Of course, it cost at least twice as much to write 1 bug per 10,000
line code than to write one bug per thousand lines code.  But writing
the buggier code at Stratus for any critical code (read any part of the
OS or the tools to build it) was worthless.  So we had to spend the time
up front to get it right.  The key measure of quality was the MBTF
during beta test for new OS versions, and we aimed for about one year
when we released.  MBTF was much higher on operational systems, since
the customers would run the beta test versions only on development
machines.  By the time the customers applications were fielded, they had
run into most of the OS bugs that they could on the development
systems.  In any case, we never got to one bug per million lines, but we
were well above one per 10000 lines of fielded code.  (Most of this code
was writen in PL/I. C was only used on I/O cards with less than 64K of
memory.)

   So there are really two styles of programming.  One, which may or may
not be fine for computer games, etc., relies on debugging quality in. 
The other relies on building it in in the first place.  Most Ada
programmers are used to the second style, which is why we seldom (if
ever!) use a debugger.




  reply	other threads:[~2000-03-04  0:00 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-15  0:00 Win2000 has 63,000 'defects' Gautier
2000-02-15  0:00 ` Florian Weimer
2000-02-15  0:00   ` Larry Kilgallen
     [not found]     ` <38A9C619.790950B0@quadruscorp.com>
2000-02-15  0:00       ` Keith Thompson
2000-02-15  0:00   ` Marin D. Condic
2000-02-17  0:00   ` Ted Dennison
2000-02-17  0:00     ` Gautier
2000-02-15  0:00 ` Hyman Rosen
2000-02-15  0:00   ` Larry Kilgallen
2000-02-15  0:00     ` Hyman Rosen
2000-02-15  0:00       ` Brian Rogoff
2000-02-15  0:00       ` Larry Kilgallen
2000-02-15  0:00         ` Hyman Rosen
2000-02-15  0:00           ` Brian Rogoff
2000-02-15  0:00           ` Ed Falis
2000-02-15  0:00             ` Hyman Rosen
     [not found]             ` <RUkq4.1243$dw3.69085@news.wenet.net>
2000-02-15  0:00               ` Dang! (was Re: Win2000 has 63,000 'defects') Mike Silva
2000-02-17  0:00                 ` Preben Randhol
2000-02-17  0:00                   ` Larry Kilgallen
     [not found]           ` <150220001931201946%emery@grebyn.com>
2000-02-17  0:00             ` Win2000 has 63,000 'defects' Dale Pontius
2000-02-19  0:00               ` Joe Wisniewski
2000-02-21  0:00                 ` Larry Kilgallen
2000-03-04  0:00                   ` Robert I. Eachus [this message]
2000-03-06  0:00                     ` Charles Hixson
2000-03-06  0:00                       ` Robert Dewar
2000-03-07  0:00                         ` Ted Dennison
2000-03-07  0:00                       ` Marin D. Condic
2000-03-07  0:00                         ` Jean-Pierre Rosen
2000-03-08  0:00                           ` Marin D. Condic
     [not found]               ` <1e66z6d.1a9fzdvtbw6t2N%herwin@gmu.edu>
2000-02-19  0:00                 ` Nick Roberts
2000-02-17  0:00       ` Preben Randhol
2000-02-16  0:00   ` Gautier
2000-02-17  0:00   ` Charles Hixson
2000-03-07  0:00     ` Mike Dimmick
2000-03-07  0:00       ` Brian Rogoff
2000-03-08  0:00       ` Dale Pontius
2000-03-08  0:00         ` David Starner
2000-03-08  0:00           ` Ted Dennison
2000-03-08  0:00             ` Laurent Guerby
2000-03-10  0:00             ` Tarjei T. Jensen
     [not found] ` <38A9C4ED.C75316F9@raytheon.com>
2000-02-16  0:00   ` Samuel T. Harris
2000-02-16  0:00 ` Windows TP (Re: Win2000 has 63,000 'defects') Vladimir Olensky
replies disabled

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