Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.957 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 55 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/DemuxOutputTask.java |
2 | 8 | 65 | 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; } |
| |||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#101369c0]] | handleOutput |
1 | 2 | [[#101369c0]] | handleErrorOutput |
2 | 1 | [[#10136920]] | randomOutValue |
2 | 2 | [[#10136920]] | randomErrValue |
3 | 1 | [[#10136820]] | outputReceived |
3 | 2 | [[#10136820]] | errorReceived |