Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 4 | 0.953 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 793 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java |
2 | 5 | 327 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java |
3 | 5 | 769 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameTypeWizardSimilarElementsPage.java |
| ||||
for (int i = 0; i < allMatches.length; i++) { if (canReplace(allMatches[i])) result.add(allMatches[i]); } return (IASTFragment[]) result.toArray(new IASTFragment[result.size()]); |
| ||||
for (int i = 0; i < allMatches.length; i++) { if (canReplace(allMatches[i])) result.add(allMatches[i]); } return (IASTFragment[]) result.toArray(new IASTFragment[result.size()]); |
| ||||
for (int i = 0; i < checked.length; i++) { if (isSimilarElement(checked[i])) elements.add(checked[i]); } return (IJavaElement[]) elements.toArray(new IJavaElement[elements.size()]); |
| |||
for (int i = 0; i < [[#variablebc647d60]].length; i++) { if ( [[#variablebc646c40]]( [[#variablebc647d60]][i])) [[#variablebc647c80]].add( [[#variablebc647d60]][i]); } return ( [[#variablebc647c20]][]) [[#variablebc647c80]].toArray(new [[#variablebc647c20]][ [[#variablebc647c80]].size()]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bc647d60]] | allMatches |
1 | 2 | [[#bc647d60]] | checked |
1 | 3 | [[#bc647d60]] | allMatches |
2 | 1 | [[#bc646c40]] | canReplace |
2 | 2 | [[#bc646c40]] | isSimilarElement |
2 | 3 | [[#bc646c40]] | canReplace |
3 | 1 | [[#bc647c80]] | result |
3 | 2 | [[#bc647c80]] | elements |
3 | 3 | [[#bc647c80]] | result |
4 | 1 | [[#bc647c20]] | IASTFragment |
4 | 2 | [[#bc647c20]] | IJavaElement |
4 | 3 | [[#bc647c20]] | IASTFragment |