General C and C++ Java Third-Party External

CodeSonar Plug-in for Eclipse: Import Analysis Results

The CodeSonar plug-in for Eclipse supports importing analysis results from a CodeSonar hub.

Use this feature to view results of analyses performed by other users, or outside the Eclipse plug-in.

Note that results from other languages can also be imported to Eclipse.



Prerequisites

If you have not already installed the CodeSonar plug-in for Eclipse, install it now.

Results for an analysis can only be imported by a user with the following permissions.

If special user Anonymous does not have these permissions, you will need to authenticate the import operation as a hub user account that does have them (and also has G_SIGN_IN and G_SIGN_IN_PASSWORD).

Importing an Analysis

To import an analysis of the current project:

  1. Select CodeSonar > Enable > Import Analysis Results.
    A dialog will open, requesting an Analysis URL.
  2. Enter the URL of the analysis you want to import.
  3. Click OK.
  4. If a hub authentication dialog is presented, enter your hub user account username and password and click OK.
    The hub authentication dialog will not be presented if you have already configured a suitable authentication type and credentials in the hub connection settings dialog.
  5. The CodeSonar plug-in will proceed with the import.

Examining an Imported Analysis

The plug-in functionality for viewing analysis results applies to imported analyses just as it does to analyses performed by the plug-in.

Note that results from other languages (beyond C, C++, and Java) can be imported and viewed in Eclipse.

Alternatives

As an alternative to importing analyses, you can view their information in the web GUI.

Eclipse Plug-in Links

The following sections provide detailed information about installing and using the CodeSonar plug-in for Eclipse.