Before you start static analysis, verify that the appropriate compiler settings are used in the Project Properties panel’s Parasoft> C++test> Build Settings area (see Directly Testing of Wind River Workbench Projects). In most cases, it is best to set the Options source as Use Options from Wind River Workbench project and to enable Synchronize with project settings.

After confirming that compiler settings are correct, you can start the analysis.



To perform static analysis:

  1. Select the Navigator node that represents the resource(s) you want to test.
  2. Start the analysis in one of the following ways:

C++test will rescan the make files to collect the analysis options, calculate the scope of the analysis and then start the static analysis. After the analysis is completed, the summary dialog and the static analysis results will display in the C++test output panel. You can now review and respond to results, as well as generate reports, as described in the following sections:

For more information on static analysis, see Static Code Analysis and Flow Analysis.