Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 1 | 0.991 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 80 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/Engine.java |
2 | 2 | 97 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CompilationUnitProblemFinder.java |
| ||||
CompilationResult result = new CompilationResult(sourceTypes[0].getFileName(), 1, 1, this.compilerOptions.maxProblemsPerUnit); |
| ||||
// ensure to jump back to toplevel type for first one (could be a member) // while (sourceTypes[0].getEnclosingType() != null) // sourceTypes[0] = sourceTypes[0].getEnclosingType(); CompilationResult result = new CompilationResult(sourceTypes[0].getFileName(), 1, 1, this.options.maxProblemsPerUnit); |
| |||
// ensure to jump back to toplevel type for first one (could be a member) // while (sourceTypes[0].getEnclosingType() != null) // sourceTypes[0] = sourceTypes[0].getEnclosingType(); CompilationResult result = new CompilationResult(sourceTypes[0].getFileName(), 1, 1, this. [[#variable539b76a0]].maxProblemsPerUnit); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#539b76a0]] | compilerOptions |
1 | 2 | [[#539b76a0]] | options |