Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space CPPTDESKDEV and version 10.4.2

This topic explains The C/C++test 10.x Professional provides full backward compatibility with C++test 9.x, and the upgrade does not require any specific migration steps. However, C/C++test 10.x introduces a number of enhancements and changes that may require attention. This chapter details important changes between versions 9.x and 10.x that should be taken into account when migrating from 9.x to 10.x.

Note: Parasoft offers a separate installation, C/C++test Standard, which allows you to perform static analysis without integrating with the IDE, as well as providing the ability to execute unit tests created in open-source unit testing tools, such as GoogleTest, while monitoring code coverage for these unit tests. C/C++test Standard also provides the ability to capture code-level Application Coverage during the execution of manual tests.

In this section:

Table of Contents

Upgraded Static Analysis

Code Parsing Problems

The default for analyzing files with parse errors has changed.

System Requirements

  • The following operating systems are no longer supported: Solaris OS, Windows 2000, Windows XP, Windows Vista, Windows Server 2003
  • C/C++test may require additional 1GB RAM (32bit) or 2GB RAM (64bit) for running analysis.

Documentation Changes

The C/C++test documentation is now available online at and accessible from the Parasoft > Help> C++test menu. A PDF version of the online documentation is also distributed with C/C++test for offline viewing.

Static Analysis

Reporting Code Parsing Problems

In 9.x, the "Analyze files with parse errors" option was in the test configuration was disabled by default, and no results were reported for files with parse errors. This In 10.x this option has been replaced with the replaced with "Code Parsing Problems" option that is by default set with the default setting to ignore any parse problems and report Static Analysis static analysis findings for all files in the scope. See .

To retain the default behavior from C++test 9.x, set the "Code Parsing Problems" option to "Error" for a selected test configuration. See Static Tab Settings - Defining How Static Analysis is Performed for details.

New and Updated Static Analysis Rules

The static analysis rules shipped with Any parsing problems are reported in both HTML reports and sent to Parasoft DTP for display with the "Diagnostics> Runs - Status" widget.

Reporting Results On Cancellation

When canceling analysis prior to completion, C++test 109.x have been updated to include new rules and improve the efficacy of results reported by Static Analysis and Flow Analysis. Creported the partial results that were obtained. To ensure consistent results, C/C++test 10.x offers complete coverage for the MISRA C:2012 standard, as well as C++11, C++14, C++17 and CERT C. See Release Notes for more details.

Other Changes


static analysis results are reported after the analysis has completed. Therefore, if the analysis is canceled before completion, no results will be reported in the IDE.


Monitoring Static Analysis Progress

The Test Progress view does not provide details about the current progress of a static analysis run. To monitor the details about a


static analysis run, set the console verbosity to Normal or High and monitor the Console Output view for the current progress (in the GUI) or add the -appconsole stdout


 option to


the cpptestcli parameters (in the command line).


Test Progress view may not provide details about the current progress of a Static Analysis run. 

Code Review Changes

The 9.x Code Review functionality is deprecated. With

Analyzing Projects with Shared Files in Eclipse

To ensure consistent results, Eclipse projects that share the same file(s) should be analyzed in separate runs (for example, if your projects include the same linked resources).

Metrics Analysis

C/C++test 10.x , you can review changes in the code base independently of the source control system - directly in DTP. The Change Explorer view provides a better insight into the evolution of your code by using additional data aggregated by DTP.  See the Change expands both the breadth of the code metrics calculated (see Metrics Calculation for details on the full list of available metrics) and the reporting/navigation of the metrics data – via Parasoft DTP. Calculated code metrics are consistent across all the Parasoft language products (Jtest, dotTEST, C/C++test), and Parasoft DTP provides enhanced interfaces for aggregation and navigation of the metrics data (see the Metrics Explorer section of the DTP documentation at for more details).



  • The configuration of metrics and violation thresholds are configurable via the Test Configuration interface in DTP.
  • The IDE based metrics view and static HTML metrics reports generated by C/C++test are no longer available.

Team Infrastructure

Integration with DTP

C/C++test 10.x can be integrated directly with the Parasoft Development Testing Platform (DTP).  Parasoft DTP is DTP– the next generation of Parasoft Concerto, which was originally released in version 4.9.4. DTP can aggregate and analyze local analysis results, well as . Parasoft DTP aggregates analysis and test results, including granular line coverage (per test case), to help you focus on the quality tasks that have the most impact. See Connecting to Development Testing PlatformDTP for information how to connect to DTP.


Connecting C/C++test


to DTP also enables the configuration of C/C++test using test configurations stored, managed and edited on the DTP server; see DTP Test Configurations


 for details.


Note: Team Server is supported by 10.x, but is it recommend to use the DTP workflow across the team.

Reporting Results with the -publish Option

When executing the C/C++test Professional in command line mode (i.e. for automated execution of Parasoft unit test or backward compatibility), results are sent to DTP with the -publish option


. In C++test 9.x this option was used to report results to Team Server


, and in C/C++test 10.x, publishing results to Team Server can be enabled with the -publishteamserver option.

System and Infrastructure Changes


Peer Code Reviews in the IDE vs Change Reviews in DTP

The Peer Code Review functionality from within the C++test 9.x IDE has been deprecated. With C/C++test


Limitations and Deprecated Functions 

  • The Metrics view is no longer available in the IDE and metrics analysis results are not included in local HTML or XML reports generated by C++test (see Integration with Development Testing Platform).
  • The 9.x Project Center is deprecated.

Documentation Changes

C++test documentation is now published online and is no longer integrated into the IDE. Choose Parasoft> Help> C++ from the main menu or select the appropriate 10.x you can review changes in the code base independently of the source control system  directly in the web interface of Parasoft DTP. The Change Explorer in Parasoft DTP provides additional insight into the code changes between builds by correlating the analysis data aggregated by DTP with the code changes into a single interface.  See the Change Explorer section of the DTP documentation at for more details.



Integration with Concerto Project Center

Integrations with Concerto Project Center have been depreciated in C/C++test 10.x. Reporting to Project Center for traceability is still available but importing of task information into the IDE is no longer available.