| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 1 | 0.987 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 146 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceAnalyzer.java |
| 2 | 3 | 225 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java |
| ||||
List statements = fDeclaration.getBody().statements();
if (statements.size() == 0)
return null;
|
| ||||
List statements = fDeclaration.getBody().statements();
if (statements.size() == 0)
return false;
|
| |||
List statements = fDeclaration.getBody().statements(); if (statements.size() == 0) return [[#variableb115d0a0]]; |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b115d0a0]] | null |
| 1 | 2 | [[#b115d0a0]] | false |