Rational Developer for System z

Generating and saving reports

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:

  1. 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.
  2. In right pane:
    1. Select any item in the list of results.
    2. On the toolbar click Generate a report for the current selection Generate a report for the current selection.
  3. The Software Analyzer Reporting window opens. In this window:
    1. Select a report, such as COBOL Code Review.
    2. Select a report type, either HTML report or PDF report.
    3. Click OK.

The report is generated.

Saving a PDF report to the file system

To save a PDF report to the file system:
  1. Generate the report in PDF format. The report is displayed in Adobe Reader.
  2. In Adobe Reader, save the file to the file system by clicking File > Save As.

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 Window > Preferences > General > Web Browser. The default is internal.
External browser: To save an HTML report with the external browser:
  1. Generate the report in HTML format. The report is displayed in the browser.
  2. Use the method provided by the browser, such as clicking File > Save, 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:
  1. Right-click on the text area of the browser and click Select all.
  2. Right-click again and click Copy.
  3. Paste the contents into an editor or word-processing program and save the text to the file system.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)