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:
- Click , expand Java,
select Code Review, and click OK to
open the Code Review view.
- Click the Filter icon
to filter findings by status or severity level.
- Under Status, you can filter findings by
clearing the following check boxes:
- Unresolved: Clear this option if you
do not want to see unresolved findings. Unresolved findings have not been
marked as fixed or ignored.
- Fixed: Clear this option if you do not
want to see fixed findings.
- 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.
- Under Severity, you can choose from the
following filters:
- Problem: Clear this option if you do
not want to see findings with a Problem severity level.
- Warning: Clear this option if you do
not want to see findings with a Warning severity level.
- Recommendation: Clear this option if
you do not want to see findings with a Recommendation severity level.
- 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.
- 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.