CloneSet194


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11230.958statement_sequence[8]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11190
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/zip/ZipEntryTest.java
211104
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/zip/ZipEntryTest.java
Next
Last
Clone Instance
1
Line Count
11
Source Line
90
Source File
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);


First
Previous
Clone Instance
2
Line Count
11
Source Line
104
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/zip/ZipEntryTest.java

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);


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#111e8620]]
0755 
12[[#111e8620]]
0777 
21[[#111e3420]]
0 
22[[#111e3420]]
0x10 
31[[#111e3460]]
0444 
32[[#111e3460]]
0577