Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 3 | 0.958 | statement_sequence[8] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 90 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/zip/ZipEntryTest.java |
2 | 11 | 104 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/zip/ZipEntryTest.java |
| |||||
assertEquals(0, ze.getPlatform()); ze.setUnixMode(0755); assertEquals(3, ze.getPlatform()); assertEquals(0755, (ze.getExternalAttributes() >> 16)&0xffff); assertEquals(0, ze.getExternalAttributes()&0xffff); ze.setUnixMode(0444); assertEquals(3, ze.getPlatform()); assertEquals(0444, (ze.getExternalAttributes() >> 16)&0xffff); |
| |||||
assertEquals(0, ze.getPlatform()); ze.setUnixMode(0777); assertEquals(3, ze.getPlatform()); assertEquals(0777, (ze.getExternalAttributes() >> 16)&0xffff); assertEquals(0x10, ze.getExternalAttributes()&0xffff); ze.setUnixMode(0577); assertEquals(3, ze.getPlatform()); assertEquals(0577, (ze.getExternalAttributes() >> 16)&0xffff); |
| |||
assertEquals(0, ze.getPlatform()); ze.setUnixMode( [[#variable111e8620]]); assertEquals(3, ze.getPlatform()); assertEquals( [[#variable111e8620]], (ze.getExternalAttributes() >> 16)&0xffff); assertEquals( [[#variable111e3420]], ze.getExternalAttributes()&0xffff); ze.setUnixMode( [[#variable111e3460]]); assertEquals(3, ze.getPlatform()); assertEquals( [[#variable111e3460]], (ze.getExternalAttributes() >> 16)&0xffff); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#111e8620]] | 0755 |
1 | 2 | [[#111e8620]] | 0777 |
2 | 1 | [[#111e3420]] | 0 |
2 | 2 | [[#111e3420]] | 0x10 |
3 | 1 | [[#111e3460]] | 0444 |
3 | 2 | [[#111e3460]] | 0577 |