Page tree

Skip to end of metadata
Go to start of metadata

This topic explains how you can perform static code analysis with C/C++test Plugin for Wind River Workbench 4.x.

Configuring the Project

C/C++test Plugin for Wind River Workbench 4.x supports the following project types:

  • Downloadable Kernel Module
  • Real-Time Process

Before you analyze your C/C++ code, be sure the project is properly configured. Open the Properties of the project, go to Parasoft> C/C++test> Build Settings and ensure that the following options are configured:

  • The Use Options from Wind River Workbench project option is selected from the Option source drop-down menu.
  • The Build target option is properly set.
  • The Synchronize with project settings option is enabled.

(info) The compiler family and executables are automatically set during during the first analysis run.

Performing Static Analysis

  1. In your IDE, select the resource(s) you want to test.

  2. Run a static analysis test configuration. See Running a Test Configuration for information how to launch a test configuration.
  3. Review the results when the analysis is completed. See Reviewing Results and Reviewing Static Code Analysis Results for details.

For more information about C/C++tests static analysis capabilities see Static Code Analysis and  Flow Analysis.

  • No labels