When you run code analysis or CSI queries on your code, the IDE automatically opens the
Micro Focus Code Analysis
window to display the results. (If you cannot see the window, you can open it manually by clicking
View > Micro Focus Code Analysis.)
The following list shows some of the different operations that you can perform from
Micro Focus Code Analysis
window:
- Run a previous query
- Use the list box in the window to view the history of the previous reports. You can select a report from the list box to run
it again.
- List of views
- Choose one of the following views of the results:
- Program View - group the results by program.
- File View - group the results by file.
- Rule View group the results by rule.
Note: Line numbers shown in the Micro Focus Code Analysis window are calculated taking copy statements into account - the window
shows line numbers after all copybooks have been expanded in a program.
- Rerun a query
- Click
(Rerun query).
- Hide copybooks from the report
- Click
(Hide Results for Copybooks).
- Show the details for all files listed in a report
- Right-click in the window and click
Expand All.
- Hide the details from the report
- Right-click in the window and click
Collapse All.
- Navigate to the code
- Double-click a line in the window to navigate to that line in the source code in the editor.
- Import results
- Click
(Import Results) to load any report results in XML format created with COBOL Analyzer into the
Micro Focus Code Analysis window.
- Toggle the highlighting of results in the code
- Click
(Toggle highlight results).
- Copy lines from the report
- Right-click a line you want to copy in the results, and click
Copy.