| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 2 | 0.964 | non_pp_embedded_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 295 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
| 2 | 3 | 300 | src/NHibernate/Hql/Ast/ANTLR/HqlParser.cs |
| ||||
// (EQ NULL b) => (IS_NULL b)
if (a.Type == NULL && b.Type != NULL)
{
return CreateIsNullParent(b, negated);
}
|
| ||||
// (EQ a NULL) => (IS_NULL a)
if (b.Type == NULL && a.Type != NULL)
{
return CreateIsNullParent(a, negated);
}
|
| |||
// (EQ NULL b) => (IS_NULL b)
// (EQ a NULL) => (IS_NULL a)
if ( [[#variable553996a0]].Type == NULL && [[#variable55399680]].Type != NULL)
{
return CreateIsNullParent( [[#variable55399680]], negated);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#553996a0]] | a |
| 1 | 2 | [[#553996a0]] | b |
| 2 | 1 | [[#55399680]] | b |
| 2 | 2 | [[#55399680]] | a |