CloneSet4431


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.987class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17333
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java
27350
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java
Clone Instance
1
Line Count
7
Source Line
333
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java

public boolean hasErrors() {
        if (this.problems != null)
                for (int i = 0; i < this.problemCount; i++) {
                        if (this.problems[i].isError())
                                return true;
                }
        return false;
}


Clone Instance
2
Line Count
7
Source Line
350
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java

public boolean hasWarnings() {
        if (this.problems != null)
                for (int i = 0; i < this.problemCount; i++) {
                        if (this.problems[i].isWarning())
                                return true;
                }
        return false;
}


Clone AbstractionParameter Count: 2Parameter Bindings

public boolean  [[#variable5e965c60]]() {
  if (this.problems != null)
    for (int i = 0; i < this.problemCount; i++) {
      if (this.problems[i]. [[#variable5e965c00]]())
        return true;
    }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5e965c60]]
hasErrors 
12[[#5e965c60]]
hasWarnings 
21[[#5e965c00]]
isError 
22[[#5e965c00]]
isWarning