CloneSet403


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19220.983statement_sequence[10]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
118457
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/CyclicNumberAxis.java
219610
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/CyclicNumberAxis.java
Next
Last
Clone Instance
1
Line Count
18
Source Line
457
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/CyclicNumberAxis.java

// Cycle when necessary
boolean cyclenow = false;
if ((currentTickValue + unit > upperValue) && !cycled) {
  cyclenow = true;
}
double xx = valueToJava2D(currentTickValue, dataArea, edge);
String tickLabel;
NumberFormat formatter = getNumberFormatOverride();
if (formatter != null) {
  tickLabel = formatter.format(currentTickValue);
}
else {
  tickLabel = getTickUnit().valueToString(currentTickValue);
}
float x = (float) xx;
TextAnchor anchor = null;
TextAnchor rotationAnchor = null;
double angle = 0.0;


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

// Cycle when necessary
boolean cyclenow = false;
if ((currentTickValue + unit > upperValue) && !cycled) {
  cyclenow = true;
}
double yy = valueToJava2D(currentTickValue, dataArea, edge);
String tickLabel;
NumberFormat formatter = getNumberFormatOverride();
if (formatter != null) {
  tickLabel = formatter.format(currentTickValue);
}
else {
  tickLabel = getTickUnit().valueToString(currentTickValue);
}
float y = (float) yy;
TextAnchor anchor = null;
TextAnchor rotationAnchor = null;
double angle = 0.0;


Clone AbstractionParameter Count: 2Parameter Bindings

// Cycle when necessary
boolean cyclenow = false;
if ((currentTickValue + unit > upperValue) && !cycled) {
  cyclenow = true;
}
double  [[#variable1a987860]]= valueToJava2D(currentTickValue, dataArea, edge);
String tickLabel;
NumberFormat formatter = getNumberFormatOverride();
if (formatter != null) {
  tickLabel = formatter.format(currentTickValue);
}
else {
  tickLabel = getTickUnit().valueToString(currentTickValue);
}
float  [[#variable1a987840]]= (float)  [[#variable1a987860]];
TextAnchor anchor = null;
TextAnchor rotationAnchor = null;
double angle = 0.0;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a987860]]
xx 
12[[#1a987860]]
yy 
21[[#1a987840]]
x 
22[[#1a987840]]
y