CloneSet232


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
33201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13389
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/title/ShortTextTitle.java
233480
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/title/TextTitle.java
Next
Last
Clone Instance
1
Line Count
33
Source Line
89
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/title/ShortTextTitle.java

Size2D contentSize = null;
if (w == LengthConstraintType.NONE) {
  if (h == LengthConstraintType.NONE) {
    contentSize = arrangeNN(g2);
  }
  else
    if (h == LengthConstraintType.RANGE) {
      throw new RuntimeException("Not yet implemented.");
    }
    else
      if (h == LengthConstraintType.FIXED) {
        throw new RuntimeException("Not yet implemented.");
      }
}
else
  if (w == LengthConstraintType.RANGE) {
    if (h == LengthConstraintType.NONE) {
      contentSize = arrangeRN(g2, cc.getWidthRange());
    }
    else
      if (h == LengthConstraintType.RANGE) {
        contentSize = arrangeRR(g2, cc.getWidthRange(), cc.getHeightRange());
      }
      else
        if (h == LengthConstraintType.FIXED) {
          throw new RuntimeException("Not yet implemented.");
        }
  }
  else
    if (w == LengthConstraintType.FIXED) {
      if (h == LengthConstraintType.NONE) {
        contentSize = arrangeFN(g2, cc.getWidth());
      }
      else
        if (h == LengthConstraintType.RANGE) {
          throw new RuntimeException("Not yet implemented.");
        }
        else
          if (h == LengthConstraintType.FIXED) {
            throw new RuntimeException("Not yet implemented.");
          }
    }


First
Previous
Clone Instance
2
Line Count
33
Source Line
480
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/title/TextTitle.java

Size2D contentSize = null;
if (w == LengthConstraintType.NONE) {
  if (h == LengthConstraintType.NONE) {
    contentSize = arrangeNN(g2);
  }
  else
    if (h == LengthConstraintType.RANGE) {
      throw new RuntimeException("Not yet implemented.");
    }
    else
      if (h == LengthConstraintType.FIXED) {
        throw new RuntimeException("Not yet implemented.");
      }
}
else
  if (w == LengthConstraintType.RANGE) {
    if (h == LengthConstraintType.NONE) {
      contentSize = arrangeRN(g2, cc.getWidthRange());
    }
    else
      if (h == LengthConstraintType.RANGE) {
        contentSize = arrangeRR(g2, cc.getWidthRange(), cc.getHeightRange());
      }
      else
        if (h == LengthConstraintType.FIXED) {
          throw new RuntimeException("Not yet implemented.");
        }
  }
  else
    if (w == LengthConstraintType.FIXED) {
      if (h == LengthConstraintType.NONE) {
        contentSize = arrangeFN(g2, cc.getWidth());
      }
      else
        if (h == LengthConstraintType.RANGE) {
          throw new RuntimeException("Not yet implemented.");
        }
        else
          if (h == LengthConstraintType.FIXED) {
            throw new RuntimeException("Not yet implemented.");
          }
    }


Clone AbstractionParameter Count: 0Parameter Bindings

Size2D contentSize = null;
if (w == LengthConstraintType.NONE) {
  if (h == LengthConstraintType.NONE) {
    contentSize = arrangeNN(g2);
  }
  else
    if (h == LengthConstraintType.RANGE) {
      throw new RuntimeException("Not yet implemented.");
    }
    else
      if (h == LengthConstraintType.FIXED) {
        throw new RuntimeException("Not yet implemented.");
      }
}
else
  if (w == LengthConstraintType.RANGE) {
    if (h == LengthConstraintType.NONE) {
      contentSize = arrangeRN(g2, cc.getWidthRange());
    }
    else
      if (h == LengthConstraintType.RANGE) {
        contentSize = arrangeRR(g2, cc.getWidthRange(), cc.getHeightRange());
      }
      else
        if (h == LengthConstraintType.FIXED) {
          throw new RuntimeException("Not yet implemented.");
        }
  }
  else
    if (w == LengthConstraintType.FIXED) {
      if (h == LengthConstraintType.NONE) {
        contentSize = arrangeFN(g2, cc.getWidth());
      }
      else
        if (h == LengthConstraintType.RANGE) {
          throw new RuntimeException("Not yet implemented.");
        }
        else
          if (h == LengthConstraintType.FIXED) {
            throw new RuntimeException("Not yet implemented.");
          }
    }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None