Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.974 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 183 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/SignatureUtil.java |
2 | 5 | 104 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/flow/FlowContext.java |
| ||||
for (int i = 0; i < signature.length; i++) { if (signature[i] == ch) return i; } return -1; |
| ||||
for (int i = 0; i < fLocals.length; i++) { if (fLocals[i] == local) return i; } return -1; |
| |||
for (int i = 0; i < [[#variable5d6d79c0]].length; i++) { if ( [[#variable5d6d79c0]][i] == [[#variable5d6d7960]]) return i; } return -1; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5d6d79c0]] | fLocals |
1 | 2 | [[#5d6d79c0]] | signature |
2 | 1 | [[#5d6d7960]] | local |
2 | 2 | [[#5d6d7960]] | ch |