Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 3 | 5 | 0.974 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 1973 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlSqlWalker.cs |
2 | 14 | 2929 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlSqlWalker.cs |
3 | 14 | 8238 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlSqlWalker.cs |
| ||||
if ( input.LA(1) == ASCENDING || input.LA(1) == DESCENDING) { input.Consume(); set30_tree = (IASTNode)adaptor.DupNode(set30); adaptor.AddChild(root_0, set30_tree); state.errorRecovery = false; } else { MismatchedSetException mse = new MismatchedSetException(null, input); throw mse; } |
| ||||
if ( input.LA(1) == ALL || input.LA(1) == DISTINCT) { input.Consume(); set49_tree = (IASTNode)adaptor.DupNode(set49); adaptor.AddChild(root_1, set49_tree); state.errorRecovery = false; } else { MismatchedSetException mse = new MismatchedSetException(null, input); throw mse; } |
| ||||
if ( input.LA(1) == WEIRD_IDENT || input.LA(1) == IDENT) { input.Consume(); set198_tree = (IASTNode)adaptor.DupNode(set198); adaptor.AddChild(root_0, set198_tree); state.errorRecovery = false; } else { MismatchedSetException mse = new MismatchedSetException(null, input); throw mse; } |
| |||
if (input.LA(1) == [[#variable2d9c8380]]|| input.LA(1) == [[#variable2d9c83c0]]) { input.Consume(); [[#variable2d7daa80]]= (IASTNode)adaptor.DupNode( [[#variable2d9c82e0]]); adaptor.AddChild( [[#variable2d9c82a0]], [[#variable2d7daa80]]); state.errorRecovery = false; } else { MismatchedSetException mse = new MismatchedSetException(null, input); throw mse; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2d9c8380]] | WEIRD_IDENT |
1 | 2 | [[#2d9c8380]] | ALL |
1 | 3 | [[#2d9c8380]] | ASCENDING |
2 | 1 | [[#2d9c83c0]] | IDENT |
2 | 2 | [[#2d9c83c0]] | DISTINCT |
2 | 3 | [[#2d9c83c0]] | DESCENDING |
3 | 1 | [[#2d7daa80]] | set198_tree |
3 | 2 | [[#2d7daa80]] | set49_tree |
3 | 3 | [[#2d7daa80]] | set30_tree |
4 | 1 | [[#2d9c82e0]] | set198 |
4 | 2 | [[#2d9c82e0]] | set49 |
4 | 3 | [[#2d9c82e0]] | set30 |
5 | 1 | [[#2d9c82a0]] | root_0 |
5 | 2 | [[#2d9c82a0]] | root_1 |
5 | 3 | [[#2d9c82a0]] | root_0 |