From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-Thread: fa528,85404311f8041f7a X-Google-Attributes: gidfa528,public X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 2001-07-17 08:10:05 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!216-164-248-124 From: jmfbahciv@aol.com Newsgroups: comp.sys.dec,comp.unix.tru64,comp.arch Subject: Re: Debugging Methodology (was Re: Compaq kills Alpha Date: Tue, 17 Jul 01 12:29:12 GMT Organization: UltraNet Communications, Inc. Message-ID: <9j1kej$7f$7@bob.news.rcn.net> References: <9ik5ce$m0p$1@bob.news.rcn.net> <9ikf12$qec$6@bob.news.rcn.net> <9imq0m$s37$8@bob.news.rcn.net> <9iuo4h$her$14@bob.news.rcn.net> X-Trace: UmFuZG9tSVasvwtu7e2IpnbxQLJNJPofYMvilz2NW6g3oLYNwFpm785pwzvzZXs9 X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 17 Jul 2001 15:09:07 GMT X-Newsreader: News Xpress Version 1.0 Beta #4 Xref: archiver1.google.com comp.sys.dec:5912 comp.unix.tru64:3577 comp.arch:14111 In article , Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) wrote: >In article <9iuo4h$her$14@bob.news.rcn.net>, jmfbahciv@aol.com writes: >> In article , >> Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) wrote: > >>>Well run organizations make predictions of defect counts based on >>>lines of code all the time. There are other elements that should >>>be included as well, but lines of code is not irrelevant. Surely >>>you don't feel that a 1000 line program has the same number of >>>total defects as a 100,000 line program (all other things being >>>equal). >> >> [emoticon thinking back to some really bad programmers] I've >> met some 1000 line programs that seemed to have more >> defects than a 100K line program. Although I think it was >> a side effect from the attitude that a newbie can teeth >> on the smaller program. > >That is exactly what I meant by "all other things being equal". >Not all programmers are equal. Yup. I knew you meant that. But how do measure that? > >>>There are standard methods of counting lines of code, and tools >>>that do it. When comparing programs, it does not really matter >>>what your rules are for "lines of code", it only matters that >>>you use the same rules for all programs. >> >> And this works? Or is it one of those metrics that look >> impressive in upper level management book reports. > >It is a somewhat useful prediction of the number of defects for >which one should search. If the number of defects found is low >by 50% or high by 100% I would consider that reasonable. If it >is low by an order of magnitude (compared to similar programs >created in a similar fashion), the testing job is suspect. If >the defect count is high by an order of magnitude, this program >is worse than your average program. I can see that this might be useful for a post partum, but I sure can't see how it can be done in the pre-testing phase of a project. Maybe that a reason I wasn't in the test biz but just dabbled. > >Of course the defect counts above refer to the count after >one has reached a significant decrease in the number of defects >found per unit of effort spent finding them. Ah! So you have CATCH-22s in that part of the biz, too! The guys attitude about spending all that time and effort establishing a metric was a waste. It was manpower and machine time that could have been allocated more effectively. But then, we were fortunate that we had fantastic customers who knew how to field test. /BAH Subtract a hundred and four for e-mail.