Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 2 | 0.964 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 146 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/image/Image.java |
2 | 10 | 36 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/optional/image/ImageOperation.java |
| |||||
/** * Add a Rotate ImageOperation to the chain. * @param instr The Rotate operation to add to the chain. * @see org.apache.tools.ant.types.optional.image.Rotate */ public void addRotate(Rotate instr) { instructions.add(instr); } /** * Add a Scale ImageOperation to the chain. * @param instr The Scale operation to add to the chain. * @see org.apache.tools.ant.types.optional.image.Scale */ public void addScale(Scale instr) { instructions.add(instr); } |
| |||||
// CheckStyle:VisibilityModifier ON /** * Add a rotate to the operation. * @param instr the rotate to add. */ public void addRotate(Rotate instr) { instructions.add(instr); } /** * Add a draw to the operation. * @param instr the draw to add. */ public void addDraw(Draw instr) { instructions.add(instr); } |
| |||
/** * Add a Rotate ImageOperation to the chain. * @param instr The Rotate operation to add to the chain. * @see org.apache.tools.ant.types.optional.image.Rotate */ // CheckStyle:VisibilityModifier ON /** * Add a rotate to the operation. * @param instr the rotate to add. */ public void addRotate(Rotate instr) { instructions.add(instr); } /** * Add a Scale ImageOperation to the chain. * @param instr The Scale operation to add to the chain. * @see org.apache.tools.ant.types.optional.image.Scale */ /** * Add a draw to the operation. * @param instr the draw to add. */ public void [[#variable13049720]]( [[#variable130495a0]] instr) { instructions.add(instr); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13049720]] | addScale |
1 | 2 | [[#13049720]] | addDraw |
2 | 1 | [[#130495a0]] | Scale |
2 | 2 | [[#130495a0]] | Draw |