Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.984 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 150 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportReferencesCollector.java |
2 | 5 | 159 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/ImportReferencesCollector.java |
| ||||
ITypeBinding declaringClass = varBinding.getDeclaringClass(); if (declaringClass != null && !declaringClass.isLocal()) { if (new ScopeAnalyzer(getASTRoot(name)).isDeclaredInScope(varBinding, (SimpleName) name, ScopeAnalyzer.VARIABLES)) return; fStaticImports.add(name); } |
| ||||
ITypeBinding declaringClass = methodBinding.getDeclaringClass(); if (declaringClass != null && !declaringClass.isLocal()) { if (new ScopeAnalyzer(getASTRoot(name)).isDeclaredInScope(methodBinding, (SimpleName) name, ScopeAnalyzer.METHODS)) return; fStaticImports.add(name); } |
| |||
ITypeBinding declaringClass = [[#variable5ccfca80]].getDeclaringClass(); if (declaringClass != null && !declaringClass.isLocal()) { if (new ScopeAnalyzer(getASTRoot(name)).isDeclaredInScope( [[#variable5ccfca80]], (SimpleName) name, ScopeAnalyzer. [[#variable5ccfc9e0]])) return; fStaticImports.add(name); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5ccfca80]] | methodBinding |
1 | 2 | [[#5ccfca80]] | varBinding |
2 | 1 | [[#5ccfc9e0]] | METHODS |
2 | 2 | [[#5ccfc9e0]] | VARIABLES |