Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.987 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 21 | E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/test/java/org/columba/core/io/StreamCacheTest.java |
2 | 8 | 55 | E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/test/java/org/columba/core/io/StreamCacheTest.java |
| |||||
InputStream in = cache.passiveAdd("test1", new ByteArrayInputStream(random)); byte[] test = new byte[1000]; in.read(test); in.close(); assertEquals(1000, cache.getActSize()); |
| |||||
InputStream in = cache.passiveAdd("test1", new ByteArrayInputStream(random1)); byte[] test = new byte[1000]; in.read(test); in.close(); assertEquals(1000, cache.getActSize()); |
| |||
InputStream in = cache.passiveAdd("test1", new ByteArrayInputStream( [[#variable130815e0]])); byte[] test = new byte[1000]; in.read(test); in.close(); assertEquals(1000, cache.getActSize()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130815e0]] | random |
1 | 2 | [[#130815e0]] | random1 |