Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 4 | 4 | 0.956 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 568 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpRefactoring.java |
2 | 3 | 385 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java |
3 | 3 | 458 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/CorrectionMarkerResolutionGenerator.java |
4 | 3 | 2461 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java |
| ||||
ASTParser parser = ASTParser.newParser(ASTProvider.SHARED_AST_LEVEL); parser.setResolveBindings(true); parser.setProject(javaProject); |
| ||||
// binary class file - no cu rewrite ASTParser parser = ASTParser.newParser(AST.JLS3); parser.setResolveBindings(true); parser.setSource(fSelectionClassFile); |
| ||||
ASTParser parser = ASTParser.newParser(ASTProvider.SHARED_AST_LEVEL); parser.setResolveBindings(true); parser.setProject(javaProject); |
| ||||
ASTParser parser = ASTParser.newParser(AST.JLS3); parser.setResolveBindings(true); parser.setSource(cu); |
| |||
// binary class file - no cu rewrite ASTParser parser = ASTParser.newParser( [[#variablea15a92a0]]. [[#variablea15a9220]]); parser.setResolveBindings(true); parser. [[#variable7d7566a0]]( [[#variable602b9fc0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a15a92a0]] | ASTProvider |
1 | 2 | [[#a15a92a0]] | AST |
1 | 3 | [[#a15a92a0]] | AST |
1 | 4 | [[#a15a92a0]] | ASTProvider |
2 | 1 | [[#a15a9220]] | SHARED_AST_LEVEL |
2 | 2 | [[#a15a9220]] | JLS3 |
2 | 3 | [[#a15a9220]] | JLS3 |
2 | 4 | [[#a15a9220]] | SHARED_AST_LEVEL |
3 | 1 | [[#7d7566a0]] | setProject |
3 | 2 | [[#7d7566a0]] | setSource |
3 | 3 | [[#7d7566a0]] | setSource |
3 | 4 | [[#7d7566a0]] | setProject |
4 | 1 | [[#602b9fc0]] | javaProject |
4 | 2 | [[#602b9fc0]] | fSelectionClassFile |
4 | 3 | [[#602b9fc0]] | cu |
4 | 4 | [[#602b9fc0]] | javaProject |