home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / dec / 4262 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.6 KB  |  36 lines

  1. Newsgroups: comp.sys.dec
  2. Path: sparky!uunet!cs.utexas.edu!hermes.chpc.utexas.edu!news.utdallas.edu!convex!ssimmons
  3. From: ssimmons@convex.com (Steve Simmons)
  4. Subject: >>>>>>>> Help with SCA query
  5. Message-ID: <ssimmons.712415266@convex.convex.com>
  6. Sender: usenet@news.eng.convex.com (news access account)
  7. Nntp-Posting-Host: pixel.convex.com
  8. Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
  9. Date: Wed, 29 Jul 1992 13:07:46 GMT
  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: 21
  14.  
  15. > I'm having problems using SCA to determine if all of the procedures/functions declared in an Ada package
  16. >  are called by a test driver. I can't use PCA to show complete coverage of the procedures in the package
  17. >  because the package spec really consists of pragma interface's for an object file with external references.
  18.  
  19.  
  20. SCA is a static analysis tool and tells you that this routine may be called. PCA is a dynamic analysis 
  21. tool that tells you if the routine was called.  They give you two different answers. 
  22.  
  23. To use PCA, try one of the following:
  24.  
  25.     - compile the object file in question -DEBUG and use 
  26.         PCAC> SET COVERAGE PROGRAM BY ROUTINE
  27.  
  28.     - if you can't compile the object file -DEBUG, then just use the following
  29.         PCAC> SET COVERAGE PROGRAM BY CODE
  30.     It diassembles the code and places breakpoints on all entries to the basic blocks. 
  31.  
  32. Hey, I implemented some of those features in a previous life (about 5 years ago). ;-)
  33.  
  34.                         Steve Simmons 
  35.  
  36.