Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 20 | 3 | 0.958 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 288 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/SourceLookupBlock.java |
2 | 2 | 197 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/ScrapbookLauncher.java |
3 | 2 | 209 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java |
4 | 2 | 212 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java |
5 | 2 | 518 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertForLoopOperation.java |
6 | 2 | 521 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertForLoopOperation.java |
7 | 2 | 162 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringScopeFactory.java |
8 | 2 | 179 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringScopeFactory.java |
9 | 2 | 391 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamePackageProcessor.java |
10 | 2 | 55 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/SearchResultGroup.java |
11 | 2 | 428 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java |
12 | 2 | 1368 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java |
13 | 2 | 340 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/SearchScopeActionGroup.java |
14 | 2 | 325 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/OverrideMethodDialog.java |
15 | 2 | 330 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/OverrideMethodDialog.java |
16 | 2 | 129 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AbstractMethodCompletionProposal.java |
17 | 2 | 147 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java |
18 | 2 | 266 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java |
19 | 2 | 770 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AnnotationExpansionControl.java |
20 | 2 | 114 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/ProjectTemplateStore.java |
| ||||
for (int i = 0; i < entries.length; i++) { mementos.add(entries[i].getMemento()); } |
| ||||
for (int i = 0; i < classPath.length; i++) { classpathList.add(classPath[i].getMemento()); } |
| ||||
for (int i = 0; i < varsBefore.length; i++) { names.add(varsBefore[i].getName()); } |
| ||||
for (int i = 0; i < varsAfter.length; i++) { names.add(varsAfter[i].getName()); } |
| ||||
for (int i = 0; i < varsBefore.length; i++) { names.add(varsBefore[i].getName()); } |
| ||||
for (int i = 0; i < varsAfter.length; i++) { names.add(varsAfter[i].getName()); } |
| ||||
for (int i = 0; i < javaElements.length; i++) { projects.add(javaElements[i].getJavaProject()); } |
| ||||
for (int i = 0; i < javaElements.length; i++) { projects.add(javaElements[i].getJavaProject()); } |
| ||||
for (int i = 0; i < types.length; i++) { result.add(types[i].getElementName()); } |
| ||||
for (int i = 0; i < searchResultGroups.length; i++) { resourceSet.add(searchResultGroups[i].getResource()); } |
| ||||
for (int i = 0; i < fields.length; i++) { result.add(fields[i].getElementName()); } |
| ||||
for (int i = 0; i < allSubtypes.length; i++) { result.add(allSubtypes[i].getCompilationUnit()); } |
| ||||
for (int i = 0; i < workingSets.length; i++) { workingSetNames.add(workingSets[i].getName()); } |
| ||||
for (int i = 0; i < toImplementArray.length; i++) { expanded.add(toImplementArray[i].getDeclaringClass()); } |
| ||||
for (int i = 0; i < overridable.length; i++) { types.add(overridable[i].getDeclaringClass()); } |
| ||||
for (int i = 0; i < declaredFields.length; i++) { // avoid to take parameter names that are equal to field names takenNames.add(declaredFields[i].getName()); } |
| ||||
for (int i = 0; i < declaredFields.length; i++) { // avoid to take parameter names that are equal to field names usedNames.add(declaredFields[i].getName()); } |
| ||||
for (int i = 0; i < bindings.length; i++) { usedNames.add(bindings[i].getName()); } |
| ||||
for (int i = 0; i < ranges.length; i++) { undoRanges.add(ranges[i].clone()); } |
| ||||
for (int i = 0; i < data.length; i++) { datas.add(data[i].getId()); } |
| |||
for (int i = 0; i < [[#variablebabd0aa0]].length; i++) { // avoid to take parameter names that are equal to field names [[#variablebabd0a40]].add( [[#variablebabd0aa0]][i]. [[#variablebabd0920]]()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#babd0aa0]] | varsBefore |
1 | 2 | [[#babd0aa0]] | javaElements |
1 | 3 | [[#babd0aa0]] | varsAfter |
1 | 4 | [[#babd0aa0]] | entries |
1 | 5 | [[#babd0aa0]] | classPath |
1 | 6 | [[#babd0aa0]] | types |
1 | 7 | [[#babd0aa0]] | searchResultGroups |
1 | 8 | [[#babd0aa0]] | fields |
1 | 9 | [[#babd0aa0]] | allSubtypes |
1 | 10 | [[#babd0aa0]] | workingSets |
1 | 11 | [[#babd0aa0]] | overridable |
1 | 12 | [[#babd0aa0]] | toImplementArray |
1 | 13 | [[#babd0aa0]] | declaredFields |
1 | 14 | [[#babd0aa0]] | bindings |
1 | 15 | [[#babd0aa0]] | declaredFields |
1 | 16 | [[#babd0aa0]] | ranges |
1 | 17 | [[#babd0aa0]] | data |
1 | 18 | [[#babd0aa0]] | varsAfter |
1 | 19 | [[#babd0aa0]] | varsBefore |
1 | 20 | [[#babd0aa0]] | javaElements |
2 | 1 | [[#babd0a40]] | names |
2 | 2 | [[#babd0a40]] | projects |
2 | 3 | [[#babd0a40]] | names |
2 | 4 | [[#babd0a40]] | mementos |
2 | 5 | [[#babd0a40]] | classpathList |
2 | 6 | [[#babd0a40]] | result |
2 | 7 | [[#babd0a40]] | resourceSet |
2 | 8 | [[#babd0a40]] | result |
2 | 9 | [[#babd0a40]] | result |
2 | 10 | [[#babd0a40]] | workingSetNames |
2 | 11 | [[#babd0a40]] | types |
2 | 12 | [[#babd0a40]] | expanded |
2 | 13 | [[#babd0a40]] | takenNames |
2 | 14 | [[#babd0a40]] | usedNames |
2 | 15 | [[#babd0a40]] | usedNames |
2 | 16 | [[#babd0a40]] | undoRanges |
2 | 17 | [[#babd0a40]] | datas |
2 | 18 | [[#babd0a40]] | names |
2 | 19 | [[#babd0a40]] | names |
2 | 20 | [[#babd0a40]] | projects |
3 | 1 | [[#babd0920]] | getName |
3 | 2 | [[#babd0920]] | getJavaProject |
3 | 3 | [[#babd0920]] | getName |
3 | 4 | [[#babd0920]] | getMemento |
3 | 5 | [[#babd0920]] | getMemento |
3 | 6 | [[#babd0920]] | getElementName |
3 | 7 | [[#babd0920]] | getResource |
3 | 8 | [[#babd0920]] | getElementName |
3 | 9 | [[#babd0920]] | getCompilationUnit |
3 | 10 | [[#babd0920]] | getName |
3 | 11 | [[#babd0920]] | getDeclaringClass |
3 | 12 | [[#babd0920]] | getDeclaringClass |
3 | 13 | [[#babd0920]] | getName |
3 | 14 | [[#babd0920]] | getName |
3 | 15 | [[#babd0920]] | getName |
3 | 16 | [[#babd0920]] | clone |
3 | 17 | [[#babd0920]] | getId |
3 | 18 | [[#babd0920]] | getName |
3 | 19 | [[#babd0920]] | getName |
3 | 20 | [[#babd0920]] | getJavaProject |