Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.959 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 284 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java |
2 | 4 | 2153 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java |
| ||||
ASTParser parser = ASTParser.newParser(AST.JLS3); parser.setProject(fJavaProject); parser.setSource(fText.toCharArray()); CompilationUnit unit = (CompilationUnit) parser.createAST(null); |
| ||||
ASTParser parser = ASTParser.newParser(AST.JLS3); parser.setProject(cu.getJavaProject()); parser.setSource(content.toCharArray()); CompilationUnit unit = (CompilationUnit) parser.createAST(null); |
| |||
ASTParser parser = ASTParser.newParser(AST.JLS3); parser.setProject( [[#variable9d46e540]]); parser.setSource( [[#variable9d46e520]].toCharArray()); CompilationUnit unit = (CompilationUnit) parser.createAST(null); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9d46e540]] | fJavaProject |
1 | 2 | [[#9d46e540]] | cu.getJavaProject() |
2 | 1 | [[#9d46e520]] | fText |
2 | 2 | [[#9d46e520]] | content |