Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.987 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 333 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/CompilationResult.java |
2 | 7 | 350 | 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; } |
| ||||
public boolean hasWarnings() { if (this.problems != null) for (int i = 0; i < this.problemCount; i++) { if (this.problems[i].isWarning()) return true; } return false; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5e965c60]] | hasErrors |
1 | 2 | [[#5e965c60]] | hasWarnings |
2 | 1 | [[#5e965c00]] | isError |
2 | 2 | [[#5e965c00]] | isWarning |