Page tree

Skip to end of metadata
Go to start of metadata

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.


Note


To perform static analysis:

  1. Select the Navigator node that represents the resource(s) you want to test.
    • A valid selection should contain testable C/C++ source files, header files directories.or the entire project. Selection of other project items (including selection of nodes representing the contents of Flexible build targets) is not currently supported.
  2. Start the analysis in one of the following ways:
    • From the Parasoft menu, choose Test Using> [Preferred  Test Configuration].



    • Open the pull-down menu for the Test Using toolbar button (this is a blue triangle), then choose your preferred static analysis Test Configuration.



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.

  • No labels