Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 5 | 0.952 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 384 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClipboardOperationAction.java |
2 | 3 | 433 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/TreeListDialogField.java |
| ||||
for (int i = 0; i < text.length(); i++) { if ( !Character.isJavaIdentifierPart(text.charAt(i))) { return true; } } |
| ||||
for (int i = 0; i < selected.size(); i++) { if ( !fElements.contains(selected.get(i))) { return true; } } |
| |||
for (int i = 0; i < [[#variable97aee560]]. [[#variable97aee4a0]](); i++) { if ( ! [[#variable97aee3e0]]. [[#variable97aee320]]( [[#variable97aee560]]. [[#variable97aee260]](i))) { return true; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#97aee560]] | text |
1 | 2 | [[#97aee560]] | selected |
2 | 1 | [[#97aee4a0]] | length |
2 | 2 | [[#97aee4a0]] | size |
3 | 1 | [[#97aee3e0]] | Character |
3 | 2 | [[#97aee3e0]] | fElements |
4 | 1 | [[#97aee320]] | isJavaIdentifierPart |
4 | 2 | [[#97aee320]] | contains |
5 | 1 | [[#97aee260]] | charAt |
5 | 2 | [[#97aee260]] | get |