Library /sys$common/syshlp/PCA$HELP.HLB  —  SET  COVERAGE  Examples
  PCAC> SET COVERAGE/STACK_PCS PROGRAM BY CODEPATH

      This command specifies that test coverage be measured for every
      codepath in the user program, and enables the collection of
      stack PC values.

  PCAC> SET DATAFILE/APPEND COV_TEST.PCA
  PCAC> SET COVERAGE/PREVIOUS PROGRAM BY CODEPATH

      The SET DATAFILE command specifies that the coverage data from
      this collection run be appended to an existing performance
      data file if such a file exists. The SET COVERAGE command
      specifies that test coverage be measured for every codepath in
      the user program. The /PREVIOUS qualifier specifies that if an
      existing data file is found, then the Collector will ignore the
      nodespec, and will use the breakpoint table from the previous
      collection run recorded in that data file. Hence, test coverage
      is measured only once for each codepath in the program over all
      collection runs recorded in the performance data file.

  PCAC> SET COVERAGE/UNTIL:4 MODULE NICK BY CODEPATH

      This command specifies that test coverage be measured for every
      codepath in module NICK. Up to four executions of each codepath
      is recorded in the performance data file before the coverage
      breakpoint is removed.

  PCAC> SET COVERAGE PROGRAM BY ROUTINE

      This command specifies that test coverage be measured for every
      routine in the user program. Each routine that is called at
      least once is recorded as being covered.
Close Help