Code Duplicates Detection
IntelliJ IDEA deep knowledge of the code lets it spot and fix duplicate code fragments, which can be removed without losing the intended functionality, and so get the smaller code which runs faster and is easier to understand and upgrade. IntelliJ IDEA is capable of finding duplicates in Java, Ruby, CSS, and other code.
Locate Duplicates feature catches similar code fragments and provides you with a comprehensive report on any repetitive blocks found. The level of similarity and size of reported code fragments is easy to adjust.