Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.962 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 541 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/DialPlot.java |
2 | 9 | 587 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/dial/DialPlot.java |
| |||||
// draw the background if there is one... if (this.background != null && this.background.isVisible()) { if (this.background.isClippedToWindow()) { Shape savedClip = g2.getClip(); g2.clip(this.dialFrame.getWindow(frame)); this.background.draw(g2, this, frame, area); g2.setClip(savedClip); } else { this.background.draw(g2, this, frame, area); } } |
| |||||
// draw the cap if there is one... if (this.cap != null && this.cap.isVisible()) { if (this.cap.isClippedToWindow()) { Shape savedClip = g2.getClip(); g2.clip(this.dialFrame.getWindow(frame)); this.cap.draw(g2, this, frame, area); g2.setClip(savedClip); } else { this.cap.draw(g2, this, frame, area); } } |
| |||
// draw the cap if there is one... // draw the background if there is one... if (this. [[#variable18c58c20]]!= null && this. [[#variable18c58c20]].isVisible()) { if (this. [[#variable18c58c20]].isClippedToWindow()) { Shape savedClip = g2.getClip(); g2.clip(this.dialFrame.getWindow(frame)); this. [[#variable18c58c20]].draw(g2, this, frame, area); g2.setClip(savedClip); } else { this. [[#variable18c58c20]].draw(g2, this, frame, area); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18c58c20]] | background |
1 | 2 | [[#18c58c20]] | cap |