| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 8 | 4 | 0.955 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 48 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/ClasspathUtil.java |
| 2 | 3 | 154 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestMethodSelectionDialog.java |
| 3 | 3 | 173 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameAnalyzeUtil.java |
| 4 | 3 | 244 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameAnalyzeUtil.java |
| 5 | 3 | 809 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java |
| 6 | 2 | 248 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeTypeWizard.java |
| 7 | 3 | 467 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java |
| 8 | 3 | 112 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MatchFilter.java |
| ||||
for (int i = 0; i < cp.length; i++)
{
if (cp[i].getPath().equals( searchingForPath))
return cp[i];
}
|
| ||||
for (int i = 0; i < testTypes.length; i++) {
if (testTypes[i].getJavaProject().equals(project))
return testTypes[i];
}
|
| ||||
for (int i = 0; i < newWorkingCopies.length; i++) {
if (newWorkingCopies[i].getPrimary().equals(original))
return newWorkingCopies[i];
}
|
| ||||
for (int i = 0; i < newOccurrences.length; i++) {
if (newOccurrences[i].getResource().equals(resource))
return newOccurrences[i];
}
|
| ||||
for (int i = 0; i < imports.length; i++) {
if (imports[i].getElementName().endsWith(dotTypeName))
return imports[i];
}
|
| ||||
for (int i = 0; i < items.length; i++) {
if (items[i].getData().equals(type)) return items[i];
}
|
| ||||
for (int i = 0; i < fMainTypes.length; i++) {
if (fMainTypes[i].getFullyQualifiedName().equals(name))
return fMainTypes[i];
}
|
| ||||
for (int i = 0; i < ALL_FILTERS.length; i++) {
if (ALL_FILTERS[i].getID().equals(id))
return ALL_FILTERS[i];
}
|
| |||
for (int i = 0; i < [[#variablebafb50c0]].length; i++) {
if ( [[#variablebafb50c0]][i]. [[#variablebafb5040]](). [[#variablebafb4fc0]]( [[#variablebafb4de0]]))
return [[#variablebafb50c0]][i];
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#bafb50c0]] | cp |
| 1 | 2 | [[#bafb50c0]] | testTypes |
| 1 | 3 | [[#bafb50c0]] | newOccurrences |
| 1 | 4 | [[#bafb50c0]] | newWorkingCopies |
| 1 | 5 | [[#bafb50c0]] | imports |
| 1 | 6 | [[#bafb50c0]] | fMainTypes |
| 1 | 7 | [[#bafb50c0]] | ALL_FILTERS |
| 1 | 8 | [[#bafb50c0]] | items |
| 2 | 1 | [[#bafb5040]] | getPath |
| 2 | 2 | [[#bafb5040]] | getJavaProject |
| 2 | 3 | [[#bafb5040]] | getResource |
| 2 | 4 | [[#bafb5040]] | getPrimary |
| 2 | 5 | [[#bafb5040]] | getElementName |
| 2 | 6 | [[#bafb5040]] | getFullyQualifiedName |
| 2 | 7 | [[#bafb5040]] | getID |
| 2 | 8 | [[#bafb5040]] | getData |
| 3 | 1 | [[#bafb4fc0]] | equals |
| 3 | 2 | [[#bafb4fc0]] | equals |
| 3 | 3 | [[#bafb4fc0]] | equals |
| 3 | 4 | [[#bafb4fc0]] | equals |
| 3 | 5 | [[#bafb4fc0]] | endsWith |
| 3 | 6 | [[#bafb4fc0]] | equals |
| 3 | 7 | [[#bafb4fc0]] | equals |
| 3 | 8 | [[#bafb4fc0]] | equals |
| 4 | 1 | [[#bafb4de0]] | searchingForPath |
| 4 | 2 | [[#bafb4de0]] | project |
| 4 | 3 | [[#bafb4de0]] | resource |
| 4 | 4 | [[#bafb4de0]] | original |
| 4 | 5 | [[#bafb4de0]] | dotTypeName |
| 4 | 6 | [[#bafb4de0]] | name |
| 4 | 7 | [[#bafb4de0]] | id |
| 4 | 8 | [[#bafb4de0]] | type |