From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,85404311f8041f7a X-Google-Attributes: gidfa528,public X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-07-16 05:54:00 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!207-172-245-133 From: jmfbahciv@aol.com Newsgroups: comp.sys.dec,comp.unix.tru64,comp.arch Subject: Re: Debugging Methodology (was Re: Compaq kills Alpha Date: Mon, 16 Jul 01 10:13:50 GMT Organization: UltraNet Communications, Inc. Message-ID: <9iuo4h$her$14@bob.news.rcn.net> References: <3B46C8C7.E2AFF889@peoplepc.com> <3B471A6C.EE8715F5@igs.net> <$KhLsMn0xNNj@eisner.encompasserve.org> <3 <9idnuc$jfg$1@sunnews.cOrganization: LJK Software <9ik5ce$m0p$1@bob.news.rcn.net> <9ikf12$qec$6@bob.news.rcn.net> <9imq0m$s37$8@bob.news.rcn.net> X-Trace: UmFuZG9tSVbjgpyIhdjtRJrpLdhuGv96/u5DqjioxpW2d7CVBnC6D6bMkcgVNTUF X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 16 Jul 2001 12:53:37 GMT X-Newsreader: News Xpress Version 1.0 Beta #4 Xref: archiver1.google.com comp.sys.dec:5877 comp.unix.tru64:3548 comp.arch:14058 In article , Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) wrote: >In article <9imq0m$s37$8@bob.news.rcn.net>, jmfbahciv@aol.com writes: >> In article , >> Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) wrote: > >>>What constitutes "reading the code" ? There is a continuum >>>from formal inspection down to just measuring the total lines >>>of code (to make a guess at the test effort required). >> >> [emoticon gapes, rereads the last one, gapes...repeated until >> gaping factor was diminished so that jaw didn't hit floor] >> You have got to be shitting me. You can make a prediction >> based on number of lines of code...I can't even define the >> term "number of lines of code". How....???? > >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. > >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. > >>> One >>>such technique falling in the middle ground, for a certain >>>language that shall remain nameless, is to search for any >>>line that contains a single equal sign ("=") and also the >>>lexeme "if" :-) >> >> >> Well, there were those little tricks of the trade. >> One of my den mother tests was to feed an EXE file as input >> to something expecting ASCII. The fit always hits the shan >> with that one. > >Yes, that is much cheaper than examining the source to look for >weak spots. Lots of techniques are applicable, but some are quite >a bit cheaper to implement. > >I believe the overwhelming reason why software is not tested enough >is that testing is perceived as being too expensive. It wasn't the testing that was expensive. It was the fixing processes that got unmanagable, IMO. ;-) /BAH Subtract a hundred and four for e-mail.