Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Parasoft DTP not receiving C++ coverage metrics

pvhn
pvhn Posts: 1

I am executing unit test from the cpptestcli and have configured the properties file to report metrics to the DTP server. I know the configuration is correct as Static Analysis and basic line coverage metrics are reported to the DTP. However, advanced coverage types such as MC/DC do not show any results. The test configuration we have has MC/DC and several other types of coverage enabled.

Version:
Parasoft C/C++ test 10.4.3
Parasoft DTP 2020.2

Is there anything missing that would prevent advanced C++ test coverage metrics from being reported to the DTP?

Answers

  • Bogdan Czwartkowski
    Bogdan Czwartkowski Posts: 164 admin
    edited February 5

    @pvhn ,

    Reporting advanced coverage metrics was introduced in Parasoft DTP version 2024.1.0, in a form of dedicated set of widgets that show advanced coverage figures and trends. More information can be found here: Coverage - Advanced Widgets.

    It will also require corresponding version of Parasoft C/C++test 2024.1.0 or newer to include in reports sent to DTP information about coverage metrics other than line coverage.

    I would therefore recommend upgrading to the latest versions (2024.2.x) of Parasoft C/C++test and DTP to benefit from advanced coverage metrics.

    As an additional remark, upgrade from 2020.2 to 2024.2 version is an upgrade across a few major releases, so it needs to be properly planned. It will require contacting your Parasoft representatives for upgrade licenses, as well as updating and verifying your configurations and scripts that run C/C++test before they are enabled for production. I would advise reviewing release notes for 2024.2. and intermediate releases to make sure all requirements are met before the upgrade.