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.967 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 245 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HierarchyInformationControl.java |
2 | 5 | 166 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/OpenTypeHierarchyUtil.java |
3 | 5 | 254 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenTypeHierarchyAction.java |
| ||||
IImportDeclaration decl = (IImportDeclaration) elem; if (decl.isOnDemand()) { input = JavaModelUtil.findTypeContainer(decl.getJavaProject(), Signature.getQualifier(decl.getElementName())); } else { input = decl.getJavaProject().findType(decl.getElementName()); } |
| ||||
IImportDeclaration decl = (IImportDeclaration) elem; if (decl.isOnDemand()) { elem = JavaModelUtil.findTypeContainer(elem.getJavaProject(), Signature.getQualifier(elem.getElementName())); } else { elem = elem.getJavaProject().findType(elem.getElementName()); } |
| ||||
IImportDeclaration decl = (IImportDeclaration) elem; if (decl.isOnDemand()) { elem = JavaModelUtil.findTypeContainer(elem.getJavaProject(), Signature.getQualifier(elem.getElementName())); } else { elem = elem.getJavaProject().findType(elem.getElementName()); } |
| |||
IImportDeclaration decl = (IImportDeclaration) elem; if (decl.isOnDemand()) { [[#variableb8eed520]]= JavaModelUtil.findTypeContainer( [[#variableb8eedf80]].getJavaProject(), Signature.getQualifier( [[#variableb8eedf80]].getElementName())); } else { [[#variableb8eed520]]= [[#variableb8eedf80]].getJavaProject().findType( [[#variableb8eedf80]].getElementName()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b8eed520]] | elem |
1 | 2 | [[#b8eed520]] | input |
1 | 3 | [[#b8eed520]] | elem |
2 | 1 | [[#b8eedf80]] | elem |
2 | 2 | [[#b8eedf80]] | decl |
2 | 3 | [[#b8eedf80]] | elem |