© 2020 PikeTec All rights reserved
Code coverage plays an important role as criterion for the decision to stop testing the code. Code coverage criteria are condition coverage, decision coverage, and modified condition/decision coverage. To measure code coverage, the source code has to be instrumented.
Code coverage measurement in TPT is indirectly possible by means of other tools like CTC++ and Gcov. For Simulink models you can use the Verification and Validation Toolbox (VV-Toolbox) or TargetLink. The results of the code coverage analysis can be integrated in the TPT report.
TPT supports the code coverage of TargetLink production code via TargetLink by dSPACE or CTC++ by Testwell.
TPT supports the coverage measurement of Simulink models via the tool Verification and Validation Toolbox (V&V-Toolbox) by Mathsworks.
TPT supports directly the coverage measurement by tools like CTC++ and Gcov that are responsible for the instrumentation and the measurement.
TPT can work together with any other coverage tool. In this case, the configuration cannot be done in TPT and the results of the coverage will not appear in the TPT report.