Code Coverage in TESSY

A test object is considered to consist of items like branches, conditions, etc. Code coverage measures, how many of the items were exercised during the tests. This number is related to the total number of items and is usually expressed in percent.

Included coverage measurements are

  • Entry Point Coverage
  • Statement Coverage
  • Branch Coverage
  • Decision Coverage
  • Modified Condition / Decision Coverage (MC/DC)
  • Multiple Condition Coverage
  • Function Coverage
  • Call Pair Coverage

Function Coverage and Call Pair Coverage are measures of component / integration testing.

Code coverage measurment
Coverage results are displayed as flowchart and by highlighting the source code

Hyper Coverage for System and Integration Testing

TESSY integrates with the Accemic Technologies hardware trace port analysis tool to provide source code coverage information from system and integration testing. This method uses FPGA-based online trace data processing and high-level language event processing to acquire branch and MC/DC coverage data directly during system and integration testing.

Coverage results can be imported into TESSY and displayed at the source file level within the Test Cockpit view. Any coverage gaps can be addressed by creating targeted unit test cases for specific corner cases or error handling functionality that may not be triggered during normal operation.

The Coverage Viewer (CV) perspective shows the reached branches for each system test case. This mapping of system test cases to achieved coverage supports requirements-based testing and helps identify untested code.