CloneSet78


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9301.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110325
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/javacc/JavaCC.java
210119
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/javacc/JJDoc.java
39209
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/javacc/JJTree.java
Next
Last
Clone Instance
1
Line Count
10
Source Line
325
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/javacc/JavaCC.java

// load command line with optional attributes
Enumeration iter = optionalAttrs.keys();
while (iter.hasMoreElements()) {
  String name = (String) iter.nextElement();
  Object value = optionalAttrs.get(name);
  cmdl.createArgument().setValue("-" + name + ":" + value.toString());
}
// check the target is a file
if (targetFile == null || !targetFile.isFile()) {
  throw new BuildException("Invalid target: " + targetFile);
}


Next
Previous
Clone Instance
2
Line Count
10
Source Line
119
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/javacc/JJDoc.java

// load command line with optional attributes
Enumeration iter = optionalAttrs.keys();
while (iter.hasMoreElements()) {
  String name = (String) iter.nextElement();
  Object value = optionalAttrs.get(name);
  cmdl.createArgument().setValue("-" + name + ":" + value.toString());
}
if (targetFile == null || !targetFile.isFile()) {
  throw new BuildException("Invalid target: " + targetFile);
}


First
Previous
Clone Instance
3
Line Count
9
Source Line
209
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/javacc/JJTree.java

// load command line with optional attributes
Enumeration iter = optionalAttrs.keys();
while (iter.hasMoreElements()) {
  String name = (String) iter.nextElement();
  Object value = optionalAttrs.get(name);
  cmdl.createArgument().setValue("-" + name + ":" + value.toString());
}
if (targetFile == null || !targetFile.isFile()) {
  throw new BuildException("Invalid target: " + targetFile);
}


Clone AbstractionParameter Count: 0Parameter Bindings

// load command line with optional attributes
Enumeration iter = optionalAttrs.keys();
while (iter.hasMoreElements()) {
  String name = (String) iter.nextElement();
  Object value = optionalAttrs.get(name);
  cmdl.createArgument().setValue("-" + name + ":" + value.toString());
}
// check the target is a file
if (targetFile == null || !targetFile.isFile()) {
  throw new BuildException("Invalid target: " + targetFile);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None