Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 3 | 0.958 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 57 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TempAssignmentFinder.java |
2 | 5 | 70 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TempAssignmentFinder.java |
3 | 5 | 86 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/TempAssignmentFinder.java |
| ||||
if ( ! isAssignmentToTemp(assignment)) return true; fFirstAssignment = assignment; return false; |
| ||||
if ( ! isNameReferenceToTemp(simpleName)) return true; fFirstAssignment = postfixExpression; return false; |
| ||||
if ( ! isNameReferenceToTemp(simpleName)) return true; fFirstAssignment = prefixExpression; return false; |
| |||
if ( ! [[#variable533c71a0]]( [[#variable533c7220]])) return true; fFirstAssignment = [[#variable533c7180]]; return false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#533c71a0]] | isNameReferenceToTemp |
1 | 2 | [[#533c71a0]] | isAssignmentToTemp |
1 | 3 | [[#533c71a0]] | isNameReferenceToTemp |
2 | 1 | [[#533c7220]] | simpleName |
2 | 2 | [[#533c7220]] | assignment |
2 | 3 | [[#533c7220]] | simpleName |
3 | 1 | [[#533c7180]] | prefixExpression |
3 | 2 | [[#533c7180]] | assignment |
3 | 3 | [[#533c7180]] | postfixExpression |