Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 3 | 1 | 0.996 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 227 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java |
2 | 9 | 407 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java |
3 | 9 | 124 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java |
| ||||
if ((selection.size() == 1) && (selection.getFirstElement() instanceof IType)) { IType type = (IType) selection.getFirstElement(); return type.getCompilationUnit() != null && !type.isInterface() && !type.isLocal(); } if ((selection.size() == 1) && (selection.getFirstElement() instanceof ICompilationUnit)) return true; return false; |
| ||||
if ((selection.size() == 1) && (selection.getFirstElement() instanceof IType)) { IType type = (IType) selection.getFirstElement(); return type.getCompilationUnit() != null && !type.isInterface() && !type.isEnum(); } if ((selection.size() == 1) && (selection.getFirstElement() instanceof ICompilationUnit)) return true; return false; |
| ||||
if ((selection.size() == 1) && (selection.getFirstElement() instanceof IType)) { IType type = (IType) selection.getFirstElement(); return type.getCompilationUnit() != null && !type.isInterface() && !type.isAnnotation(); } if ((selection.size() == 1) && (selection.getFirstElement() instanceof ICompilationUnit)) return true; return false; |
| |||
if ((selection.size() == 1) && (selection.getFirstElement() instanceof IType)) { IType type = (IType) selection.getFirstElement(); return type.getCompilationUnit() != null && !type.isInterface() && !type. [[#variableb77a3a40]](); } if ((selection.size() == 1) && (selection.getFirstElement() instanceof ICompilationUnit)) return true; return false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b77a3a40]] | isLocal |
1 | 2 | [[#b77a3a40]] | isEnum |
1 | 3 | [[#b77a3a40]] | isAnnotation |