Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 2 | 0.988 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 297 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/StringMatcher.java |
2 | 15 | 368 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/StringMatcher.java |
| ||||
int max = end - fLength; if ( !fIgnoreCase) { int i = text.indexOf(fPattern, start); if (i == -1 || i > max) return -1; return i; } for (int i = start; i <= max; ++i) { if (text.regionMatches(true, i, fPattern, 0, fLength)) return i; } return -1; |
| ||||
int max = end - plen; if ( !fIgnoreCase) { int i = text.indexOf(p, start); if (i == -1 || i > max) return -1; return i; } for (int i = start; i <= max; ++i) { if (text.regionMatches(true, i, p, 0, plen)) return i; } return -1; |
| |||
int max = end - [[#variableb204c5c0]]; if ( !fIgnoreCase) { int i = text.indexOf( [[#variable97b20f20]], start); if (i == -1 || i > max) return -1; return i; } for (int i = start; i <= max; ++i) { if (text.regionMatches(true, i, [[#variable97b20f20]], 0, [[#variableb204c5c0]])) return i; } return -1; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b204c5c0]] | plen |
1 | 2 | [[#b204c5c0]] | fLength |
2 | 1 | [[#97b20f20]] | p |
2 | 2 | [[#97b20f20]] | fPattern |