It provides an objective measurement of test execution completeness, to supplement requirements based and robustness tests.
Cantata code coverage makes it easy to:
What is Code Coverage?
Code Coverage is a dynamic analysis technique to measure which parts of the code have been executed by tests. The logic structure within the code can be identified by individual constructs (syntax elements). The measurement of these individual constructs is recorded using structural code coverage metrics.
Code coverage analysis is used to identify testing gaps where code is not exercised by requirements driven and robustness driven testing approaches.
Coverage analysis is required for compliance with all international software safety standards, with higher safety levels requiring achievement of more rigorous coverage metrics.
“Using coverage helped us to really think about whether certain functions and blocks were needed. We confirmed great confidence in our software as everything had been tested to 100% decision coverage"
Rolf Keller, Software Engineer,
“Cantata automatically generates test reports that prove what has been tested and how extensive the test coverage was for each test case”
Johnny Johansson, Global Validation & Verification Tools Manager, SAAB
What does Cantata Code Coverage help me do?
DIAGNOSE COVERAGE RESULTS
Cantata diagnostics present coverage from complete project code-trees, drilling down to individual code constructs within each line of code helping you to pin-point gaps and direct test effort efficiently.
Automatic test case coverage optimisation aids test case vector selection from large data sets, and reduces regression testing overhead.
UNDERSTAND BUILD VARIANT COVERAGE
Build Variant Coverage understands source code executed over more than one build variant. Cantata uses pre-compiled defines (#defines) to separately identify the different build variants. Cantata Coverage Viewer displays aggregated data for multiple build variants, of the same source code.
In addition to the powerful diagnostics of code coverage results within the Eclipse® GUI, Cantata generates flexible user configurable reports in XML, HTML and safety standards certification ready ASCII text reports.
Build Variant Coverage reports aggregate coverage data across all defines, which is suitable as certification evidence for all build variants of the source code.
Reports and certification evidence embed the integrated checks on the achievement of the required coverage metric targets.
How does Cantata Code Coverage Work
Coverage analysis can be used integrated with Cantata tests or used to measure execution from other tests, and data from multiple tests can be easily combined.
Analysis is made simpler by customisable coverage Rule Sets, which automate all the code instrumentation, data reporting and required coverage checking, for all the main software safety standards.