CloneSet204


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.981executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
197098
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/RegEx.java
297110
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/RegEx.java
Next
Last
Clone Instance
1
Line Count
9
Source Line
7098
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/RegEx.java

if (this.getMin() == this.getMax()) {
  ret = this.child.toString(options) + "{" + this.getMin() + "}";
}
else
  if (this.getMin() >= 0 && this.getMax() >= 0) {
    ret = this.child.toString(options) + "{" + this.getMin() + "," + this.getMax() + "}";
  }
  else
    if (this.getMin() >= 0 && this.getMax() < 0) {
      ret = this.child.toString(options) + "{" + this.getMin() + ",}";
    }
    else
      throw new RuntimeException("Token#toString(): CLOSURE " + this.getMin() + ", " + this.getMax());


First
Previous
Clone Instance
2
Line Count
9
Source Line
7110
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/internal/RegEx.java

if (this.getMin() == this.getMax()) {
  ret = this.child.toString(options) + "{" + this.getMin() + "}?";
}
else
  if (this.getMin() >= 0 && this.getMax() >= 0) {
    ret = this.child.toString(options) + "{" + this.getMin() + "," + this.getMax() + "}?";
  }
  else
    if (this.getMin() >= 0 && this.getMax() < 0) {
      ret = this.child.toString(options) + "{" + this.getMin() + ",}?";
    }
    else
      throw new RuntimeException("Token#toString(): NONGREEDYCLOSURE " + this.getMin() + ", " + this.getMax());


Clone AbstractionParameter Count: 3Parameter Bindings

if (this.getMin() == this.getMax()) {
  ret = this.child.toString(options) + "{" + this.getMin() +  [[#variable171672c0]];
}
else
  if (this.getMin() >= 0 && this.getMax() >= 0) {
    ret = this.child.toString(options) + "{" + this.getMin() + "," + this.getMax() +  [[#variable171672c0]];
  }
  else
    if (this.getMin() >= 0 && this.getMax() < 0) {
      ret = this.child.toString(options) + "{" + this.getMin() +  [[#variable17167220]];
    }
    else
      throw new RuntimeException( [[#variable171671c0]] + this.getMin() + ", " + this.getMax());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#171672c0]]
"}" 
12[[#171672c0]]
"}?" 
21[[#17167220]]
",}" 
22[[#17167220]]
",}?" 
31[[#171671c0]]
"Token#toString(): CLOSURE " 
32[[#171671c0]]
"Token#toString(): NONGREEDYCLOSURE "