CloneSet381


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18240.977statement_list[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
118228
src/NHibernate.Test/Legacy/MultiTableTest.cs
218492
src/NHibernate.Test/Legacy/MultiTableTest.cs
Clone Instance
1
Line Count
18
Source Line
228
Source File
src/NHibernate.Test/Legacy/MultiTableTest.cs

                        simp.Date = DateTime.Now;
                        simp.Name = "simp";
                        object mid;
                        object sid;
                        if ((Dialect is SybaseDialect) || (Dialect is MsSql2000Dialect))
                        {
                                mid = s.Save(multi);
                                sid = s.Save(simp);
                        }
                        else
                        {
                                mid = 123L;
                                sid = 1234L;
                                s.Save(multi, mid);
                                s.Save(simp, sid);
                        }
                        SubMulti sm = new SubMulti();
                        sm.Amount = 66.5F;


Clone Instance
2
Line Count
18
Source Line
492
Source File
src/NHibernate.Test/Legacy/MultiTableTest.cs

                        simp.Date = DateTime.Now;
                        simp.Name = "simp";
                        object mid;
                        object sid;
                        if ((Dialect is SybaseDialect) || (Dialect is MsSql2000Dialect))
                        {
                                mid = s.Save(multi);
                                sid = s.Save(simp);
                        }
                        else
                        {
                                mid = 123L;
                                sid = 1234L;
                                s.Save(multi, mid);
                                s.Save(simp, sid);
                        }
                        Lower ls = new Lower();
                        ls.Other = ls;


Clone AbstractionParameter Count: 4Parameter Bindings

simp.Date = DateTime.Now;
simp.Name = "simp";
object mid;
object sid;
if ((Dialect is SybaseDialect) || (Dialect is MsSql2000Dialect))
{
   mid = s.Save(multi);
   sid = s.Save(simp);
}
else
{
   mid = 123L;
   sid = 1234L;
   s.Save(multi, mid);
   s.Save(simp, sid);
}
 [[#variable6c2f0ac0]] [[#variable6c2f0aa0]]= new [[#variable6c2f0ac0]]();
 [[#variable6c2f0aa0]]. [[#variable57d1ecc0]]= [[#variable6c2f0a40]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6c2f0ac0]]
SubMulti 
12[[#6c2f0ac0]]
Lower 
21[[#6c2f0aa0]]
sm 
22[[#6c2f0aa0]]
ls 
31[[#57d1ecc0]]
Amount 
32[[#57d1ecc0]]
Other 
41[[#6c2f0a40]]
66.5F 
42[[#6c2f0a40]]
ls