The Code Review Details view provides resource
and troubleshooting information about the selected finding.
- Description
- Provides the following information:
- The rule that was not adhered to and its category
- A link to each file that contains the finding
- An explanation of why code should adhere to the rule
- Examples
- Shows how the code is currently written.
- Solutions
- Shows how to modify the code so that it adheres to the rule.
- Loop Details
- Appears only if the selected finding is a cyclic dependency,
also referred to as a tangle. The following loop details are provided for
the cyclic dependency:
- A link to each component that contains it
- Each loop in it
- A link to each line number in the code that you need to modify in order
to eliminate it
- Paths
- Appears only if the finding results from a deep rule applied during the
J2EE Best Practices code review. Deep J2EE rules not only produce findings,
but also show the paths that lead to the findings. The following paths that
lead to the selected finding are provided:
- Always shows the control flow path, which is the method execution chain
- When applicable, it also shows the data flow path, which is the data creation
chain