Analyzing software

The best time to find code problems is when you are writing code. With IBM® Rational® Software Analyzer added to your Eclipse perspective, you can run software analysis from the earliest stages of software development, long before code is delivered to code management and build systems.

Start Software Analyzer from an Eclipse workbench or any Eclipse-based application. The analysis menu and toolbar options are automatically added to Java, Java Debug, and C/C++ perspectives. 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:

From the Software Analyzer window (Run > Analysis), create an analysis configuration, and then click Analyze to run it.

Analysis configurations that you create are added to the configuration launch list, 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 Package or Project Explorer views. 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.


Feedback