Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 25 | 3 | 0.960 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 520 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/model/TestRunSession.java |
2 | 2 | 744 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JavaModelUtil.java |
3 | 2 | 69 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/TextChangeCompatibility.java |
4 | 2 | 837 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java |
5 | 2 | 217 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/flow/FlowInfo.java |
6 | 2 | 622 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsTCModel.java |
7 | 2 | 90 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSScanner.java |
8 | 2 | 88 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaElementTransfer.java |
9 | 2 | 131 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/NLSSearchResult.java |
10 | 2 | 225 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/CopyToClipboardAction.java |
11 | 2 | 89 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/TypedSourceTransfer.java |
12 | 2 | 189 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResult.java |
13 | 2 | 122 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchResultUpdater.java |
14 | 2 | 144 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/SearchResultUpdater.java |
15 | 2 | 249 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AssignToVariableAssistProposal.java |
16 | 2 | 196 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewMethodCompletionProposal.java |
17 | 2 | 240 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewMethodCompletionProposal.java |
18 | 2 | 419 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java |
19 | 2 | 439 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java |
20 | 2 | 131 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/RemoveDeclarationCorrectionProposal.java |
21 | 2 | 159 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeChangeCompletionProposal.java |
22 | 2 | 161 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/JavaWorkingSetUpdater.java |
23 | 2 | 166 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/JavaWorkingSetUpdater.java |
24 | 2 | 196 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/JavaWorkingSetUpdater.java |
25 | 2 | 119 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/OthersWorkingSetUpdater.java |
| ||||
for (int i = 0; i < children.length; i++) { addFailures(failures, children[i]); } |
| ||||
for (int i = 0; i < javaElements.length; i++) { addAllCus(result, javaElements[i]); } |
| ||||
for (int i = 0; i < edits.length; i++) { insert(root, edits[i]); } |
| ||||
for (int i = 0; i < methodLocals.length; i++) { processVariable(result, methodLocals[i]); } |
| ||||
for (int i = 0; i < exceptions.length; i++) { handleException(catchClauses, exceptions[i]); } |
| ||||
for (int i = 0; i < interfaces.length; i++) { makeSupertypeElementVariables(expressionCv, interfaces[i]); } |
| ||||
for (int i = 0; i < result.length; i++) { setTagPositions(document, result[i]); } |
| ||||
//write each element for (int i = 0; i < javaElements.length; i++) { writeJavaElement(dataOut, javaElements[i]); } |
| ||||
for (int i = 0; i < children.length; i++) { collectMatches(matches, children[i]); } |
| ||||
for (int i = 0; i < resources.length; i++) { addFileName(fileName, resources[i]); } |
| ||||
for (int i = 0; i < sources.length; i++) { writeJavaElement(dataOut, sources[i]); } |
| ||||
for (int i = 0; i < children.length; i++) { collectMatches(matches, children[i]); } |
| ||||
for (int i = 0; i < resourceDeltas.length; i++) { collectRemovals(removedElements, resourceDeltas[i]); } |
| ||||
for (int i = 0; i < children.length; i++) { collectRemovals(removals, children[i]); } |
| ||||
for (int i = 0; i < proposals.length; i++) { addLinkedPositionProposal(KEY_TYPE, proposals[i]); } |
| ||||
for (int i = 0; i < otherProposals.length; i++) { addLinkedPositionProposal(KEY_TYPE, otherProposals[i]); } |
| ||||
for (int i = 0; i < typeProposals.length; i++) { addLinkedPositionProposal(key, typeProposals[i]); } |
| ||||
for (int i = 0; i < bindings.length; i++) { addLinkedPositionProposal(KEY_TYPE, bindings[i]); } |
| ||||
for (int i = 0; i < typeProposals.length; i++) { addLinkedPositionProposal(KEY_TYPE, typeProposals[i]); } |
| ||||
for (int i = 0; i < references.length; i++) { removeVariableReferences(rewrite, references[i]); } |
| ||||
for (int i = 0; i < typeProposals.length; i++) { addLinkedPositionProposal(KEY_TYPE, typeProposals[i]); } |
| ||||
for (int i = 0; i < resourceDeltas.length; i++) { processResourceDelta(result, resourceDeltas[i]); } |
| ||||
for (int i = 0; i < children.length; i++) { processJavaDelta(result, children[i]); } |
| ||||
for (int i = 0; i < children.length; i++) { processResourceDelta(result, children[i]); } |
| ||||
for (int i = 0; i < children.length; i++) { processJavaDelta(elements, children[i]); } |
| |||
//write each element for (int i = 0; i < [[#variableb9f53860]].length; i++) { [[#variableb9f537e0]]( [[#variableb9f53700]], [[#variableb9f53860]][i]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b9f53860]] | children |
1 | 2 | [[#b9f53860]] | typeProposals |
1 | 3 | [[#b9f53860]] | children |
1 | 4 | [[#b9f53860]] | javaElements |
1 | 5 | [[#b9f53860]] | edits |
1 | 6 | [[#b9f53860]] | methodLocals |
1 | 7 | [[#b9f53860]] | exceptions |
1 | 8 | [[#b9f53860]] | interfaces |
1 | 9 | [[#b9f53860]] | result |
1 | 10 | [[#b9f53860]] | javaElements |
1 | 11 | [[#b9f53860]] | children |
1 | 12 | [[#b9f53860]] | resourceDeltas |
1 | 13 | [[#b9f53860]] | proposals |
1 | 14 | [[#b9f53860]] | typeProposals |
1 | 15 | [[#b9f53860]] | otherProposals |
1 | 16 | [[#b9f53860]] | bindings |
1 | 17 | [[#b9f53860]] | references |
1 | 18 | [[#b9f53860]] | children |
1 | 19 | [[#b9f53860]] | children |
1 | 20 | [[#b9f53860]] | resourceDeltas |
1 | 21 | [[#b9f53860]] | children |
1 | 22 | [[#b9f53860]] | resources |
1 | 23 | [[#b9f53860]] | sources |
1 | 24 | [[#b9f53860]] | typeProposals |
1 | 25 | [[#b9f53860]] | children |
2 | 1 | [[#b9f537e0]] | collectMatches |
2 | 2 | [[#b9f537e0]] | addLinkedPositionProposal |
2 | 3 | [[#b9f537e0]] | addFailures |
2 | 4 | [[#b9f537e0]] | addAllCus |
2 | 5 | [[#b9f537e0]] | insert |
2 | 6 | [[#b9f537e0]] | processVariable |
2 | 7 | [[#b9f537e0]] | handleException |
2 | 8 | [[#b9f537e0]] | makeSupertypeElementVariables |
2 | 9 | [[#b9f537e0]] | setTagPositions |
2 | 10 | [[#b9f537e0]] | writeJavaElement |
2 | 11 | [[#b9f537e0]] | collectRemovals |
2 | 12 | [[#b9f537e0]] | collectRemovals |
2 | 13 | [[#b9f537e0]] | addLinkedPositionProposal |
2 | 14 | [[#b9f537e0]] | addLinkedPositionProposal |
2 | 15 | [[#b9f537e0]] | addLinkedPositionProposal |
2 | 16 | [[#b9f537e0]] | addLinkedPositionProposal |
2 | 17 | [[#b9f537e0]] | removeVariableReferences |
2 | 18 | [[#b9f537e0]] | processResourceDelta |
2 | 19 | [[#b9f537e0]] | processJavaDelta |
2 | 20 | [[#b9f537e0]] | processResourceDelta |
2 | 21 | [[#b9f537e0]] | processJavaDelta |
2 | 22 | [[#b9f537e0]] | addFileName |
2 | 23 | [[#b9f537e0]] | writeJavaElement |
2 | 24 | [[#b9f537e0]] | addLinkedPositionProposal |
2 | 25 | [[#b9f537e0]] | collectMatches |
3 | 1 | [[#b9f53700]] | matches |
3 | 2 | [[#b9f53700]] | KEY_TYPE |
3 | 3 | [[#b9f53700]] | failures |
3 | 4 | [[#b9f53700]] | result |
3 | 5 | [[#b9f53700]] | root |
3 | 6 | [[#b9f53700]] | result |
3 | 7 | [[#b9f53700]] | catchClauses |
3 | 8 | [[#b9f53700]] | expressionCv |
3 | 9 | [[#b9f53700]] | document |
3 | 10 | [[#b9f53700]] | dataOut |
3 | 11 | [[#b9f53700]] | removals |
3 | 12 | [[#b9f53700]] | removedElements |
3 | 13 | [[#b9f53700]] | KEY_TYPE |
3 | 14 | [[#b9f53700]] | key |
3 | 15 | [[#b9f53700]] | KEY_TYPE |
3 | 16 | [[#b9f53700]] | KEY_TYPE |
3 | 17 | [[#b9f53700]] | rewrite |
3 | 18 | [[#b9f53700]] | result |
3 | 19 | [[#b9f53700]] | result |
3 | 20 | [[#b9f53700]] | result |
3 | 21 | [[#b9f53700]] | elements |
3 | 22 | [[#b9f53700]] | fileName |
3 | 23 | [[#b9f53700]] | dataOut |
3 | 24 | [[#b9f53700]] | KEY_TYPE |
3 | 25 | [[#b9f53700]] | matches |