CloneSet306


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8230.957method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1855
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/DemuxOutputTask.java
2865
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/DemuxOutputTask.java
Next
Last
Clone Instance
1
Line Count
8
Source Line
55
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/DemuxOutputTask.java

protected void handleOutput(String line) {
  line = line.trim();
  if (line.length() != 0 && !line.equals(randomOutValue)) {
    String message = "Received = [" + line + "], expected = [" + randomOutValue + "]";
    throw new BuildException(message);
  }
  outputReceived = true;
}


First
Previous
Clone Instance
2
Line Count
8
Source Line
65
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/DemuxOutputTask.java

protected void handleErrorOutput(String line) {
  line = line.trim();
  if (line.length() != 0 && !line.equals(randomErrValue)) {
    String message = "Received = [" + line + "], expected = [" + randomErrValue + "]";
    throw new BuildException(message);
  }
  errorReceived = true;
}


Clone AbstractionParameter Count: 3Parameter Bindings

protected void [[#variable101369c0]](String line) {
  line = line.trim();
  if (line.length() != 0 && !line.equals( [[#variable10136920]])) {
    String message = "Received = [" + line + "], expected = [" +  [[#variable10136920]] + "]";
    throw new BuildException(message);
  }
   [[#variable10136820]]= true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#101369c0]]
handleOutput 
12[[#101369c0]]
handleErrorOutput 
21[[#10136920]]
randomOutValue 
22[[#10136920]]
randomErrValue 
31[[#10136820]]
outputReceived 
32[[#10136820]]
errorReceived