CloneSet3100


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.976class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19779
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ImportRewriteAnalyzer.java
29859
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ImportRewriteAnalyzer.java
Clone Instance
1
Line Count
9
Source Line
779
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ImportRewriteAnalyzer.java

                public int compareTo(String fullName, boolean isStaticImport) {
                        int cmp = this.elementName.compareTo(fullName);
                        if (cmp == 0) {
                                if (this.isStatic == isStaticImport) {
                                        return 0;
                                }
                                return this.isStatic ? -1:  1;
                        }
                        return cmp;
                }


Clone Instance
2
Line Count
9
Source Line
859
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/internal/core/dom/rewrite/ImportRewriteAnalyzer.java

                public int compareTo(String otherName, boolean isOtherStatic) {
                        int cmp = this.name.compareTo(otherName);
                        if (cmp == 0) {
                                if (this.isStatic == isOtherStatic) {
                                        return 0;
                                }
                                return this.isStatic ? -1:  1;
                        }
                        return cmp;
                }


Clone AbstractionParameter Count: 3Parameter Bindings

public int compareTo(String  [[#variable94ac0b40]], boolean  [[#variable94ac0ac0]]) {
  int cmp = this. [[#variable94ac0a40]].compareTo( [[#variable94ac0b40]]);
  if (cmp == 0) {
    if (this.isStatic == [[#variable94ac0ac0]]) {
      return 0;
    }
    return this.isStatic ? -1: 1;
  }
  return cmp;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#94ac0b40]]
fullName 
12[[#94ac0b40]]
otherName 
21[[#94ac0ac0]]
isStaticImport 
22[[#94ac0ac0]]
isOtherStatic 
31[[#94ac0a40]]
elementName 
32[[#94ac0a40]]
name