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 指摘事項のインポート). 

...

Image Modified

Right-click on a finding to open a contextual menu of options.

...

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

...

...

Image Modified

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. 

...

Image Modified


Suppressing Code Duplicate Analysis Findings

...

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

    Conditional Contentproduct: (cpptest, jtest)

    product: (cpptest, jtest)sv-attr:0A01020401598D973E6641760F8AF4E50A01020401598D973E6749C5267CE6FE 0A01020401598D973E671AAA268425A3

    Image Modified

  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....

...

Image Modified