Working with the Code Review view

You can sort, filter, and search for specific rule findings in the Code Review view.

The default state of the Code Review view is to show every finding from a code review. You can configure the view to hide findings from the view based on their status, that indicates if the finding was fixed, or by severity, that indicates the seriousness of the finding. You can sort findings to change the way they are grouped in the Code Review view. By default, findings are sorted by category. You can sort them either by category or by source file. You can search the Code Review view to quickly locate a finding or a group of findings. You search by entering a search string. All the findings that contain that string appear in the view. You can configure the view before you run the code review or after you see the findings from it.
To configure the Code Review view:
  1. Click Window > Show View > Other, expand Java, select Code Review, and click OK to open the Code Review view.
  2. Click the Filter icon to filter findings by status or severity level.
  3. Under Status, you can filter findings by clearing the following check boxes:
    1. Unresolved: Clear this option if you do not want to see unresolved findings. Unresolved findings have not been marked as fixed or ignored.
    2. Fixed: Clear this option if you do not want to see fixed findings.
    3. Ignored: Clear this option if you do not want to see ignored findings. These are findings that you have chosen not to act on, and are marked with an X.
  4. Under Severity, you can choose from the following filters:
    1. Problem: Clear this option if you do not want to see findings with a Problem severity level.
    2. Warning: Clear this option if you do not want to see findings with a Warning severity level.
    3. Recommendation: Clear this option if you do not want to see findings with a Recommendation severity level.
  5. To sort the findings by category or by source file, click the Sort icon and specify the order in which you want the findings presented.
  6. 5. Click the Search icon to display the Search for text box so you can type text that you want to locate. For example, you might want to search for a particular file in the findings.
Related concepts
Code review findings
Code review reports
Related tasks
Creating reports
Exporting code review findings to reports
Related reference
Code Review view
Reports
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.