CloneSet1336


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.955statement_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1726
src/NHibernate.Test/Criteria/DetachedCriteriaSerializable.cs
27433
src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs
Clone Instance
1
Line Count
7
Source Line
26
Source File
src/NHibernate.Test/Criteria/DetachedCriteriaSerializable.cs

                        byte[] bytes = SerializationHelper.Serialize(dc);

                        DetachedCriteria dcs = (DetachedCriteria)SerializationHelper.Deserialize(bytes);

                        using (ISession s = OpenSession())
                        {
                                dcs.GetExecutableCriteria(s).List();
                        }


Clone Instance
2
Line Count
7
Source Line
433
Source File
src/NHibernate.Test/QueryTest/DetachedQueryFixture.cs

                        byte[] bytes = SerializationHelper.Serialize(dq);

                        DetachedQuery dqs = (DetachedQuery)SerializationHelper.Deserialize(bytes);

                        using (ISession s = OpenSession())
                        {
                                dqs.GetExecutableQuery(s).List();
                        }


Clone AbstractionParameter Count: 4Parameter Bindings

byte[] bytes = SerializationHelper.Serialize( [[#variable494de960]]);
 [[#variable494de940]] [[#variable494df420]]= ( [[#variable494de940]])SerializationHelper.Deserialize(bytes);
using (ISession s = OpenSession())
{
    [[#variable494df420]]. [[#variable494df260]](s).List();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#494de960]]
dc 
12[[#494de960]]
dq 
21[[#494de940]]
DetachedCriteria 
22[[#494de940]]
DetachedQuery 
31[[#494df420]]
dcs 
32[[#494df420]]
dqs 
41[[#494df260]]
GetExecutableCriteria 
42[[#494df260]]
GetExecutableQuery