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.962 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 394 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/Strings.java |
2 | 4 | 642 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementLabels.java |
| ||||
for (int i = 0; i < lines.length; i++) { if (i > 0) buffer.append(delimiter); buffer.append(lines[i]); } |
| ||||
for (int i = 0; i < categories.length; i++) { if (i > 0) categoriesBuf.append(CATEGORY_SEPARATOR_STRING); categoriesBuf.append(categories[i]); } |
| |||
for (int i = 0; i < [[#variablea537ed60]].length; i++) { if (i > 0) [[#variablea537ed00]].append( [[#variablea537ec80]]); [[#variablea537ed00]].append( [[#variablea537ed60]][i]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a537ed60]] | lines |
1 | 2 | [[#a537ed60]] | categories |
2 | 1 | [[#a537ed00]] | buffer |
2 | 2 | [[#a537ed00]] | categoriesBuf |
3 | 1 | [[#a537ec80]] | delimiter |
3 | 2 | [[#a537ec80]] | CATEGORY_SEPARATOR_STRING |