TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

Duplicates Finder (Java)

Last modified: 20 April 2023

The Duplicates Finder (Java) Build Runner is intended for catching similar code fragments and providing a report on discovered repetitive blocks of Java code. This runner is based on IntelliJ IDEA capabilities, thus an IntelliJ IDEA project file (.ipr) or directory (.idea) is required to configure the runner. The Duplicates Finder (Java) can also find Java duplicates in projects built by Maven2 or above.

This page contains reference information about the following Duplicates Finder (Java) Build Runner fields:

IntelliJ IDEA Project Settings



Unresolved Project Modules and Path Variables



This section is displayed, when an IntelliJ IDEA module file (.iml) referenced from an IPR-file:

  • cannot be found

  • allows you to enter the values of path variables used in the IPR-file.

To refresh values in this section click Check/Reparse Project.

Project JDKs



This section provides the list of JDKs detected in the project.

Java Parameters



Duplicate Finder Settings



Include / exclude patterns| Optional, specify to restrict the sources scope to run duplicates analysis on. For details, refer to the section below| #IdeaPatterns]|