Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.985 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 113 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/JavaElementPropertyTester.java |
2 | 9 | 56 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/JavaTypeExtender.java |
| ||||
if (element instanceof ICompilationUnit) { ICompilationUnit cu = (ICompilationUnit) element; type = cu.getType(Signature.getQualifier(cu.getElementName())); } else if (element instanceof IClassFile) { type = ((IClassFile) element).getType(); } else if (element instanceof IType) { type = (IType) element; } else if (element instanceof IMember) { type = ((IMember) element).getDeclaringType(); } |
| ||||
if (element instanceof ICompilationUnit) { ICompilationUnit cu = (ICompilationUnit) element; testType = cu.getType(Signature.getQualifier(cu.getElementName())); } else if (element instanceof IClassFile) { testType = ((IClassFile) element).getType(); } else if (element instanceof IType) { testType = (IType) element; } else if (element instanceof IMember) { testType = ((IMember) element).getDeclaringType(); } |
| |||
if (element instanceof ICompilationUnit) { ICompilationUnit cu = (ICompilationUnit) element; [[#variable62d0e760]]= cu.getType(Signature.getQualifier(cu.getElementName())); } else if (element instanceof IClassFile) { [[#variable62d0e760]]= ((IClassFile) element).getType(); } else if (element instanceof IType) { [[#variable62d0e760]]= (IType) element; } else if (element instanceof IMember) { [[#variable62d0e760]]= ((IMember) element).getDeclaringType(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#62d0e760]] | testType |
1 | 2 | [[#62d0e760]] | type |