Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 28 | 4 | 0.962 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 53 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeleteResourceElementsOperation.java |
2 | 2 | 121 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaConnectTab.java |
3 | 2 | 216 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/AddVMDialog.java |
4 | 2 | 133 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/LibraryContentProvider.java |
5 | 2 | 322 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/AbstractJavaLaunchConfigurationDelegate.java |
6 | 2 | 320 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java |
7 | 2 | 288 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java |
8 | 2 | 307 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java |
9 | 2 | 363 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java |
10 | 2 | 379 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java |
11 | 2 | 398 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java |
12 | 2 | 117 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaElementResourceMapping.java |
13 | 2 | 191 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeInfoFactory.java |
14 | 2 | 241 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java |
15 | 2 | 280 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodAnalyzer.java |
16 | 2 | 677 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java |
17 | 2 | 470 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java |
18 | 2 | 660 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java |
19 | 2 | 131 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoringProcessor.java |
20 | 2 | 202 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/QuickMenuAction.java |
21 | 2 | 98 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/SearchScopeActionGroup.java |
22 | 2 | 195 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/DelegatingDropAdapter.java |
23 | 2 | 153 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java |
24 | 2 | 750 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java |
25 | 2 | 760 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java |
26 | 2 | 1040 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ASTResolving.java |
27 | 2 | 35 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPUserLibraryElement.java |
28 | 2 | 282 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FormatAllAction.java |
| ||||
// remove the children for (int i = 0; i < childrenOfInterest.length; i++) { resources[i] = childrenOfInterest[i].getCorrespondingResource(); } |
| ||||
for (int i = 0; i < fConnectors.length; i++) { names[i] = fConnectors[i].getName(); } |
| ||||
for (int i = 0; i < fVMTypes.length; i++) { names[i] = fVMTypes[i].getName(); } |
| ||||
for (int i = 0; i < locations.length; i++) { locations[i] = fLibraries[i].toLibraryLocation(); } |
| ||||
for (int i = 0; i < bootEntriesPrep.length; i++) { entriesPrep[i] = bootEntriesPrep[i].getLocation(); } |
| ||||
for (int i = 0; i < typeParameters.length; i++) { typeParametersNames[i] = typeParameters[i].getElementName(); } |
| ||||
for (int i = 0; i < ret.length; i++) { ret[i] = localArrays[i].getName(); } |
| ||||
for (int i = 0; i < localArrays.length; i++) { ret[i] = localArrays[i].getMemberTypeNames(); } |
| ||||
for (int i = 0; i < ret.length; i++) { ret[i] = localCollections[i].getName(); } |
| ||||
for (int i = 0; i < ret.length; i++) { ret[i] = localCollections[i].getName(); } |
| ||||
for (int i = 0; i < iterables.length; i++) { ret[i] = iterables[i].getMemberTypeNames(); } |
| ||||
for (int i = 0; i < projects.length; i++) { result[i] = projects[i].getProject(); } |
| ||||
for (int i = 0; i < projects.length; i++) { result[i] = projects[i].getElementName(); } |
| ||||
for (int i = 0; i < bindings.length; i++) { fExcludedVariableNames[i] = bindings[i].getName(); } |
| ||||
for (int i = 0; i < fArguments.length; i++) { result[i] = fArguments[i].getType(); } |
| ||||
for (int i = 0; i < bindings.length; i++) { fExcludedVariableNames[i] = bindings[i].getName(); } |
| ||||
for (int i = 0; i < fExcludedParameterNames.length; i++) { fExcludedParameterNames[i] = bindings[i].getName(); } |
| ||||
for (int i = 0; i < fOccurrences.length; i++) { elements[i] = fOccurrences[i].getCompilationUnit(); } |
| ||||
for (int i = 0; i < result.length; i++) { result[i] = infos[i].getMember(); } |
| ||||
for (int i = 0; i < rectangles.length; i++) { rectangles[i] = items[i].getBounds(); } |
| ||||
for (int i = 0; i < sets.length; i++) { result[i] = sets[i].getName(); } |
| ||||
for (int i = 0; i < fListeners.length; i++) { types[i] = fListeners[i].getTransfer(); } |
| ||||
for (int i = 0; i < workingSets.length; i++) { wsIds[i] = workingSets[i].getName(); } |
| ||||
for (int i = 0; i < elements.length; i++) { elements[i] = roots[i].getData(); } |
| ||||
for (int i = 0; i < elements.length; i++) { elements[i] = roots[i].getData(); } |
| ||||
for (int i = 0; i < varsBefore.length; i++) { names[i] = varsBefore[i].getName(); } |
| ||||
for (int i = 0; i < entries.length; i++) { entries[i] = children[i].getClasspathEntry(); } |
| ||||
for (int i = 0; i < res.length; i++) { res[i] = cus[i].getResource(); } |
| |||
// remove the children for (int i = 0; i < [[#variableb95ed400]].length; i++) { [[#variableb95ed380]][i] = [[#variableb95ed320]][i]. [[#variableb95ed2c0]](); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b95ed400]] | res |
1 | 2 | [[#b95ed400]] | elements |
1 | 3 | [[#b95ed400]] | bindings |
1 | 4 | [[#b95ed400]] | ret |
1 | 5 | [[#b95ed400]] | childrenOfInterest |
1 | 6 | [[#b95ed400]] | fConnectors |
1 | 7 | [[#b95ed400]] | fVMTypes |
1 | 8 | [[#b95ed400]] | locations |
1 | 9 | [[#b95ed400]] | bootEntriesPrep |
1 | 10 | [[#b95ed400]] | typeParameters |
1 | 11 | [[#b95ed400]] | iterables |
1 | 12 | [[#b95ed400]] | localArrays |
1 | 13 | [[#b95ed400]] | ret |
1 | 14 | [[#b95ed400]] | projects |
1 | 15 | [[#b95ed400]] | projects |
1 | 16 | [[#b95ed400]] | fArguments |
1 | 17 | [[#b95ed400]] | fExcludedParameterNames |
1 | 18 | [[#b95ed400]] | fOccurrences |
1 | 19 | [[#b95ed400]] | result |
1 | 20 | [[#b95ed400]] | rectangles |
1 | 21 | [[#b95ed400]] | sets |
1 | 22 | [[#b95ed400]] | fListeners |
1 | 23 | [[#b95ed400]] | workingSets |
1 | 24 | [[#b95ed400]] | varsBefore |
1 | 25 | [[#b95ed400]] | entries |
1 | 26 | [[#b95ed400]] | ret |
1 | 27 | [[#b95ed400]] | elements |
1 | 28 | [[#b95ed400]] | bindings |
2 | 1 | [[#b95ed380]] | res |
2 | 2 | [[#b95ed380]] | elements |
2 | 3 | [[#b95ed380]] | fExcludedVariableNames |
2 | 4 | [[#b95ed380]] | ret |
2 | 5 | [[#b95ed380]] | resources |
2 | 6 | [[#b95ed380]] | names |
2 | 7 | [[#b95ed380]] | names |
2 | 8 | [[#b95ed380]] | locations |
2 | 9 | [[#b95ed380]] | entriesPrep |
2 | 10 | [[#b95ed380]] | typeParametersNames |
2 | 11 | [[#b95ed380]] | ret |
2 | 12 | [[#b95ed380]] | ret |
2 | 13 | [[#b95ed380]] | ret |
2 | 14 | [[#b95ed380]] | result |
2 | 15 | [[#b95ed380]] | result |
2 | 16 | [[#b95ed380]] | result |
2 | 17 | [[#b95ed380]] | fExcludedParameterNames |
2 | 18 | [[#b95ed380]] | elements |
2 | 19 | [[#b95ed380]] | result |
2 | 20 | [[#b95ed380]] | rectangles |
2 | 21 | [[#b95ed380]] | result |
2 | 22 | [[#b95ed380]] | types |
2 | 23 | [[#b95ed380]] | wsIds |
2 | 24 | [[#b95ed380]] | names |
2 | 25 | [[#b95ed380]] | entries |
2 | 26 | [[#b95ed380]] | ret |
2 | 27 | [[#b95ed380]] | elements |
2 | 28 | [[#b95ed380]] | fExcludedVariableNames |
3 | 1 | [[#b95ed320]] | cus |
3 | 2 | [[#b95ed320]] | roots |
3 | 3 | [[#b95ed320]] | bindings |
3 | 4 | [[#b95ed320]] | localCollections |
3 | 5 | [[#b95ed320]] | childrenOfInterest |
3 | 6 | [[#b95ed320]] | fConnectors |
3 | 7 | [[#b95ed320]] | fVMTypes |
3 | 8 | [[#b95ed320]] | fLibraries |
3 | 9 | [[#b95ed320]] | bootEntriesPrep |
3 | 10 | [[#b95ed320]] | typeParameters |
3 | 11 | [[#b95ed320]] | iterables |
3 | 12 | [[#b95ed320]] | localArrays |
3 | 13 | [[#b95ed320]] | localArrays |
3 | 14 | [[#b95ed320]] | projects |
3 | 15 | [[#b95ed320]] | projects |
3 | 16 | [[#b95ed320]] | fArguments |
3 | 17 | [[#b95ed320]] | bindings |
3 | 18 | [[#b95ed320]] | fOccurrences |
3 | 19 | [[#b95ed320]] | infos |
3 | 20 | [[#b95ed320]] | items |
3 | 21 | [[#b95ed320]] | sets |
3 | 22 | [[#b95ed320]] | fListeners |
3 | 23 | [[#b95ed320]] | workingSets |
3 | 24 | [[#b95ed320]] | varsBefore |
3 | 25 | [[#b95ed320]] | children |
3 | 26 | [[#b95ed320]] | localCollections |
3 | 27 | [[#b95ed320]] | roots |
3 | 28 | [[#b95ed320]] | bindings |
4 | 1 | [[#b95ed2c0]] | getResource |
4 | 2 | [[#b95ed2c0]] | getData |
4 | 3 | [[#b95ed2c0]] | getName |
4 | 4 | [[#b95ed2c0]] | getName |
4 | 5 | [[#b95ed2c0]] | getCorrespondingResource |
4 | 6 | [[#b95ed2c0]] | getName |
4 | 7 | [[#b95ed2c0]] | getName |
4 | 8 | [[#b95ed2c0]] | toLibraryLocation |
4 | 9 | [[#b95ed2c0]] | getLocation |
4 | 10 | [[#b95ed2c0]] | getElementName |
4 | 11 | [[#b95ed2c0]] | getMemberTypeNames |
4 | 12 | [[#b95ed2c0]] | getMemberTypeNames |
4 | 13 | [[#b95ed2c0]] | getName |
4 | 14 | [[#b95ed2c0]] | getProject |
4 | 15 | [[#b95ed2c0]] | getElementName |
4 | 16 | [[#b95ed2c0]] | getType |
4 | 17 | [[#b95ed2c0]] | getName |
4 | 18 | [[#b95ed2c0]] | getCompilationUnit |
4 | 19 | [[#b95ed2c0]] | getMember |
4 | 20 | [[#b95ed2c0]] | getBounds |
4 | 21 | [[#b95ed2c0]] | getName |
4 | 22 | [[#b95ed2c0]] | getTransfer |
4 | 23 | [[#b95ed2c0]] | getName |
4 | 24 | [[#b95ed2c0]] | getName |
4 | 25 | [[#b95ed2c0]] | getClasspathEntry |
4 | 26 | [[#b95ed2c0]] | getName |
4 | 27 | [[#b95ed2c0]] | getData |
4 | 28 | [[#b95ed2c0]] | getName |