Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 3 | 0.959 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 186 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java |
2 | 5 | 590 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java |
| ||||
case IBinding.METHOD: if (((IMethodBinding) binding).isConstructor()) { return FixMessages.UnusedCodeFix_RemoveUnusedConstructor_description; } else { return FixMessages.UnusedCodeFix_RemoveUnusedPrivateMethod_description; } |
| ||||
case IBinding.METHOD: if (((IMethodBinding) binding).isConstructor()) { return UnusedCodeCleanUp.REMOVE_UNUSED_PRIVATE_CONSTRUCTORS; } else { return UnusedCodeCleanUp.REMOVE_UNUSED_PRIVATE_METHODS; } |
| |||
case IBinding.METHOD: if (((IMethodBinding) binding).isConstructor()) { return [[#variable59083f20]]. [[#variable58fc28c0]]; } else { return [[#variable59083f20]]. [[#variable58fc2820]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#59083f20]] | FixMessages |
1 | 2 | [[#59083f20]] | UnusedCodeCleanUp |
2 | 1 | [[#58fc28c0]] | UnusedCodeFix_RemoveUnusedConstructor_description |
2 | 2 | [[#58fc28c0]] | REMOVE_UNUSED_PRIVATE_CONSTRUCTORS |
3 | 1 | [[#58fc2820]] | UnusedCodeFix_RemoveUnusedPrivateMethod_description |
3 | 2 | [[#58fc2820]] | REMOVE_UNUSED_PRIVATE_METHODS |