What is code coverage?

 

Code coverage analysis is required for compliance with all international regulatory safety related software development standards.

 

Cantata’s “Code Coverage” capability shows how much of your code has been executed by dynamic tests.  This improves efficiency by highlighting which tests have exercised specific parts of the code under test, and which parts were not exercised by any tests. This can be measured using different code constructs, ranging from simple function entry-points to complex conditions within decisions such as Modified Condition Decision Coverage (MC/DC).

 

Cantata code coverage analysis is fully integrated into tests so checking is completely automatic. It is made simple through the use of coverage “Rule Sets”, which automate all the code instrumentation, data reporting and “required coverage” checking. It is also simple to add your own customizations via the Rule Set editor, and to set your default Rule Set as a workspace preference.