Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.981 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 41 | src/NHibernate.Test/NHSpecificTest/NH1192/Fixture.cs |
2 | 3 | 45 | src/NHibernate.Test/NHSpecificTest/NH1192/Fixture.cs |
| ||||
query = session.CreateQuery("from ObjectA o where (o.FontType & 2) > 0"); result = query.List(); Assert.That(result, Has.Count.EqualTo(2)); |
| ||||
query = session.CreateQuery("from ObjectA o where (o.FontType & 4) > 0"); result = query.List(); Assert.That(result, Has.Count.EqualTo(1)); |
| |||
query = session.CreateQuery( [[#variable26129180]]); result = query.List(); Assert.That(result, Has.Count.EqualTo( [[#variable25818260]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#26129180]] | "from ObjectA o where (o.FontType & 4) > 0" |
1 | 2 | [[#26129180]] | "from ObjectA o where (o.FontType & 2) > 0" |
2 | 1 | [[#25818260]] | 1 |
2 | 2 | [[#25818260]] | 2 |