Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 7 | 2 | 0.958 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 485 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/BaseProcessorEnv.java |
2 | 3 | 672 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/BaseProcessorEnv.java |
3 | 3 | 939 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineConstantRefactoring.java |
4 | 3 | 392 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/InlineTempRefactoring.java |
5 | 3 | 103 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/InlineMethodRefactoringContribution.java |
6 | 3 | 136 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java |
7 | 3 | 101 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/OverrideCompletionProposal.java |
| ||||
final ASTParser parser = ASTParser.newParser(AST.JLS3); parser.setResolveBindings(true); parser.setProject(_javaProject); |
| ||||
// Note: very expensive operation. we are re-compiling a file with binding information. final ASTParser parser = ASTParser.newParser(AST.JLS3); parser.setResolveBindings(true); parser.setSource(unit); |
| ||||
final ASTParser parser = ASTParser.newParser(AST.JLS3); parser.setResolveBindings(true); parser.setSource(fSelectionCu); |
| ||||
final ASTParser parser = ASTParser.newParser(AST.JLS3); parser.setResolveBindings(true); parser.setSource(fCu); |
| ||||
final ASTParser parser = ASTParser.newParser(AST.JLS3); parser.setResolveBindings(true); parser.setSource(unit); |
| ||||
final ASTParser parser = ASTParser.newParser(AST.JLS3); parser.setResolveBindings(true); parser.setSource(copy); |
| ||||
final ASTParser parser = ASTParser.newParser(AST.JLS3); parser.setResolveBindings(true); parser.setStatementsRecovery(true); |
| |||
// Note: very expensive operation. we are re-compiling a file with binding information. final ASTParser parser = ASTParser.newParser(AST.JLS3); parser.setResolveBindings(true); parser. [[#variablea07d0580]]( [[#variablea07d0540]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a07d0580]] | setSource |
1 | 2 | [[#a07d0580]] | setSource |
1 | 3 | [[#a07d0580]] | setSource |
1 | 4 | [[#a07d0580]] | setProject |
1 | 5 | [[#a07d0580]] | setSource |
1 | 6 | [[#a07d0580]] | setStatementsRecovery |
1 | 7 | [[#a07d0580]] | setSource |
2 | 1 | [[#a07d0540]] | unit |
2 | 2 | [[#a07d0540]] | fSelectionCu |
2 | 3 | [[#a07d0540]] | fCu |
2 | 4 | [[#a07d0540]] | _javaProject |
2 | 5 | [[#a07d0540]] | copy |
2 | 6 | [[#a07d0540]] | true |
2 | 7 | [[#a07d0540]] | unit |