Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space ENGINES1031 and version 10.4.0

...

Import code duplicate analysis findings into the DTP Findings to begin investigating duplicate code in your IDE (see 指摘事項のインポート). 

...

  • Choose Go To to view the code that triggered the violation in the editor (see "Viewing Code Duplicate Source Code below).
  • Choose Suppress... to suppress the violations triggered by the code duplicate detection rules (see “Suppressing Code Duplicate Analysis Findings” below).
  • Choose Show in DTP Finding Details to open a hierarchical view of the lines of code associated with the finding (see “Viewing Code Duplicate Analysis Finding Details” below).
  • Choose Remove from View to remove the finding from the view.
  • Choose Show Documentation for [rule] to open the rule that triggered the violation.

...

You can navigate through the instances of duplicate code associated with the finding from the DTP Finding Details view.

The top node represents the first appearance of the duplicate code. Consecutive occurrences of the code are listed in order of appearance as children. You can perform the following actions:

...

When you open the source code from the DTP Findings or DTP Finding Details view, the specific line of code that triggered the finding is highlighted. 

...

  1. Right-click on a finding in the DTP Findings view and choose Suppress... to open the suppression options.

  2. Enter a reason for the suppression and choose the type of suppression.
  3. Click OK to apply the suppression. 

You can also suppress a specific instance of duplicate code by right-clicking on a child node in the DTP Finding Details view and choosing Suppress....

...