Previous Topic Next topic Print topic


Importing Existing Code Analysis Reports

Visual COBOL provides integration with some of the code analysis reports produced with either Micro Focus COBOL Analyzer or Micro Focus Enterprise Analyzer, advanced tools for code analysis.

To perform a more in-depth analysis of your code, run a Code Search Report on it in COBOL Analyzer or Enterprise Analyzer. You can export the results in XML format and then import them in Visual COBOL to use with a project for the same source code. The results are displayed in the Micro Focus Code Analysis window.

To import and use the Code Search Report results into Visual COBOL:

  1. Open the project for your source code.
  2. Navigate to the Micro Focus Code Analysis window.

    If it is not visible, click View > Micro Focus Code Analysis to open it.

  3. Click Import Results (Import Results) in the Code Analysis window.
  4. Navigate to and select the Code Search Report results file (.xml) and click Open.

    This loads the code analysis

  5. You can double-click on lines in the results to navigate to the source code.

    You can use the rest of the commands in the window except for rerunning the report as it is produced using a different product. The rerun option, Import Results, is disabled in this case.

Previous Topic Next topic Print topic