Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 3 | 2 | 0.961 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 377 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java |
2 | 1 | 108 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaPartitionScanner.java |
3 | 1 | 111 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaPartitionScanner.java |
| ||||
rules.add(new SingleLineRule("\'", "\'", token, '\\')); //$NON-NLS-2$ //$NON-NLS-1$ |
| ||||
// Add rule for strings. rules.add(new SingleLineRule("\"", "\"", string, '\\')); //$NON-NLS-2$ //$NON-NLS-1$ |
| ||||
// Add rule for character constants. rules.add(new SingleLineRule("\'", "\'", character, '\\')); //$NON-NLS-2$ //$NON-NLS-1$ |
| |||
// Add rule for strings. // Add rule for character constants. rules.add(new SingleLineRule( [[#variable600aa380]], [[#variable600aa380]], [[#variable600aa2e0]], '\\')); //$NON-NLS-2$ //$NON-NLS-1$ |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#600aa380]] | "\"" |
1 | 2 | [[#600aa380]] | "\'" |
1 | 3 | [[#600aa380]] | "\'" |
2 | 1 | [[#600aa2e0]] | string |
2 | 2 | [[#600aa2e0]] | character |
2 | 3 | [[#600aa2e0]] | token |