This topic describes how to generate reports from the Software
Analysis Results view.
Note: Code review does not support analysis history reports.
The importance
of saving reports
To keep a report for future use, save
it to the file system before closing it. A good technique is to generate
a report in PDF format and save it to the file system immediately.
Also, if you choose HTML format, most browser versions allow you to
save a report to the file system, if the browser that is linked with
Developer for System z® is
configured as an external browser.
When you close a report,
you cannot reopen it. However, you can quickly regenerate the same
report from its history, so long as the history has not been lost
or deleted.
Developer for System
z preserves histories so long as it remains open. Accumulated
histories are lost when Developer for System z closes.
Generating a Code Review report
This
type of report, called a COBOL Code Review report or a PL/I Code Review
report, shows the results of a code review analysis. To generate this
type of report:
- In the left pane of the Software Analysis Results view, select
the history that you are interested in. The results from the history
are displayed in the right pane.
- In right pane:
- Select any item in the list of results.
- On the toolbar click Generate a report for the current
selection
.
- The Software Analyzer Reporting window opens. In this window:
- Select a report, such as COBOL Code Review.
- Select a report type, either HTML report or PDF
report.
- Click OK.
The report is generated.
Saving a PDF report to the
file system
To save a PDF report to the file system:
- Generate the report in PDF format. The report is displayed in Adobe Reader.
- In Adobe Reader, save the
file to the file system by clicking .
Saving an HTML
report to the file system
The method
for saving an HTML report to the file system depends on whether the
browser is configured as internal or external.
Tip: To
configure the browser as external or internal go to . The default is internal.
External browser:
To save an HTML report with the external browser:
- Generate the report in HTML format. The report is displayed in
the browser.
- Use the method provided by the browser, such as clicking ,
to save the report to the file system.
Note: Even though you configure the browser as
external, the HTML report might still be displayed in the inner browser.
Success depends on the brand and version of the browser and on the
runtime environment. If this problem occurs use the internal browser
method.
Internal browser: The browser commands for copying
the current HTML page to the file system do not work in the internal
browser. Therefore saving the report from the internal browser requires
you to copy and paste the text:
- Right-click on the text area of the browser and click Select
all.
- Right-click again and click Copy.
- Paste the contents into an editor or word-processing program and
save the text to the file system.