Code duplicationsΒΆ

The Code duplications tab presents the clone classes and clone instances found in the implementation analyzed. More information about duplication metrics and the concepts of clone classes and clone instances can be found here.

The Code duplication types panel contains the list of clone classes identified together with the metric values related to them. Clicking on the link next to the name of a clone class brings one to the clone class view with more details about that clone class.

_images/codeduplicationtypes.png

The Overview tab of the clone class view enables one to select a clone class metric in the Metric values panel and observe how the value of that metric changed over time in the Metric change panel of the same tab.

_images/cloneclassoverview.png

The Clone instances tab of the clone class view presents the list of clone instances and the values of their related metrics in the Code duplications panel. From the list of clone instances, one can set two clone instances to be compared. The result of the code-level comparison is shown below the Code duplications panel. The clone instances are shown within the context of their contianing files and they are highlighted with a pink color.

_images/codeduplications.png

Back: Warnings Next: Clone smells