Running a static analysis

You can analyze your source code using the analysis configurations that you created. Analysis configurations determine the scope of analysis, the source code that you review, and the rule sets, rule categories, and rules against which the source code is checked.
To run an analysis configuration, you must create an new configuration, or work with an existing one.
To run a static analysis:
  1. Click Run > Analysis.
  2. In the Analysis window, in the Configurations pane, click an analysis configuration.
  3. Click Analyze.
While the analysis runs, the Analysis Results view opens and, if your source code does not conform to the rules in the analysis configuration, the view populates with results. The results are listed in chronological order and are grouped into the same categories that you specified in the analysis configuration.
Related tasks
Customizing perspectives for static analysis
Creating and editing a static analysis configuration
Creating custom rule categories and rules