Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 2 | 0.975 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 26 | src/NHibernate.Test/HQL/SimpleFunctionsTest.cs |
2 | 7 | 56 | src/NHibernate.Test/HQL/SimpleFunctionsTest.cs |
3 | 7 | 75 | src/NHibernate.Test/HQL/SimpleFunctionsTest.cs |
| ||||
try { SqlString t = nf.Render(args, factoryImpl); Assert.Fail("No exception if has argument"); } catch (QueryException) { //correct } |
| ||||
try { SqlString t = cf.Render(args, factoryImpl); Assert.Fail("No exception if no argument"); } catch (QueryException) { //correct } |
| ||||
try { SqlString t = cf.Render(args, factoryImpl); Assert.Fail("Ivalid type accepted"); } catch (QueryException) { //correct } |
| |||
try { SqlString t = [[#variable2976f3e0]].Render(args, factoryImpl); Assert.Fail( [[#variable2976f360]]); } catch (QueryException) { //correct } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2976f3e0]] | nf |
1 | 2 | [[#2976f3e0]] | cf |
1 | 3 | [[#2976f3e0]] | cf |
2 | 1 | [[#2976f360]] | "No exception if has argument" |
2 | 2 | [[#2976f360]] | "No exception if no argument" |
2 | 3 | [[#2976f360]] | "Ivalid type accepted" |