From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,20ca12c194da85e0,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-07-29 01:07:30 PST Newsgroups: comp.sys.dec Path: sparky!uunet!cs.utexas.edu!hermes.chpc.utexas.edu!news.utdallas.edu!convex!ssimmons From: ssimmons@convex.com (Steve Simmons) Subject: >>>>>>>> Help with SCA query Message-ID: Sender: usenet@news.eng.convex.com (news access account) Nntp-Posting-Host: pixel.convex.com Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA Date: Wed, 29 Jul 1992 13:07:46 GMT X-Disclaimer: This message was written by a user at CONVEX Computer Corp. The opinions expressed are those of the user and not necessarily those of CONVEX. > I'm having problems using SCA to determine if all of the procedures/functions declared in an Ada package > are called by a test driver. I can't use PCA to show complete coverage of the procedures in the package > because the package spec really consists of pragma interface's for an object file with external references. SCA is a static analysis tool and tells you that this routine may be called. PCA is a dynamic analysis tool that tells you if the routine was called. They give you two different answers. To use PCA, try one of the following: - compile the object file in question -DEBUG and use PCAC> SET COVERAGE PROGRAM BY ROUTINE - if you can't compile the object file -DEBUG, then just use the following PCAC> SET COVERAGE PROGRAM BY CODE It diassembles the code and places breakpoints on all entries to the basic blocks. Hey, I implemented some of those features in a previous life (about 5 years ago). ;-) Steve Simmons