Code coverage¶

EPW code coverage¶

Code coverage is a measure used to describe the degree to which the source code of a program is tested by a particular test suite. A program with high code coverage, measured as a percentage, has had more of its source code executed during testing which suggests it has a lower chance of containing undetected software bugs compared to a program with low code coverage (Ref: Wikipedia).

The code coverage by the tests located in EPW/tests can be access at EPW code coverage.

Three code coverage are given there:

• Files : This is the number of files that are tested (even partially)

• Functions: This gives you the number of functions and subroutines that are tested (there might be multiple functions in a file)

• Blocks: This gives the number of blocks that are tested (blocks are usually defined by ‘IF’ conditions).

Currently, about 63% of the 25,600 software blocks are tested/covered.