Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.971 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 367 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java |
2 | 3 | 382 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java |
| ||||
ITypeBinding[] methodTypeParameters = getMethodDeclaration().resolveBinding().getTypeParameters(); LocalTypeAndVariableUsageAnalyzer localTypeAnalyer = new LocalTypeAndVariableUsageAnalyzer(methodTypeParameters); initializer.accept(localTypeAnalyer); |
| ||||
ITypeBinding[] methodTypeParameters = getMethodDeclaration().resolveBinding().getTypeParameters(); LocalTypeAndVariableUsageAnalyzer analyzer = new LocalTypeAndVariableUsageAnalyzer(methodTypeParameters); type.accept(analyzer); |
| |||
ITypeBinding[] methodTypeParameters = getMethodDeclaration().resolveBinding().getTypeParameters(); LocalTypeAndVariableUsageAnalyzer [[#variable56dce1a0]]= new LocalTypeAndVariableUsageAnalyzer(methodTypeParameters); [[#variable56dce180]].accept( [[#variable56dce1a0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56dce1a0]] | localTypeAnalyer |
1 | 2 | [[#56dce1a0]] | analyzer |
2 | 1 | [[#56dce180]] | initializer |
2 | 2 | [[#56dce180]] | type |