CloneSet314


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5430.984statement_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1561
src/NHibernate.Test/IdTest/AssignedFixture.cs
2588
src/NHibernate.Test/IdTest/AssignedFixture.cs
35200
src/NHibernate.Test/IdTest/AssignedFixture.cs
45245
src/NHibernate.Test/IdTest/AssignedFixture.cs
Clone Instance
1
Line Count
5
Source Line
61
Source File
src/NHibernate.Test/IdTest/AssignedFixture.cs

                                long actual = s.CreateQuery("select count(p) from Parent p").UniqueResult<long> ();
                                Assert.That(actual, Is.EqualTo(1));

                                string[] warnings = GetAssignedIdentifierWarnings(ls);
                                Assert.That(warnings.Length, Is.EqualTo(1));


Clone Instance
2
Line Count
5
Source Line
88
Source File
src/NHibernate.Test/IdTest/AssignedFixture.cs

                                long actual = s.CreateQuery("select count(p) from Parent p").UniqueResult<long> ();
                                Assert.That(actual, Is.EqualTo(1));

                                string[] warnings = GetAssignedIdentifierWarnings(ls);
                                Assert.That(warnings.Length, Is.EqualTo(0));


Clone Instance
3
Line Count
5
Source Line
200
Source File
src/NHibernate.Test/IdTest/AssignedFixture.cs

                                long actual = s.CreateQuery("select count(c) from Child c").UniqueResult<long> ();
                                Assert.That(actual, Is.EqualTo(2));

                                string[] warnings = GetAssignedIdentifierWarnings(ls);
                                Assert.That(warnings.Length, Is.EqualTo(2));


Clone Instance
4
Line Count
5
Source Line
245
Source File
src/NHibernate.Test/IdTest/AssignedFixture.cs

                                long actual = s.CreateQuery("select count(c) from Child c").UniqueResult<long> ();
                                Assert.That(actual, Is.EqualTo(2));

                                string[] warnings = GetAssignedIdentifierWarnings(ls);
                                Assert.That(warnings.Length, Is.EqualTo(0));


Clone AbstractionParameter Count: 3Parameter Bindings

long actual = s.CreateQuery( [[#variable4ef90520]]).UniqueResult<long> ();
Assert.That(actual, Is.EqualTo( [[#variable4f880fc0]]));
string[] warnings = GetAssignedIdentifierWarnings(ls);
Assert.That(warnings.Length, Is.EqualTo( [[#variable4f880f60]]));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4ef90520]]
"select count(c) from Child c" 
12[[#4ef90520]]
"select count(p) from Parent p" 
13[[#4ef90520]]
"select count(c) from Child c" 
14[[#4ef90520]]
"select count(p) from Parent p" 
21[[#4f880fc0]]
2 
22[[#4f880fc0]]
1 
23[[#4f880fc0]]
2 
24[[#4f880fc0]]
1 
31[[#4f880f60]]
0 
32[[#4f880f60]]
0 
33[[#4f880f60]]
2 
34[[#4f880f60]]
1