* >>>>>>>> Help with SCA query
@ 1992-07-29 13:07 Steve Simmons
0 siblings, 0 replies; only message in thread
From: Steve Simmons @ 1992-07-29 13:07 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1992-07-29 13:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-07-29 13:07 >>>>>>>> Help with SCA query Steve Simmons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox