Running code review reports

When working with code reviews, you can run reports to view historical information about a code review and files in it. Use these reports to see unaddressed comments, review your code review process, or save process information for audits.

You can run the following types of code review reports:

Tip: Code review coverage reports are also available. Use these reports to see file versions in code reviews and if the individual file reviews are complete or still in progress. This report can you help you determine if you are ready to release your product, measure coverage of your code review process, or demonstrate quality control during an audit. See Creating code review coverage reports.

1. Choose View > Code Reviews.

The Code Reviews window opens.

2. Select the Mainline branch that includes the files and code reviews.

3. Select a Report on Code Reviews option.

Tip: All files in a selected code review are included in detail style reports. To only include specific files, select the files to include in the review.

4. Click Report On.

The Code Review Report dialog box opens.

5. Select an Output format. Reports can be formatted in HTML or plain text format.

6. If the selected output format is HTML, select a Stylesheet to format the report.

Cascading Style Sheets (CSS) files are installed with Surround SCM to create reports with a predefined layout and design. You can customize these stylesheets or create your own. Code review report stylesheets are stored in the StyleSheets/CodeReview directory in the Surround SCM application directory on the server.

7. Select a report type. See Examples.

8. Select a Sort comments by option to indicate the order to display review comments in the report.

9. Click Run.

The report opens.

10. Click Save As to save the report or Print to print it.

These options are only available in the internal report viewer. If an HTML report opens in a browser, you can save, export, or print the report from the browser.

11. Click Close when you finish.