Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 6 | 0.956 | statement_sequence |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 451 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaHeuristicScanner.java |
2 | 7 | 479 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaHeuristicScanner.java |
| ||||
if ("for".equals(s)) //$NON-NLS-1$ return TokenFOR; if ("try".equals(s)) //$NON-NLS-1$ return TokenTRY; if ("new".equals(s)) //$NON-NLS-1$ return TokenNEW; break; |
| ||||
if ("return".equals(s)) //$NON-NLS-1$ return TokenRETURN; if ("static".equals(s)) //$NON-NLS-1$ return TokenSTATIC; if ("switch".equals(s)) //$NON-NLS-1$ return TokenSWITCH; break; |
| |||
if ( [[#variableb2b3a440]].equals(s)) //$NON-NLS-1$ return [[#variableb2b3a3c0]]; if ( [[#variableb2b3a360]].equals(s)) //$NON-NLS-1$ return [[#variableb2b3a2c0]]; if ( [[#variableb2b3a240]].equals(s)) //$NON-NLS-1$ return [[#variableb2b3a1c0]]; break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2b3a440]] | "return" |
1 | 2 | [[#b2b3a440]] | "for" |
2 | 1 | [[#b2b3a3c0]] | TokenRETURN |
2 | 2 | [[#b2b3a3c0]] | TokenFOR |
3 | 1 | [[#b2b3a360]] | "static" |
3 | 2 | [[#b2b3a360]] | "try" |
4 | 1 | [[#b2b3a2c0]] | TokenSTATIC |
4 | 2 | [[#b2b3a2c0]] | TokenTRY |
5 | 1 | [[#b2b3a240]] | "switch" |
5 | 2 | [[#b2b3a240]] | "new" |
6 | 1 | [[#b2b3a1c0]] | TokenSWITCH |
6 | 2 | [[#b2b3a1c0]] | TokenNEW |