Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 4 | 0.951 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 2282 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java |
2 | 2 | 875 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/index/DiskIndex.java |
3 | 2 | 879 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/index/DiskIndex.java |
4 | 2 | 883 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/index/DiskIndex.java |
| ||||
for (int i = 0; i < strlen; i++) out.write(str[i]); |
| ||||
for (int i = 0; i < length; i++) stream.writeByte(documentNumbers[i]); |
| ||||
for (int i = 0; i < length; i++) stream.writeShort(documentNumbers[i]); |
| ||||
for (int i = 0; i < length; i++) stream.writeInt(documentNumbers[i]); |
| |||
for (int i = 0; i < [[#variable9efbc2e0]]; i++) [[#variable9efbc260]]. [[#variable9efbc1e0]]( [[#variable9efbc140]][i]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9efbc2e0]] | strlen |
1 | 2 | [[#9efbc2e0]] | length |
1 | 3 | [[#9efbc2e0]] | length |
1 | 4 | [[#9efbc2e0]] | length |
2 | 1 | [[#9efbc260]] | out |
2 | 2 | [[#9efbc260]] | stream |
2 | 3 | [[#9efbc260]] | stream |
2 | 4 | [[#9efbc260]] | stream |
3 | 1 | [[#9efbc1e0]] | write |
3 | 2 | [[#9efbc1e0]] | writeInt |
3 | 3 | [[#9efbc1e0]] | writeShort |
3 | 4 | [[#9efbc1e0]] | writeByte |
4 | 1 | [[#9efbc140]] | str |
4 | 2 | [[#9efbc140]] | documentNumbers |
4 | 3 | [[#9efbc140]] | documentNumbers |
4 | 4 | [[#9efbc140]] | documentNumbers |