Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: ssimmons@convex.com (Steve Simmons)
Subject: >>>>>>>> Help with SCA query
Date: Wed, 29 Jul 1992 13:07:46 GMT	[thread overview]
Message-ID: <ssimmons.712415266@convex.convex.com> (raw)

> 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 



                 reply	other threads:[~1992-07-29 13:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox