Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.972 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 852 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java |
2 | 3 | 761 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java |
| ||||
// stupid code. Is to find out if the variable declaration isn't a field. if (ASTNodes.isParent(anonymous, initializer)) return false; return true; |
| ||||
if (ASTNodes.isParent(declaringNode, fAnonymousInnerClassNode)) return false; return true; |
| |||
// stupid code. Is to find out if the variable declaration isn't a field. if (ASTNodes.isParent( [[#variable9d7021c0]], [[#variable9d7021a0]])) return false; return true; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9d7021c0]] | anonymous |
1 | 2 | [[#9d7021c0]] | declaringNode |
2 | 1 | [[#9d7021a0]] | initializer |
2 | 2 | [[#9d7021a0]] | fAnonymousInnerClassNode |