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.968 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 250 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackagerUtil.java |
2 | 4 | 207 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarWriter2.java |
| ||||
{ while ((count = stream.read(buffer, 0, buffer.length)) != -1) { crc.update(buffer, 0, count); size += count; } } |
| ||||
{ while ((count = contentStream.read(readBuffer, 0, readBuffer.length)) != -1) { checksumCalculator.update(readBuffer, 0, count); size += count; } } |
| |||
{ while ((count = [[#variablea1208880]].read( [[#variablea1208800]], 0, [[#variablea1208800]].length)) != -1) { [[#variablea1208760]].update( [[#variablea1208800]], 0, count); size += count; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a1208880]] | contentStream |
1 | 2 | [[#a1208880]] | stream |
2 | 1 | [[#a1208800]] | readBuffer |
2 | 2 | [[#a1208800]] | buffer |
3 | 1 | [[#a1208760]] | checksumCalculator |
3 | 2 | [[#a1208760]] | crc |