Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 4 | 3 | 0.979 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 103 | src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs |
2 | 3 | 107 | src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs |
3 | 3 | 111 | src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs |
4 | 3 | 115 | src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs |
| ||||
c = s.CreateCriteria( typeof(LiteralDescription)); c.Add(Expression.InsensitiveLike("Description", "DeScripTion", MatchMode.Start)); Assert.AreEqual(2, c.List().Count); |
| ||||
c = s.CreateCriteria( typeof(LiteralDescription)); c.Add(Expression.InsensitiveLike("Description", "DeScripTion", MatchMode.Anywhere)); Assert.AreEqual(4, c.List().Count); |
| ||||
c = s.CreateCriteria( typeof(LiteralDescription)); c.Add(Expression.InsensitiveLike("Description", "tHeeND", MatchMode.End)); Assert.AreEqual(1, c.List().Count); |
| ||||
c = s.CreateCriteria( typeof(LiteralDescription)); c.Add(Expression.InsensitiveLike("Description", "DescRiptioN TheEnd", MatchMode.Exact)); Assert.AreEqual(1, c.List().Count); |
| |||
c = s.CreateCriteria( typeof(LiteralDescription)); c.Add(Expression.InsensitiveLike("Description", [[#variable57f46880]], MatchMode. [[#variable57d1ed40]])); Assert.AreEqual( [[#variable57f46800]], c.List().Count); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#57f46880]] | "DescRiptioN TheEnd" |
1 | 2 | [[#57f46880]] | "tHeeND" |
1 | 3 | [[#57f46880]] | "DeScripTion" |
1 | 4 | [[#57f46880]] | "DeScripTion" |
2 | 1 | [[#57d1ed40]] | Exact |
2 | 2 | [[#57d1ed40]] | End |
2 | 3 | [[#57d1ed40]] | Start |
2 | 4 | [[#57d1ed40]] | Anywhere |
3 | 1 | [[#57f46800]] | 1 |
3 | 2 | [[#57f46800]] | 1 |
3 | 3 | [[#57f46800]] | 2 |
3 | 4 | [[#57f46800]] | 4 |