home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / software / 4935 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.7 KB  |  42 lines

  1. Newsgroups: comp.software-eng
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!convex!convex!ssimmons
  3. From: ssimmons@convex.com (Steve Simmons)
  4. Subject: >>>  Value of High Code Coverage Metrics in Testing - Request for Opinion
  5. Sender: usenet@news.eng.convex.com (news access account)
  6. Message-ID: <ssimmons.724336081@convex.convex.com>
  7. Date: Mon, 14 Dec 1992 12:28:01 GMT
  8. Nntp-Posting-Host: pixel.convex.com
  9. Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
  10. X-Disclaimer: This message was written by a user at CONVEX Computer
  11.               Corp. The opinions expressed are those of the user and
  12.               not necessarily those of CONVEX.
  13. Lines: 27
  14.  
  15.  
  16. Performing test coverage analysis on code is more of a good attitude than
  17. it is a silver bullet for removing bugs.  There is an old mgmt saying,
  18. "What is inspected is what gets done". 
  19.  
  20. > 1)  Do people think that this is a valuable metric?
  21.  
  22. Again, it improves the code but it does not remove all bugs. Design flaws
  23. about cases not being handled cannot be found.  Also, any code that uses data
  24. driven tables (e.g. finite state parsers) cannot be measured effectively. 
  25.  
  26. > 2)  Is it a cost effective excersize to get engineers to achieve a particular
  27. >    %BFA as a completion criteria?
  28.  
  29. Sure... if you have the time in the schedule and effective tools to do it. 
  30. Usually, it is best to have people do coverage analysis on their own code
  31. and have people who don't know the code test it for unanticipated conditions.
  32.  
  33. > 3)  What is a realistic %BFA to aim for?
  34.  
  35. Fairly low percentage of 50% is usually the maximum possible value.  Much 
  36. code is assertion testing.  However, every condition should be accounted. 
  37.  
  38. Thank you. 
  39.  
  40.  
  41.                         Steve Simmons
  42.