Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 5 | 0.958 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 177 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/TypeContextChecker.java |
2 | 2 | 352 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java |
| ||||
for (int i = 0; i < parameterCount; i++) typeNodes[i] = ((SingleVariableDeclaration) parameters.get(i)).getType(); |
| ||||
for (int i = 0; i < patternCount; i++) patterns[i] = ((SearchPatternData) fPreviousSearchPatterns.get(i)).getPattern(); |
| |||
for (int i = 0; i < [[#variable5c7e4d60]]; i++) [[#variable5c7e4ca0]][i] = (( [[#variable5c7e4c00]]) [[#variable5c7e4b80]].get(i)). [[#variable5c7e4b00]](); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5c7e4d60]] | parameterCount |
1 | 2 | [[#5c7e4d60]] | patternCount |
2 | 1 | [[#5c7e4ca0]] | typeNodes |
2 | 2 | [[#5c7e4ca0]] | patterns |
3 | 1 | [[#5c7e4c00]] | SingleVariableDeclaration |
3 | 2 | [[#5c7e4c00]] | SearchPatternData |
4 | 1 | [[#5c7e4b80]] | parameters |
4 | 2 | [[#5c7e4b80]] | fPreviousSearchPatterns |
5 | 1 | [[#5c7e4b00]] | getType |
5 | 2 | [[#5c7e4b00]] | getPattern |