| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 28 | 4 | 5 | 0.961 | non_pp_embedded_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 28 | 2593 | src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs |
| 2 | 28 | 2645 | src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs |
| 3 | 28 | 2750 | src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs |
| 4 | 28 | 2802 | src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs |
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:182:36: ( tableJoin[ a ] )*
do
{
int alt34 = 2;
int LA34_0 = input.LA(1);
if ( (LA34_0 == FROM_FRAGMENT || LA34_0 == JOIN_FRAGMENT))
{
alt34 = 1;
}
switch (alt34)
{
case 1:
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:182:37: tableJoin[ a ]
{
PushFollow(FOLLOW_tableJoin_in_fromTable843);
tableJoin(a);
state.followingStackPointer--;
if (state.failed) return;
}
break;
default:
goto loop34;
}
} while (true);
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:183:36: ( tableJoin[ a ] )*
do
{
int alt35 = 2;
int LA35_0 = input.LA(1);
if ( (LA35_0 == FROM_FRAGMENT || LA35_0 == JOIN_FRAGMENT))
{
alt35 = 1;
}
switch (alt35)
{
case 1:
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:183:37: tableJoin[ a ]
{
PushFollow(FOLLOW_tableJoin_in_fromTable864);
tableJoin(a);
state.followingStackPointer--;
if (state.failed) return;
}
break;
default:
goto loop35;
}
} while (true);
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:187:46: ( tableJoin[ c ] )*
do
{
int alt37 = 2;
int LA37_0 = input.LA(1);
if ( (LA37_0 == FROM_FRAGMENT || LA37_0 == JOIN_FRAGMENT))
{
alt37 = 1;
}
switch (alt37)
{
case 1:
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:187:47: tableJoin[ c ]
{
PushFollow(FOLLOW_tableJoin_in_tableJoin892);
tableJoin(c);
state.followingStackPointer--;
if (state.failed) return;
}
break;
default:
goto loop37;
}
} while (true);
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:188:58: ( tableJoin[ d ] )*
do
{
int alt38 = 2;
int LA38_0 = input.LA(1);
if ( (LA38_0 == FROM_FRAGMENT || LA38_0 == JOIN_FRAGMENT))
{
alt38 = 1;
}
switch (alt38)
{
case 1:
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:188:59: tableJoin[ d ]
{
PushFollow(FOLLOW_tableJoin_in_tableJoin913);
tableJoin(d);
state.followingStackPointer--;
if (state.failed) return;
}
break;
default:
goto loop38;
}
} while (true);
|
| |||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:188:58: ( tableJoin[ d ] )*
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:187:46: ( tableJoin[ c ] )*
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:183:36: ( tableJoin[ a ] )*
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:182:36: ( tableJoin[ a ] )*
do
{
int [[#variable70214320]]= 2;
int [[#variable70214260]]= input.LA(1);
if (( [[#variable70214260]]== FROM_FRAGMENT || [[#variable70214260]]== JOIN_FRAGMENT))
{
[[#variable70214320]]= 1;
}
switch ( [[#variable70214320]])
{
case 1:
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:188:59: tableJoin[ d ]
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:187:47: tableJoin[ c ]
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:183:37: tableJoin[ a ]
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:182:37: tableJoin[ a ]
{
PushFollow( [[#variable702141c0]]);
tableJoin( [[#variable70214140]]);
state.followingStackPointer--;
if (state.failed)
return;
}
break;
default:
goto [[#variable702140c0]];
}
} while (true);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#70214320]] | alt38 |
| 1 | 2 | [[#70214320]] | alt37 |
| 1 | 3 | [[#70214320]] | alt35 |
| 1 | 4 | [[#70214320]] | alt34 |
| 2 | 1 | [[#70214260]] | LA38_0 |
| 2 | 2 | [[#70214260]] | LA37_0 |
| 2 | 3 | [[#70214260]] | LA35_0 |
| 2 | 4 | [[#70214260]] | LA34_0 |
| 3 | 1 | [[#702141c0]] | FOLLOW_tableJoin_in_tableJoin913 |
| 3 | 2 | [[#702141c0]] | FOLLOW_tableJoin_in_tableJoin892 |
| 3 | 3 | [[#702141c0]] | FOLLOW_tableJoin_in_fromTable864 |
| 3 | 4 | [[#702141c0]] | FOLLOW_tableJoin_in_fromTable843 |
| 4 | 1 | [[#70214140]] | d |
| 4 | 2 | [[#70214140]] | c |
| 4 | 3 | [[#70214140]] | a |
| 4 | 4 | [[#70214140]] | a |
| 5 | 1 | [[#702140c0]] | loop38 |
| 5 | 2 | [[#702140c0]] | loop37 |
| 5 | 3 | [[#702140c0]] | loop35 |
| 5 | 4 | [[#702140c0]] | loop34 |