CloneSet749


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.985statement_list[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
174329
src/NHibernate.Test/Legacy/FooBarTest.cs
264341
src/NHibernate.Test/Legacy/FooBarTest.cs
Clone Instance
1
Line Count
7
Source Line
4329
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        foo.Component = null;
                        s = OpenSession();
                        txn = s.BeginTransaction();
                        s.Load(foo, foo.Key);

                        Assert.AreEqual("IFA", foo.Component.Name, "save components");
                        Assert.AreEqual("bar", foo.Component.Subcomponent.Name, "save subcomponent");


Clone Instance
2
Line Count
6
Source Line
4341
Source File
src/NHibernate.Test/Legacy/FooBarTest.cs

                        foo.Component = null;
                        s = OpenSession();
                        txn = s.BeginTransaction();
                        s.Load(foo, foo.Key);
                        Assert.AreEqual("IFA", foo.Component.Name, "update components");
                        Assert.AreEqual("baz", foo.Component.Subcomponent.Name, "update subcomponent");


Clone AbstractionParameter Count: 3Parameter Bindings

foo.Component = null;
s = OpenSession();
txn = s.BeginTransaction();
s.Load(foo, foo.Key);
Assert.AreEqual("IFA", foo.Component.Name, [[#variable4ff98200]]);
Assert.AreEqual( [[#variable2d183120]], foo.Component.Subcomponent.Name, [[#variable4ff981e0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4ff98200]]
"update components" 
12[[#4ff98200]]
"save components" 
21[[#2d183120]]
"baz" 
22[[#2d183120]]
"bar" 
31[[#4ff981e0]]
"update subcomponent" 
32[[#4ff981e0]]
"save subcomponent"