Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.977 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 642 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/BaseProcessorEnv.java |
2 | 5 | 750 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/BaseProcessorEnv.java |
| ||||
assert binding.getKind() == IBinding.TYPE || binding.getKind() == IBinding.METHOD || binding.getKind() == IBinding.VARIABLE; CompilationUnit domUnit = searchLocallyForBinding(binding); |
| ||||
assert binding.getKind() == IBinding.TYPE || binding.getKind() == IBinding.METHOD || binding.getKind() == IBinding.VARIABLE; // check to see whether it is in the current file. IFile file = searchLocallyForIFile(binding); |
| |||
assert binding.getKind() == IBinding.TYPE || binding.getKind() == IBinding.METHOD || binding.getKind() == IBinding.VARIABLE; [[#variable987c3520]] [[#variable987c3480]]= [[#variable987c34a0]](binding); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#987c3520]] | CompilationUnit |
1 | 2 | [[#987c3520]] | // check to see whether it is in the current file. IFile |
2 | 1 | [[#987c3480]] | domUnit |
2 | 2 | [[#987c3480]] | file |
3 | 1 | [[#987c34a0]] | searchLocallyForBinding |
3 | 2 | [[#987c34a0]] | searchLocallyForIFile |