Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Looking For Duplication

Add the Comments & Duplications widget to your dashboard:

From there, you can drill down to the Duplications tab Duplications tab in the resource viewer:

 

How to read the example above: There is duplication between three blocks of 12 lines. The first block in FindbugsVersion starts at line 43, the second block in CheckstyleVersion starts at line 40 and the third block in PmdVersion starts at line 40.

To display the source code, click on the file name.

To visualize the entire block of code, click on the Expand link.

Activating Cross Project Duplication Detection

Log in as an adminadministrator, go to Configuration > Duplications and set the Cross project duplication detection property to true.

...