Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 5 | 0.952 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 98 | src/NHibernate.Test/CompositeId/ClassWithCompositeIdFixture.cs |
2 | 5 | 158 | src/NHibernate.Test/CompositeId/ClassWithCompositeIdFixture.cs |
3 | 5 | 852 | src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs |
| ||||
IList results2 = s2.CreateCriteria( typeof(ClassWithCompositeId)). Add (Expression.Eq("Id", secondId)). List (); Assert.AreEqual(1, results2.Count); |
| ||||
IList results = s4.CreateCriteria( typeof(ClassWithCompositeId)). Add (Expression.Eq("Id", secondId)). List (); Assert.AreEqual(0, results.Count); |
| ||||
IList results = s.CreateCriteria( typeof(BasicClass)). Add (Expression.Eq("Id", id)). List (); Assert.AreEqual(0, results.Count); |
| |||
IList [[#variable2c22bc80]]= [[#variable2c22bba0]].CreateCriteria( typeof( [[#variable2c22a600]])).Add(Expression.Eq("Id", [[#variable2c22a5e0]])).List(); Assert.AreEqual( [[#variable2c22bb60]], [[#variable2c22bc80]].Count); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2c22bc80]] | results |
1 | 2 | [[#2c22bc80]] | results2 |
1 | 3 | [[#2c22bc80]] | results |
2 | 1 | [[#2c22bba0]] | s4 |
2 | 2 | [[#2c22bba0]] | s2 |
2 | 3 | [[#2c22bba0]] | s |
3 | 1 | [[#2c22a600]] | ClassWithCompositeId |
3 | 2 | [[#2c22a600]] | ClassWithCompositeId |
3 | 3 | [[#2c22a600]] | BasicClass |
4 | 1 | [[#2c22a5e0]] | secondId |
4 | 2 | [[#2c22a5e0]] | secondId |
4 | 3 | [[#2c22a5e0]] | id |
5 | 1 | [[#2c22bb60]] | 0 |
5 | 2 | [[#2c22bb60]] | 1 |
5 | 3 | [[#2c22bb60]] | 0 |