This topic explains how to configure and run static analysis on code that is designed to be compiled/built using Wind River Tornado compilers and/or written with the aid of Wind River Tornado IDE Wind River Tornado.
Since static analysis runs on pure code only, information and settings related to linking and running the test object are not relevant to this kind of testing. However you must have all compiler settings set properly (see Setting Target/Platform Dependent Options)
To perform static analysis:
After the analysis begins, C++test will collect the analysis options (for Makefile-based projects, this is done by scanning the Makefile; for other projects, this is done by scanning the appropriate files [e.g., project files]), 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.