Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 14 | 2 | 0.974 | switch_section |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 208 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
2 | 4 | 212 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
3 | 4 | 216 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
4 | 4 | 220 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
5 | 4 | 224 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
6 | 4 | 228 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
7 | 4 | 232 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
8 | 4 | 236 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
9 | 4 | 240 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
10 | 4 | 244 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
11 | 4 | 248 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
12 | 4 | 252 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
13 | 4 | 256 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
14 | 4 | 260 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
| ||||
case EQ: node.Type = NE; node.Text = "{not}" + node.Text; return node; // (NOT (EQ a b) ) => (NE a b) |
| ||||
case NE: node.Type = EQ; node.Text = "{not}" + node.Text; return node; // (NOT (NE a b) ) => (EQ a b) |
| ||||
case GT: node.Type = LE; node.Text = "{not}" + node.Text; return node; // (NOT (GT a b) ) => (LE a b) |
| ||||
case LT: node.Type = GE; node.Text = "{not}" + node.Text; return node; // (NOT (LT a b) ) => (GE a b) |
| ||||
case GE: node.Type = LT; node.Text = "{not}" + node.Text; return node; // (NOT (GE a b) ) => (LT a b) |
| ||||
case LE: node.Type = GT; node.Text = "{not}" + node.Text; return node; // (NOT (LE a b) ) => (GT a b) |
| ||||
case LIKE: node.Type = NOT_LIKE; node.Text = "{not}" + node.Text; return node; // (NOT (LIKE a b) ) => (NOT_LIKE a b) |
| ||||
case NOT_LIKE: node.Type = LIKE; node.Text = "{not}" + node.Text; return node; // (NOT (NOT_LIKE a b) ) => (LIKE a b) |
| ||||
case IN: node.Type = NOT_IN; node.Text = "{not}" + node.Text; return node; |
| ||||
case NOT_IN: node.Type = IN; node.Text = "{not}" + node.Text; return node; |
| ||||
case IS_NULL: node.Type = IS_NOT_NULL; node.Text = "{not}" + node.Text; return node; // (NOT (IS_NULL a b) ) => (IS_NOT_NULL a b) |
| ||||
case IS_NOT_NULL: node.Type = IS_NULL; node.Text = "{not}" + node.Text; return node; // (NOT (IS_NOT_NULL a b) ) => (IS_NULL a b) |
| ||||
case BETWEEN: node.Type = NOT_BETWEEN; node.Text = "{not}" + node.Text; return node; // (NOT (BETWEEN a b) ) => (NOT_BETWEEN a b) |
| ||||
case NOT_BETWEEN: node.Type = BETWEEN; node.Text = "{not}" + node.Text; return node; // (NOT (NOT_BETWEEN a b) ) => (BETWEEN a b) |
| |||
case [[#variable55417d00]]: node.Type = [[#variable2b405260]]; node.Text = "{not}" + node.Text; return node; // (NOT (EQ a b) ) => (NE a b) // (NOT (NE a b) ) => (EQ a b) // (NOT (GT a b) ) => (LE a b) // (NOT (LT a b) ) => (GE a b) // (NOT (GE a b) ) => (LT a b) // (NOT (LE a b) ) => (GT a b) // (NOT (LIKE a b) ) => (NOT_LIKE a b) // (NOT (NOT_LIKE a b) ) => (LIKE a b) // (NOT (IS_NULL a b) ) => (IS_NOT_NULL a b) // (NOT (IS_NOT_NULL a b) ) => (IS_NULL a b) // (NOT (BETWEEN a b) ) => (NOT_BETWEEN a b) // (NOT (NOT_BETWEEN a b) ) => (BETWEEN a b) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#55417d00]] | EQ |
1 | 2 | [[#55417d00]] | NE |
1 | 3 | [[#55417d00]] | GT |
1 | 4 | [[#55417d00]] | LT |
1 | 5 | [[#55417d00]] | GE |
1 | 6 | [[#55417d00]] | LE |
1 | 7 | [[#55417d00]] | LIKE |
1 | 8 | [[#55417d00]] | NOT_LIKE |
1 | 9 | [[#55417d00]] | IN |
1 | 10 | [[#55417d00]] | NOT_IN |
1 | 11 | [[#55417d00]] | IS_NULL |
1 | 12 | [[#55417d00]] | IS_NOT_NULL |
1 | 13 | [[#55417d00]] | BETWEEN |
1 | 14 | [[#55417d00]] | NOT_BETWEEN |
2 | 1 | [[#2b405260]] | NE |
2 | 2 | [[#2b405260]] | EQ |
2 | 3 | [[#2b405260]] | LE |
2 | 4 | [[#2b405260]] | GE |
2 | 5 | [[#2b405260]] | LT |
2 | 6 | [[#2b405260]] | GT |
2 | 7 | [[#2b405260]] | NOT_LIKE |
2 | 8 | [[#2b405260]] | LIKE |
2 | 9 | [[#2b405260]] | NOT_IN |
2 | 10 | [[#2b405260]] | IN |
2 | 11 | [[#2b405260]] | IS_NOT_NULL |
2 | 12 | [[#2b405260]] | IS_NULL |
2 | 13 | [[#2b405260]] | NOT_BETWEEN |
2 | 14 | [[#2b405260]] | BETWEEN |