CloneSet837


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5350.952statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1598
src/NHibernate.Test/CompositeId/ClassWithCompositeIdFixture.cs
25158
src/NHibernate.Test/CompositeId/ClassWithCompositeIdFixture.cs
35852
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs
Clone Instance
1
Line Count
5
Source Line
98
Source File
src/NHibernate.Test/CompositeId/ClassWithCompositeIdFixture.cs

                        IList results2 = s2.CreateCriteria( typeof(ClassWithCompositeId)).
                                 Add     (Expression.Eq("Id", secondId)).
                                 List    ();

                        Assert.AreEqual(1, results2.Count);


Clone Instance
2
Line Count
5
Source Line
158
Source File
src/NHibernate.Test/CompositeId/ClassWithCompositeIdFixture.cs

                        IList results = s4.CreateCriteria( typeof(ClassWithCompositeId)).
                                 Add    (Expression.Eq("Id", secondId)).
                                 List   ();

                        Assert.AreEqual(0, results.Count);


Clone Instance
3
Line Count
5
Source Line
852
Source File
src/NHibernate.Test/NHSpecificTest/BasicClassFixture.cs

                        IList results = s.CreateCriteria( typeof(BasicClass)).
                                 Add    (Expression.Eq("Id", id)).
                                 List   ();

                        Assert.AreEqual(0, results.Count);


Clone AbstractionParameter Count: 5Parameter Bindings

IList [[#variable2c22bc80]]= [[#variable2c22bba0]].CreateCriteria( typeof( [[#variable2c22a600]])).Add(Expression.Eq("Id", [[#variable2c22a5e0]])).List();
Assert.AreEqual( [[#variable2c22bb60]], [[#variable2c22bc80]].Count);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2c22bc80]]
results 
12[[#2c22bc80]]
results2 
13[[#2c22bc80]]
results 
21[[#2c22bba0]]
s4 
22[[#2c22bba0]]
s2 
23[[#2c22bba0]]
s 
31[[#2c22a600]]
ClassWithCompositeId 
32[[#2c22a600]]
ClassWithCompositeId 
33[[#2c22a600]]
BasicClass 
41[[#2c22a5e0]]
secondId 
42[[#2c22a5e0]]
secondId 
43[[#2c22a5e0]]
id 
51[[#2c22bb60]]
0 
52[[#2c22bb60]]
1 
53[[#2c22bb60]]
0