Code coverage

Code coverage analyzes a running program and generates a report of lines that are executed, compared to the total number of executable lines. Note that code coverage sets up a TCP/IP connection, using an ephemeral port, with IBM® z/OS® Debugger.

z/OS Source Code Analysis and z/OS Debugger provide two ways to invoke Code coverage in batch mode, A sample JCL procedure, to process a single program run, and a set of scripts to start and stop a permanently active code coverage collector that can process multiple program runs.

Note: Java 11.0 is required to run the Code Coverage feature.