Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 5 | 0.953 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 444 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaHeuristicScanner.java |
2 | 6 | 486 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaHeuristicScanner.java |
| ||||
case 2: if ("if".equals(s)) //$NON-NLS-1$ return TokenIF; if ("do".equals(s)) //$NON-NLS-1$ return TokenDO; break; |
| ||||
case 7: if ("default".equals(s)) //$NON-NLS-1$ return TokenDEFAULT; if ("finally".equals(s)) //$NON-NLS-1$ return TokenFINALLY; break; |
| |||
case [[#variable544f21c0]]: if ( [[#variable544f2160]].equals(s)) //$NON-NLS-1$ return [[#variable544f20e0]]; if ( [[#variable544f2040]].equals(s)) //$NON-NLS-1$ return [[#variable544affc0]]; break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#544f21c0]] | 2 |
1 | 2 | [[#544f21c0]] | 7 |
2 | 1 | [[#544f2160]] | "if" |
2 | 2 | [[#544f2160]] | "default" |
3 | 1 | [[#544f20e0]] | TokenIF |
3 | 2 | [[#544f20e0]] | TokenDEFAULT |
4 | 1 | [[#544f2040]] | "do" |
4 | 2 | [[#544f2040]] | "finally" |
5 | 1 | [[#544affc0]] | TokenDO |
5 | 2 | [[#544affc0]] | TokenFINALLY |