| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 14 | 3 | 0.964 | block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 801 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
| 2 | 8 | 859 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
| 3 | 8 | 3303 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
| 4 | 8 | 3316 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
| 5 | 8 | 3329 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
| 6 | 8 | 3342 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
| 7 | 8 | 5079 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
| 8 | 8 | 5137 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
| 9 | 8 | 6592 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
| 10 | 8 | 8631 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
| 11 | 8 | 9195 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
| 12 | 8 | 9537 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
| 13 | 8 | 9893 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
| 14 | 8 | 9906 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:148:2: ( path )
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:148:4: path
{
root_0 = (IASTNode)adaptor.GetNilNode();
PushFollow(FOLLOW_path_in_stateField694);
path17 = path();
state.followingStackPointer--;
adaptor.AddChild(root_0, path17.Tree);
}
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:154:2: ( concatenation )
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:154:4: concatenation
{
root_0 = (IASTNode)adaptor.GetNilNode();
PushFollow(FOLLOW_concatenation_in_newValue707);
concatenation18 = concatenation();
state.followingStackPointer--;
adaptor.AddChild(root_0, concatenation18.Tree);
}
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:249:4: fromClassOrOuterQueryPath
{
root_0 = (IASTNode)adaptor.GetNilNode();
PushFollow(FOLLOW_fromClassOrOuterQueryPath_in_fromRange1274);
fromClassOrOuterQueryPath84 = fromClassOrOuterQueryPath();
state.followingStackPointer--;
adaptor.AddChild(root_0, fromClassOrOuterQueryPath84.Tree);
}
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:250:4: inClassDeclaration
{
root_0 = (IASTNode)adaptor.GetNilNode();
PushFollow(FOLLOW_inClassDeclaration_in_fromRange1279);
inClassDeclaration85 = inClassDeclaration();
state.followingStackPointer--;
adaptor.AddChild(root_0, inClassDeclaration85.Tree);
}
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:251:4: inCollectionDeclaration
{
root_0 = (IASTNode)adaptor.GetNilNode();
PushFollow(FOLLOW_inCollectionDeclaration_in_fromRange1284);
inCollectionDeclaration86 = inCollectionDeclaration();
state.followingStackPointer--;
adaptor.AddChild(root_0, inCollectionDeclaration86.Tree);
}
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:252:4: inCollectionElementsDeclaration
{
root_0 = (IASTNode)adaptor.GetNilNode();
PushFollow(FOLLOW_inCollectionElementsDeclaration_in_fromRange1289);
inCollectionElementsDeclaration87 = inCollectionElementsDeclaration();
state.followingStackPointer--;
adaptor.AddChild(root_0, inCollectionElementsDeclaration87.Tree);
}
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:353:2: ( expression )
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:353:4: expression
{
root_0 = (IASTNode)adaptor.GetNilNode();
PushFollow(FOLLOW_expression_in_logicalExpression1780);
expression140 = expression();
state.followingStackPointer--;
adaptor.AddChild(root_0, expression140.Tree);
}
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:358:2: ( logicalOrExpression )
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:358:4: logicalOrExpression
{
root_0 = (IASTNode)adaptor.GetNilNode();
PushFollow(FOLLOW_logicalOrExpression_in_expression1792);
logicalOrExpression141 = logicalOrExpression();
state.followingStackPointer--;
adaptor.AddChild(root_0, logicalOrExpression141.Tree);
}
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:465:4: bitwiseOrExpression
{
root_0 = (IASTNode)adaptor.GetNilNode();
PushFollow(FOLLOW_bitwiseOrExpression_in_bitwiseNotExpression2263);
bitwiseOrExpression176 = bitwiseOrExpression();
state.followingStackPointer--;
adaptor.AddChild(root_0, bitwiseOrExpression176.Tree);
}
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:539:6: constant
{
root_0 = (IASTNode)adaptor.GetNilNode();
PushFollow(FOLLOW_constant_in_primaryExpression2801);
constant232 = constant();
state.followingStackPointer--;
adaptor.AddChild(root_0, constant232.Tree);
}
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:567:4: aggregate
{
root_0 = (IASTNode)adaptor.GetNilNode();
PushFollow(FOLLOW_aggregate_in_identPrimary3001);
aggregate250 = aggregate();
state.followingStackPointer--;
adaptor.AddChild(root_0, aggregate250.Tree);
}
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:582:5: collectionExpr
{
root_0 = (IASTNode)adaptor.GetNilNode();
PushFollow(FOLLOW_collectionExpr_in_aggregate3117);
collectionExpr257 = collectionExpr();
state.followingStackPointer--;
adaptor.AddChild(root_0, collectionExpr257.Tree);
}
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:596:4: collectionExpr
{
root_0 = (IASTNode)adaptor.GetNilNode();
PushFollow(FOLLOW_collectionExpr_in_compoundExpr3235);
collectionExpr266 = collectionExpr();
state.followingStackPointer--;
adaptor.AddChild(root_0, collectionExpr266.Tree);
}
|
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:597:4: path
{
root_0 = (IASTNode)adaptor.GetNilNode();
PushFollow(FOLLOW_path_in_compoundExpr3240);
path267 = path();
state.followingStackPointer--;
adaptor.AddChild(root_0, path267.Tree);
}
|
| |||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:148:2: ( path )
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:148:4: path
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:154:2: ( concatenation )
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:154:4: concatenation
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:249:4: fromClassOrOuterQueryPath
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:250:4: inClassDeclaration
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:251:4: inCollectionDeclaration
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:252:4: inCollectionElementsDeclaration
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:353:2: ( expression )
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:353:4: expression
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:358:2: ( logicalOrExpression )
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:358:4: logicalOrExpression
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:465:4: bitwiseOrExpression
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:539:6: constant
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:567:4: aggregate
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:582:5: collectionExpr
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:596:4: collectionExpr
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:597:4: path
{
root_0 = (IASTNode)adaptor.GetNilNode();
PushFollow( [[#variable571c3340]]);
[[#variable571c32c0]]= [[#variable571c3260]]();
state.followingStackPointer--;
adaptor.AddChild(root_0, [[#variable571c32c0]].Tree);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#571c3340]] | FOLLOW_path_in_stateField694 |
| 1 | 2 | [[#571c3340]] | FOLLOW_concatenation_in_newValue707 |
| 1 | 3 | [[#571c3340]] | FOLLOW_fromClassOrOuterQueryPath_in_fromRange1274 |
| 1 | 4 | [[#571c3340]] | FOLLOW_inClassDeclaration_in_fromRange1279 |
| 1 | 5 | [[#571c3340]] | FOLLOW_inCollectionDeclaration_in_fromRange1284 |
| 1 | 6 | [[#571c3340]] | FOLLOW_inCollectionElementsDeclaration_in_fromRange1289 |
| 1 | 7 | [[#571c3340]] | FOLLOW_expression_in_logicalExpression1780 |
| 1 | 8 | [[#571c3340]] | FOLLOW_logicalOrExpression_in_expression1792 |
| 1 | 9 | [[#571c3340]] | FOLLOW_bitwiseOrExpression_in_bitwiseNotExpression2263 |
| 1 | 10 | [[#571c3340]] | FOLLOW_constant_in_primaryExpression2801 |
| 1 | 11 | [[#571c3340]] | FOLLOW_aggregate_in_identPrimary3001 |
| 1 | 12 | [[#571c3340]] | FOLLOW_collectionExpr_in_aggregate3117 |
| 1 | 13 | [[#571c3340]] | FOLLOW_collectionExpr_in_compoundExpr3235 |
| 1 | 14 | [[#571c3340]] | FOLLOW_path_in_compoundExpr3240 |
| 2 | 1 | [[#571c32c0]] | path17 |
| 2 | 2 | [[#571c32c0]] | concatenation18 |
| 2 | 3 | [[#571c32c0]] | fromClassOrOuterQueryPath84 |
| 2 | 4 | [[#571c32c0]] | inClassDeclaration85 |
| 2 | 5 | [[#571c32c0]] | inCollectionDeclaration86 |
| 2 | 6 | [[#571c32c0]] | inCollectionElementsDeclaration87 |
| 2 | 7 | [[#571c32c0]] | expression140 |
| 2 | 8 | [[#571c32c0]] | logicalOrExpression141 |
| 2 | 9 | [[#571c32c0]] | bitwiseOrExpression176 |
| 2 | 10 | [[#571c32c0]] | constant232 |
| 2 | 11 | [[#571c32c0]] | aggregate250 |
| 2 | 12 | [[#571c32c0]] | collectionExpr257 |
| 2 | 13 | [[#571c32c0]] | collectionExpr266 |
| 2 | 14 | [[#571c32c0]] | path267 |
| 3 | 1 | [[#571c3260]] | path |
| 3 | 2 | [[#571c3260]] | concatenation |
| 3 | 3 | [[#571c3260]] | fromClassOrOuterQueryPath |
| 3 | 4 | [[#571c3260]] | inClassDeclaration |
| 3 | 5 | [[#571c3260]] | inCollectionDeclaration |
| 3 | 6 | [[#571c3260]] | inCollectionElementsDeclaration |
| 3 | 7 | [[#571c3260]] | expression |
| 3 | 8 | [[#571c3260]] | logicalOrExpression |
| 3 | 9 | [[#571c3260]] | bitwiseOrExpression |
| 3 | 10 | [[#571c3260]] | constant |
| 3 | 11 | [[#571c3260]] | aggregate |
| 3 | 12 | [[#571c3260]] | collectionExpr |
| 3 | 13 | [[#571c3260]] | collectionExpr |
| 3 | 14 | [[#571c3260]] | path |