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.971 | statement_sequence[8] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 85 | E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/base/ColorItem.java |
2 | 11 | 257 | E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/tagging/EditTagDialog.java |
| |||||
BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); Graphics2D graphics = (Graphics2D) image.getGraphics(); graphics.setColor(Color.black); graphics.drawRect(1, 1, width - 3, height - 3); graphics.setColor(color); graphics.fillRect(2, 2, width - 4, height - 4); graphics.dispose(); return new ImageIcon(image); |
| |||||
BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); Graphics2D graphics = (Graphics2D) image.getGraphics(); graphics.setColor(color.darker()); graphics.drawRect(1, 1, width - 3, height - 3); graphics.setColor(color); graphics.fillRect(2, 2, width - 4, height - 4); graphics.dispose(); return new ImageIcon(image); |
| |||
BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); Graphics2D graphics = (Graphics2D) image.getGraphics(); graphics.setColor( [[#variable13229600]] [[#variable132202a0]]); graphics.drawRect(1, 1, width - 3, height - 3); graphics.setColor(color); graphics.fillRect(2, 2, width - 4, height - 4); graphics.dispose(); return new ImageIcon(image); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13229600]] | Color |
1 | 2 | [[#13229600]] | color |
2 | 1 | [[#132202a0]] | .black |
2 | 2 | [[#132202a0]] | .darker() |