Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.991 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 1216 | src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs |
2 | 10 | 1837 | src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs |
| ||||
if ( input.LA(1) == ASCENDING || input.LA(1) == DESCENDING) { input.Consume(); state.errorRecovery = false; state.failed = false; } else { if ( state.backtracking > 0) { state.failed = true; return retval; } MismatchedSetException mse = new MismatchedSetException(null, input); throw mse; } |
| ||||
if ( input.LA(1) == DOT || input.LA(1) == IDENT) { input.Consume(); state.errorRecovery = false; state.failed = false; } else { if ( state.backtracking > 0) { state.failed = true; return retval; } MismatchedSetException mse = new MismatchedSetException(null, input); throw mse; } |
| |||
if (input.LA(1) == [[#variable700c8160]]|| input.LA(1) == [[#variable700c8100]]) { input.Consume(); state.errorRecovery = false; state.failed = false; } else { if (state.backtracking > 0) { state.failed = true; return retval; } MismatchedSetException mse = new MismatchedSetException(null, input); throw mse; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#700c8160]] | DOT |
1 | 2 | [[#700c8160]] | ASCENDING |
2 | 1 | [[#700c8100]] | IDENT |
2 | 2 | [[#700c8100]] | DESCENDING |