Analyzing software

The best time to find code problems is when you are writing code. With static code analysis (shown in the product UI as “Software Analyzer”), you can analyze your code starting at the earliest stages of development, long before code is delivered to code management and build systems.
Important: The features or functions in the areas of C++ code review and architectural discovery are not supported in IBM® Rational® Application Developer for WebSphere® Software.

Menu and toolbar options offer you immediate access to analysis functions: creating analysis configurations, running analysis, and viewing and fixing analysis results.

After creating an analysis configuration, you can run it by using any of the following methods:
  • In the Software Analyzer window (Run > Analysis), create an analysis configuration, and then click Analyze to run it.
  • You can also add your analysis configurations to a configuration launch list, which is then accessible from the Analysis Analysis icon icon on the toolbar: simply click an analysis configuration to run it
  • At any time, you can use the menu bar selection (Run > Analyze Last Launched) to rerun the last-launched analysis configuration and view updated analysis results.
  • In the workbench, you can run analysis from the context menu of any object in the Package Explorer or Project Explorer view. Selecting an object overrides the scope previously specified for the analysis configuration. Right-click a project, package, or source file, and from the context menu, select Software Analyzer; then select an analysis configuration to run.