CloneSet275


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11220.971statement_sequence[8]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11185
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/base/ColorItem.java
211257
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/tagging/EditTagDialog.java
Next
Last
Clone Instance
1
Line Count
11
Source Line
85
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/core/src/main/java/org/columba/core/gui/base/ColorItem.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);


First
Previous
Clone Instance
2
Line Count
11
Source Line
257
Source File
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.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);


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#13229600]]
Color 
12[[#13229600]]
color 
21[[#132202a0]]
.black 
22[[#132202a0]]
.darker()