Code Coverage Metrics


The embedded tools company
TRACE32 Code Coverage Metrics




Support
Technical Support



 
TOP

TRACE32 Code Coverage Metrics




Support

Plain Trace-based Code Coverage

Support

The following metrics can be directly verified based on the source files and the trace recording of the program execution:
  • Statement coverage
  • Function coverage
  • Decision coverage
  • Branch coverage
  • Object code coverage
Code coverage results are provided on module, function and source code level.

Support

Trace-based Code Coverage with Meta Data

Support

The following metrics require meta data to verify the code coverage in addition to the source files and the trace recording of the program execution:
  • MC/DC coverage
  • Call coverage
Lauterbach offers the t32cast command line tool to generate the meta data as part of the build process.

Support

MC/DC Coverage

TRACE32 must know the structure of the decisions and their position in the source code in order to perform MC/DC coverage. The t32cast command tool has to be used to generate this information, which is not part of the debug information generated by the compiler.

At the same time, it must be ensured that trace information is generated for all conditions. This is the case when each condition at the source code level is represented by a conditional jump at the object code level. This can be achieved by the appropriate compiler settings.




Copyright © 2018 Lauterbach GmbH, Altlaufstr.40, D-85635 Höhenkirchen-Siegertsbrunn, Germany   Impressum     Privacy Policy
The information presented is intended to give overview information only.
Changes and technical enhancements or modifications can be made without notice. Report Errors
Last generated/modified: 30-May-2018