Trail: PROIV Documentation > Developer > PROIV Developer > Code Coverage Overview

This section of the manual describes PROIV's support for code coverage.

Background

An issue of concern to developers in all programming languages is how much of their code is being covered by testing. The aim is for testing to have a broad coverage rather than repeatedly exercising a narrow section of the code. An automated tool to provide this code coverage allows developers to have confidence their code is adequately tested. The next section will describe how PROIV can provide this information.

PROIV Support

There are three stages to the code coverage process in PROIV:

  1. Additional information for code coverage must be generated while functions are built.

  2. Code coverage data is captured.

  3. Captured code coverage data is reported on.

The code coverage includes which events (with associated logic blocks) for

have been triggered. The logic blocks (including global logics) are broken down as follows:

  1. which sets of lines (code paths) have been executed;

  2. in some cases which parts of a line have been executed (e.g. inline IF statement);

  3. for IF and CASE statements whether all the paths under their control have been executed.

This information can be presented as a report or visualized.

See the getting started guide for an introduction.

Comment on this topic

Topic ID: 700079