Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
28 | 2 | 3 | 0.965 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 28 | 3009 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlLexer.cs |
2 | 28 | 3122 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlLexer.cs |
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:766:16: ( '0' .. '9' )* do { int alt12 = 2; int LA12_0 = input.LA(1); if ( ((LA12_0 >= '0' && LA12_0 <= '9'))) { alt12 = 1; } switch (alt12) { case 1: // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:766:17: '0' .. '9' { MatchRange('0', '9'); if (state.failed) return; } break; default: goto loop12; } } while (true); loop12: ; // Stops C# compiler whining that label 'loop12' has no statements |
| ||||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:772:12: ( '0' .. '9' )* do { int alt14 = 2; int LA14_0 = input.LA(1); if ( ((LA14_0 >= '0' && LA14_0 <= '9'))) { alt14 = 1; } switch (alt14) { case 1: // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:772:13: '0' .. '9' { MatchRange('0', '9'); if (state.failed) return; } break; default: goto loop14; } } while (true); loop14: ; // Stops C# compiler whining that label 'loop14' has no statements |
| |||
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:766:16: ( '0' .. '9' )* // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:772:12: ( '0' .. '9' )* do { int [[#variable6ff8ed20]]= 2; int [[#variable6ffa9d20]]= input.LA(1); if ((( [[#variable6ffa9d20]]>= '0' && [[#variable6ffa9d20]]<= '9'))) { [[#variable6ff8ed20]]= 1; } switch ( [[#variable6ff8ed20]]) { case 1: // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:766:17: '0' .. '9' // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:772:13: '0' .. '9' { MatchRange('0', '9'); if (state.failed) return; } break; default: goto [[#variable6ffa9d00]]; } } while (true); [[#variable6ffa9d00]]: ; // Stops C# compiler whining that label 'loop12' has no statements // Stops C# compiler whining that label 'loop14' has no statements |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6ff8ed20]] | alt12 |
1 | 2 | [[#6ff8ed20]] | alt14 |
2 | 1 | [[#6ffa9d20]] | LA12_0 |
2 | 2 | [[#6ffa9d20]] | LA14_0 |
3 | 1 | [[#6ffa9d00]] | loop12 |
3 | 2 | [[#6ffa9d00]] | loop14 |