Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.950 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 189 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/BuildNumber.java |
2 | 3 | 194 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/BuildNumber.java |
| |||||
if ( !myFile.canRead()) { final String message = "Unable to read from " + myFile + "."; throw new BuildException(message); } |
| |||||
if ( !myFile.canWrite()) { final String message = "Unable to write to " + myFile + "."; throw new BuildException(message); } |
| |||
if ( !myFile. [[#variable11225ce0]]()) { final String message = [[#variable11225c80]] + myFile + "."; throw new BuildException(message); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#11225ce0]] | canRead |
1 | 2 | [[#11225ce0]] | canWrite |
2 | 1 | [[#11225c80]] | "Unable to read from " |
2 | 2 | [[#11225c80]] | "Unable to write to " |