CloneSet456


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23230.958statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1241629
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/DateAxis.java
223714
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/SymbolAxis.java
Next
Last
Clone Instance
1
Line Count
24
Source Line
1629
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/DateAxis.java

if (isVerticalTickLabels()) {
  anchor = TextAnchor.BOTTOM_CENTER;
  rotationAnchor = TextAnchor.BOTTOM_CENTER;
  if (edge == RectangleEdge.LEFT) {
    angle = -Math.PI / 2.0;
  }
  else {
    angle = Math.PI / 2.0;
  }
}
else {
  if (edge == RectangleEdge.LEFT) {
    anchor = TextAnchor.CENTER_RIGHT;
    rotationAnchor = TextAnchor.CENTER_RIGHT;
  }
  else {
    anchor = TextAnchor.CENTER_LEFT;
    rotationAnchor = TextAnchor.CENTER_LEFT;
  }
}
Tick tick = new DateTick(tickDate, tickLabel, anchor, rotationAnchor, angle);
result.add(tick);


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

if (isVerticalTickLabels()) {
  anchor = TextAnchor.BOTTOM_CENTER;
  rotationAnchor = TextAnchor.BOTTOM_CENTER;
  if (edge == RectangleEdge.LEFT) {
    angle = -Math.PI / 2.0;
  }
  else {
    angle = Math.PI / 2.0;
  }
}
else {
  if (edge == RectangleEdge.LEFT) {
    anchor = TextAnchor.CENTER_RIGHT;
    rotationAnchor = TextAnchor.CENTER_RIGHT;
  }
  else {
    anchor = TextAnchor.CENTER_LEFT;
    rotationAnchor = TextAnchor.CENTER_LEFT;
  }
}
Tick tick = new NumberTick(new Double(currentTickValue), tickLabel, anchor, rotationAnchor, angle);
ticks.add(tick);


Clone AbstractionParameter Count: 3Parameter Bindings

if (isVerticalTickLabels()) {
  anchor = TextAnchor.BOTTOM_CENTER;
  rotationAnchor = TextAnchor.BOTTOM_CENTER;
  if (edge == RectangleEdge.LEFT) {
    angle = -Math.PI / 2.0;
  }
  else {
    angle = Math.PI / 2.0;
  }
}
else {
  if (edge == RectangleEdge.LEFT) {
    anchor = TextAnchor.CENTER_RIGHT;
    rotationAnchor = TextAnchor.CENTER_RIGHT;
  }
  else {
    anchor = TextAnchor.CENTER_LEFT;
    rotationAnchor = TextAnchor.CENTER_LEFT;
  }
}
Tick tick = new [[#variable1a9d54c0]]( [[#variable1a9c4d00]], tickLabel, anchor, rotationAnchor, angle);
 [[#variable1a9d54a0]].add(tick);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a9d54c0]]
DateTick 
12[[#1a9d54c0]]
NumberTick 
21[[#1a9c4d00]]
tickDate 
22[[#1a9c4d00]]
new Double(currentTickValue) 
31[[#1a9d54a0]]
result 
32[[#1a9d54a0]]
ticks