Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 4 | 0.965 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 134 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java |
2 | 5 | 270 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java |
| ||||
addLinkedPosition(rewrite.track(newDecl.getType()), false, KEY_TYPE); addLinkedPosition(rewrite.track(node), true, KEY_NAME); addLinkedPosition(rewrite.track(newDecl.getName()), false, KEY_NAME); // add javadoc tag Javadoc javadoc = methodDeclaration.getJavadoc(); |
| ||||
// newDeclFrag.setInitializer(ASTNodeFactory.newDefaultExpression(ast, newDecl.getType(), 0)); addLinkedPosition(rewrite.track(newDecl.getType()), false, KEY_TYPE); addLinkedPosition(rewrite.track(node), true, KEY_NAME); addLinkedPosition(rewrite.track(newDeclFrag.getName()), false, KEY_NAME); Statement statement = dominantStatement; |
| |||
// newDeclFrag.setInitializer(ASTNodeFactory.newDefaultExpression(ast, newDecl.getType(), 0)); addLinkedPosition(rewrite.track(newDecl.getType()), false, KEY_TYPE); addLinkedPosition(rewrite.track(node), true, KEY_NAME); addLinkedPosition(rewrite.track( [[#variable9e201660]].getName()), false, KEY_NAME); [[#variable9df5fb40]] [[#variable9e2015e0]]= [[#variable9e201540]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9e201660]] | newDecl |
1 | 2 | [[#9e201660]] | newDeclFrag |
2 | 1 | [[#9df5fb40]] | // add javadoc tag Javadoc |
2 | 2 | [[#9df5fb40]] | Statement |
3 | 1 | [[#9e2015e0]] | javadoc |
3 | 2 | [[#9e2015e0]] | statement |
4 | 1 | [[#9e201540]] | methodDeclaration.getJavadoc() |
4 | 2 | [[#9e201540]] | dominantStatement |