Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.957 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 53 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/spi/Provider.java |
2 | 8 | 109 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/spi/Service.java |
| |||||
if (type == null) { throw new BuildException("classname attribute must be set for provider element", getLocation()); } if (type.length() == 0) { throw new BuildException("Invalid empty classname", getLocation()); } |
| |||||
if (type == null) { throw new BuildException("type attribute must be set for service element", getLocation()); } if (type.length() == 0) { throw new BuildException("Invalid empty type classname", getLocation()); } |
| |||
if (type == null) { throw new BuildException( [[#variable130eca60]], getLocation()); } if (type.length() == 0) { throw new BuildException( [[#variable130ecc40]], getLocation()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130eca60]] | "classname attribute must be set for provider element" |
1 | 2 | [[#130eca60]] | "type attribute must be set for service element" |
2 | 1 | [[#130ecc40]] | "Invalid empty classname" |
2 | 2 | [[#130ecc40]] | "Invalid empty type classname" |