Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.978 | switch_section |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 196 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
2 | 6 | 202 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
| ||||
case OR: node.Type = AND; node.Text = "{and}"; NegateNode(node.GetChild(0)); NegateNode(node.GetChild(1)); return node; |
| ||||
case AND: node.Type = OR; node.Text = "{or}"; NegateNode(node.GetChild(0)); NegateNode(node.GetChild(1)); return node; |
| |||
case [[#variable50f16aa0]]: node.Type = [[#variable50f16920]]; node.Text = [[#variable50f168c0]]; NegateNode(node.GetChild(0)); NegateNode(node.GetChild(1)); return node; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#50f16aa0]] | OR |
1 | 2 | [[#50f16aa0]] | AND |
2 | 1 | [[#50f16920]] | AND |
2 | 2 | [[#50f16920]] | OR |
3 | 1 | [[#50f168c0]] | "{and}" |
3 | 2 | [[#50f168c0]] | "{or}" |