Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.958 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 310 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java |
2 | 4 | 321 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java |
| |||||
/** * A string to wait for from the server. * A subTask <read> tag was found. Create the object, * Save it in our list, and return it. * @return a read sub task */ public RExecSubTask createRead() { RExecSubTask task = (RExecSubTask) new RExecRead(); rexecTasks.addElement(task); return task; } |
| |||||
/** * Add text to send to the server * A subTask <write> tag was found. Create the object, * Save it in our list, and return it. * @return a write sub task */ public RExecSubTask createWrite() { RExecSubTask task = (RExecSubTask) new RExecWrite(); rexecTasks.addElement(task); return task; } |
| |||
/** * Add text to send to the server * A subTask <write> tag was found. Create the object, * Save it in our list, and return it. * @return a write sub task */ /** * A string to wait for from the server. * A subTask <read> tag was found. Create the object, * Save it in our list, and return it. * @return a read sub task */ public RExecSubTask [[#variable130946c0]]() { RExecSubTask task = (RExecSubTask) new [[#variable13094280]](); rexecTasks.addElement(task); return task; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130946c0]] | createRead |
1 | 2 | [[#130946c0]] | createWrite |
2 | 1 | [[#13094280]] | RExecRead |
2 | 2 | [[#13094280]] | RExecWrite |