Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.960 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 484 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java |
2 | 5 | 226 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractInterfaceWizard.java |
| ||||
for (int i = 0; i < classpathEntries.length; i++) { if (classpathEntries[i].getEntryKind() == IClasspathEntry.CPE_SOURCE) return true; } return false; |
| ||||
for (int i = 0; i < members.length; i++) { if (members[i].getElementType() == IJavaElement.METHOD) return true; } return false; |
| |||
for (int i = 0; i < [[#variable8f3a5880]].length; i++) { if ( [[#variable8f3a5880]][i]. [[#variable8f3a58c0]]() == [[#variable8f3a5820]]. [[#variable8f3a5020]]) return true; } return false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#8f3a5880]] | members |
1 | 2 | [[#8f3a5880]] | classpathEntries |
2 | 1 | [[#8f3a58c0]] | getElementType |
2 | 2 | [[#8f3a58c0]] | getEntryKind |
3 | 1 | [[#8f3a5820]] | IJavaElement |
3 | 2 | [[#8f3a5820]] | IClasspathEntry |
4 | 1 | [[#8f3a5020]] | METHOD |
4 | 2 | [[#8f3a5020]] | CPE_SOURCE |