Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 3 | 3 | 0.961 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 33 | src/NHibernate.Test/SqlCommandTest/TemplateFixture.cs |
2 | 1 | 42 | src/NHibernate.Test/SqlCommandTest/TemplateFixture.cs |
3 | 1 | 53 | src/NHibernate.Test/SqlCommandTest/TemplateFixture.cs |
| ||||
Assert.AreEqual(expectedFragment, Template.RenderWhereStringTemplate(whereFragment, dialect, functionRegistry)); |
| ||||
Assert.AreEqual(expectedOrderBy, Template.RenderOrderByStringTemplate(orderBy, dialect, functionRegistry)); |
| ||||
Assert.AreEqual(expectedOrderBy, Template.RenderOrderByStringTemplate(orderBy, dialect, functionRegistry)); |
| |||
Assert.AreEqual( [[#variable275c2300]], Template. [[#variable275c2240]]( [[#variable275c21c0]], dialect, functionRegistry)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#275c2300]] | expectedOrderBy |
1 | 2 | [[#275c2300]] | expectedFragment |
1 | 3 | [[#275c2300]] | expectedOrderBy |
2 | 1 | [[#275c2240]] | RenderOrderByStringTemplate |
2 | 2 | [[#275c2240]] | RenderWhereStringTemplate |
2 | 3 | [[#275c2240]] | RenderOrderByStringTemplate |
3 | 1 | [[#275c21c0]] | orderBy |
3 | 2 | [[#275c21c0]] | whereFragment |
3 | 3 | [[#275c21c0]] | orderBy |