Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 2 | 0.976 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 654 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java |
2 | 5 | 129 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/surround/SurroundWithAnalyzer.java |
3 | 5 | 180 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/WorkingSetDropAdapter.java |
| ||||
for (int i = 0; i < selectedNodes.length; i++) { if ( ! (selectedNodes[i] instanceof Expression)) return false; } return true; |
| ||||
for (int i = 0; i < nodes.length; i++) { if ( !(nodes[i] instanceof Statement)) return false; } return true; |
| ||||
for (int i = 0; i < fElementsToAdds.length; i++) { if ( !(fElementsToAdds[i] instanceof IWorkingSet)) return false; } return true; |
| |||
for (int i = 0; i < [[#variableb30540e0]].length; i++) { if ( !( [[#variableb30540e0]][i] instanceof [[#variablea385da60]])) return false; } return true; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b30540e0]] | fElementsToAdds |
1 | 2 | [[#b30540e0]] | nodes |
1 | 3 | [[#b30540e0]] | selectedNodes |
2 | 1 | [[#a385da60]] | IWorkingSet |
2 | 2 | [[#a385da60]] | Statement |
2 | 3 | [[#a385da60]] | Expression |