CloneSet870


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.957statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1853
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/spi/Provider.java
28109
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/spi/Service.java
Next
Last
Clone Instance
1
Line Count
8
Source Line
53
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/spi/Provider.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());
}


First
Previous
Clone Instance
2
Line Count
8
Source Line
109
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/spi/Service.java

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


Clone AbstractionParameter Count: 2Parameter Bindings

if (type == null) {
  throw new BuildException( [[#variable130eca60]], getLocation());
}
if (type.length() == 0) {
  throw new BuildException( [[#variable130ecc40]], getLocation());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#130eca60]]
"classname attribute must be set for provider element" 
12[[#130eca60]]
"type attribute must be set for service element" 
21[[#130ecc40]]
"Invalid empty classname" 
22[[#130ecc40]]
"Invalid empty type classname"