Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.965 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 112 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/DefaultSpellChecker.java |
2 | 4 | 178 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/SpellCheckIterator.java |
| ||||
for (int index = 0; index < URL_PREFIXES.length; index++) { if (word.startsWith(URL_PREFIXES[index])) return true; } |
| ||||
for (int index = 0; index < tags.length; index++) { if (fLastToken.equals(tags[index])) return true; } |
| |||
for (int index = 0; index < [[#variable60b5f4c0]].length; index++) { if ( [[#variable60b5ec20]]. [[#variable60b5f580]]( [[#variable60b5f4c0]][index])) return true; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#60b5f4c0]] | tags |
1 | 2 | [[#60b5f4c0]] | URL_PREFIXES |
2 | 1 | [[#60b5ec20]] | fLastToken |
2 | 2 | [[#60b5ec20]] | word |
3 | 1 | [[#60b5f580]] | equals |
3 | 2 | [[#60b5f580]] | startsWith |