Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 3 | 2 | 0.988 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 9500 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
2 | 9 | 4465 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlSqlWalker.cs |
3 | 9 | 4568 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlSqlWalker.cs |
| ||||
{ // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:580:19: ^( COUNT $p) { IASTNode root_1 = (IASTNode)adaptor.GetNilNode(); root_1 = (IASTNode)adaptor.BecomeRoot(stream_COUNT.NextNode(), root_1); adaptor.AddChild(root_1, stream_p.NextTree()); adaptor.AddChild(root_0, root_1); } } |
| ||||
// 289:2: -> ^( $w $b) { // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.g:289:5: ^( $w $b) { IASTNode root_1 = (IASTNode)adaptor.GetNilNode(); root_1 = (IASTNode)adaptor.BecomeRoot(stream_w.NextNode(), root_1); adaptor.AddChild(root_1, stream_b.NextTree()); adaptor.AddChild(root_0, root_1); } } |
| ||||
// 294:2: -> ^( $w $b) { // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.g:294:5: ^( $w $b) { IASTNode root_1 = (IASTNode)adaptor.GetNilNode(); root_1 = (IASTNode)adaptor.BecomeRoot(stream_w.NextNode(), root_1); adaptor.AddChild(root_1, stream_b.NextTree()); adaptor.AddChild(root_0, root_1); } } |
| |||
// 289:2: -> ^( $w $b) // 294:2: -> ^( $w $b) { // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.g:289:5: ^( $w $b) // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:580:19: ^( COUNT $p) // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.g:294:5: ^( $w $b) { IASTNode root_1 = (IASTNode)adaptor.GetNilNode(); root_1 = (IASTNode)adaptor.BecomeRoot( [[#variable2d0f4ee0]].NextNode(), root_1); adaptor.AddChild(root_1, [[#variable2d0f4e60]].NextTree()); adaptor.AddChild(root_0, root_1); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2d0f4ee0]] | stream_w |
1 | 2 | [[#2d0f4ee0]] | stream_COUNT |
1 | 3 | [[#2d0f4ee0]] | stream_w |
2 | 1 | [[#2d0f4e60]] | stream_b |
2 | 2 | [[#2d0f4e60]] | stream_p |
2 | 3 | [[#2d0f4e60]] | stream_b |