Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.957 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 297 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/filters/ReplaceTokens.java |
2 | 6 | 303 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/filters/ReplaceTokens.java |
| |||||
{ if (value.length() == 0) { throw new BuildException("Begin token cannot " + "be empty"); } beginToken = params[i].getValue().charAt(0); } |
| |||||
{ if (value.length() == 0) { throw new BuildException("End token cannot " + "be empty"); } endToken = params[i].getValue().charAt(0); } |
| |||
{ if (value.length() == 0) { throw new BuildException( [[#variable130c1920]] + "be empty"); } [[#variable130c1880]]= params[i].getValue().charAt(0); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130c1920]] | "Begin token cannot " |
1 | 2 | [[#130c1920]] | "End token cannot " |
2 | 1 | [[#130c1880]] | beginToken |
2 | 2 | [[#130c1880]] | endToken |