Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.952 | switch_groups[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 909 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java |
2 | 7 | 1243 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java |
| ||||
// scope introduction: special treat who special is case Symbols.TokenLPAREN: case Symbols.TokenLBRACE: case Symbols.TokenLBRACKET: return handleScopeIntroduction(offset + 1); case Symbols.TokenEOF: // trap when hitting start of document return JavaHeuristicScanner.NOT_FOUND; |
| ||||
// scope introduction: special treat who special is case Symbols.TokenLPAREN: case Symbols.TokenLBRACE: case Symbols.TokenLBRACKET: return handleScopeIntroduction(startPosition + 1); case Symbols.TokenSEMICOLON: return fPosition; |
| |||
// scope introduction: special treat who special is case Symbols.TokenLPAREN: case Symbols.TokenLBRACE: case Symbols.TokenLBRACKET: return handleScopeIntroduction( [[#variable8fc9eda0]] + 1); case Symbols. [[#variable8fc9fe00]]: // trap when hitting start of document return [[#variable8fc46300]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#8fc9eda0]] | startPosition |
1 | 2 | [[#8fc9eda0]] | offset |
2 | 1 | [[#8fc9fe00]] | TokenSEMICOLON |
2 | 2 | [[#8fc9fe00]] | TokenEOF |
3 | 1 | [[#8fc46300]] | fPosition |
3 | 2 | [[#8fc46300]] | JavaHeuristicScanner.NOT_FOUND |