| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 3 | 0.962 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 1867 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java |
| 2 | 4 | 1890 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java |
| ||||
if ((matchRule& R_PATTERN_MATCH) != 0) {
// remove Camel Case and Prefix match bits if any
matchRule &= ~R_CAMELCASE_MATCH;
matchRule &= ~R_PREFIX_MATCH;
}
|
| ||||
if ((matchRule& R_CASE_SENSITIVE) != 0) {
// This is equivalent to Camel Case match rule
matchRule &= ~R_PREFIX_MATCH;
matchRule &= ~R_CASE_SENSITIVE;
}
|
| |||
if ((matchRule& [[#variablebe7d0240]]) != 0) {
// This is equivalent to Camel Case match rule
// remove Camel Case and Prefix match bits if any
matchRule &= ~ [[#variablebe7d0180]];
matchRule &= ~ [[#variableb440ffe0]];
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#be7d0240]] | R_CASE_SENSITIVE |
| 1 | 2 | [[#be7d0240]] | R_PATTERN_MATCH |
| 2 | 1 | [[#be7d0180]] | R_PREFIX_MATCH |
| 2 | 2 | [[#be7d0180]] | R_CAMELCASE_MATCH |
| 3 | 1 | [[#b440ffe0]] | R_CASE_SENSITIVE |
| 3 | 2 | [[#b440ffe0]] | R_PREFIX_MATCH |