Code Coverage / Test Coverage
Code Coverage / Test Coverage in other languages:
Code coverage / Test coverage describes the degree to which the source code of a software has been tested.
Test Coverage is measured during test execution. Prior to test execution an instrumentation component of the coverage tool inserts measurement code into the code. The program part is logged as covered when the measurement code has been executed.
There are many different coverage measures. Most coverage tools provide just simple coverage metrics (like statement coverage and branch coverage).
> learn more
"Many folks "think" they have good requirements and tests, only to find out later via coverage analysis that those "great" tests only covered 60% of the code. Obviously they had weak requirements, or weak tests of requirements, or more likely: BOTH.
Code Coverage is quite an eye opener. Frankly, even non-safety critical should do structural coverage. Not to attain 100%, not at all: but rather to ensure they’re covering at least 75% thereby affirming they have good requirements and tests of those requirements."
Vance Hilderman, Chief Technical Officer, AFuzion Inc.
/ Author of the books "Avionics Certification" and "The Avionics Development Ecosystem"
is a test coverage tool which checks for all coverage levels:
- Function Coverage
- Statement Coverage
- Decision Coverage
- Condition/Branch Coverage
- Modified Condition/Decision Coverage (MC/DC)
- Multiple Condition Coverage (MCC)
As Testwell CTC++ analyses also for the highest coverage levels, it is used to analyse code coverage for critical software projects i.e. in aeronautics, automotive, and healthcare sectors.
Testwell CTC++ can be used with all embedded targets and all compilers!
The tool has also the broadest language support: C, C++, Java and C#.
Watch the video to find out more about different Code Coverage levels:
Testwell CTC++ all coverage levels - all compilers - all targets !
CTC++ for Java and Android add-on
CTC++ for C# add-on
Testwell CTC++ Qualification Kit for DO-178C, EN-50128, IEC 61508, and ISO 26262
The Qualification Kit for Testwell CTC++
provides documentation, test cases, and procedures that let you qualify Testwell CTC++ Test Coverage Analyser for projects based on the safety standards ISO 26262, IEC 61508, EN-50128, and DO-178C. The kit contains tool qualification plans, tool operational requirements, and other materials required for qualifying Testwell CTC++ for usage in security critical projects. > further information