CA InterTest has many options for specialized testing needs. The code coverage option lets you see the number of times an assembler statement was executed.
The initial setting for code counting is OFF, which is the default. However, you can use the Source Listing Profile screen to turn it ON or OFF again at any time after you have selected monitoring for a program.
How the counts are displayed or not displayed is handled by the primary line command COUNTS and its associated parameters.
This feature causes overhead during program monitoring and should be turned off as soon as it is no longer needed.
To change the setting for code coverage, perform the following steps:
|
YES |
Enables code counting and turns on the COUNTER display feature. |
|---|---|
|
NO |
Removes the COUNTER display and stops the counting feature. |
The following screen details the code coverage feature:
CA InterTest for CICS V9.1 - PROTSYM FILE ABEND DETECTED BREAKPOINT COMMAND ===> Program= COBDEMO Option # Stmt # Margin= 01 Search= ------------------------------------------------------------------------------- _____ TASKNUM | ?00000. ---------+--------------------------------------------------------| COUNTER |-- _ 000351 PROCEDURE DIVISION using dfheiblk dfhcommarea. | | _ 000352 MOVE EIBTRNID TO TSQ-TRANID. | 0000001 | _ 000353 MOVE EIBTRMID TO TSQ-TERMID. | 0000001 | 000354*** THIS CODE INITIALIZES THE MAPS BECAUSE COBOL2 DOESN'T| | _ 000355 MOVE LOW-VALUES TO DMAP04AI | 0000001 | _ 000356 DMAPBEGI | | _ 000357 DMAPASRI | | _ 000358 DMAPSUMI | | _ 000359 DMAPENDI | | _ 000360 DMAP00I | | _ 000361 DMAP01I | | _ 000362 DMAP02I | | _ 000363 DMAP03I | | _ 000364 DMAP04I | | _ 000365 DMAP05I | | _ 000366 DMAP06I | | _ 000367 DMAP07I | |
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|