CloneSet431


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11230.963block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111834
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/ValueAxis.java
211877
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/ValueAxis.java
Next
Last
Clone Instance
1
Line Count
11
Source Line
834
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/ValueAxis.java

{
  FontMetrics fm = g2.getFontMetrics(font);
  Iterator iterator = ticks.iterator();
  while (iterator.hasNext()) {
    Tick tick = (Tick) iterator.next();
    Rectangle2D labelBounds = TextUtilities.getTextBounds(tick.getText(), g2, fm);
    if (labelBounds.getWidth() + insets.getTop() + insets.getBottom() > maxHeight) {
      maxHeight = labelBounds.getWidth() + insets.getTop() + insets.getBottom();
    }
  }
}


First
Previous
Clone Instance
2
Line Count
11
Source Line
877
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/ValueAxis.java

{
  FontMetrics fm = g2.getFontMetrics(font);
  Iterator iterator = ticks.iterator();
  while (iterator.hasNext()) {
    Tick tick = (Tick) iterator.next();
    Rectangle2D labelBounds = TextUtilities.getTextBounds(tick.getText(), g2, fm);
    if (labelBounds.getWidth() + insets.getLeft() + insets.getRight() > maxWidth) {
      maxWidth = labelBounds.getWidth() + insets.getLeft() + insets.getRight();
    }
  }
}


Clone AbstractionParameter Count: 3Parameter Bindings

{
  FontMetrics fm = g2.getFontMetrics(font);
  Iterator iterator = ticks.iterator();
  while (iterator.hasNext()) {
    Tick tick = (Tick) iterator.next();
    Rectangle2D labelBounds = TextUtilities.getTextBounds(tick.getText(), g2, fm);
    if (labelBounds.getWidth() + insets. [[#variable1a9b0a40]]() + insets. [[#variable1a9b09a0]]() >  [[#variable1a9b0940]]) {
       [[#variable1a9b0940]]= labelBounds.getWidth() + insets. [[#variable1a9b0a40]]() + insets. [[#variable1a9b09a0]]();
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a9b0a40]]
getTop 
12[[#1a9b0a40]]
getLeft 
21[[#1a9b09a0]]
getBottom 
22[[#1a9b09a0]]
getRight 
31[[#1a9b0940]]
maxHeight 
32[[#1a9b0940]]
maxWidth