Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 16 | 3 | 0.955 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 108 | src/NHibernate.Test/Join/JoinTest.cs |
2 | 3 | 143 | src/NHibernate.Test/Join/JoinTest.cs |
3 | 2 | 95 | src/NHibernate.Test/JoinedSubclass/JoinedSubclassFixture.cs |
4 | 2 | 4086 | src/NHibernate.Test/Legacy/FooBarTest.cs |
5 | 2 | 4127 | src/NHibernate.Test/Legacy/FooBarTest.cs |
6 | 2 | 4176 | src/NHibernate.Test/Legacy/FooBarTest.cs |
7 | 2 | 5446 | src/NHibernate.Test/Legacy/FooBarTest.cs |
8 | 2 | 5487 | src/NHibernate.Test/Legacy/FooBarTest.cs |
9 | 2 | 5500 | src/NHibernate.Test/Legacy/FooBarTest.cs |
10 | 2 | 431 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
11 | 2 | 661 | src/NHibernate.Test/Legacy/MultiTableTest.cs |
12 | 2 | 87 | src/NHibernate.Test/Legacy/ParentChildTest.cs |
13 | 5 | 490 | src/NHibernate.Test/Legacy/SQLFunctionsTest.cs |
14 | 2 | 262 | src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs |
15 | 2 | 364 | src/NHibernate.Test/Unionsubclass/UnionSubclassFixture.cs |
16 | 2 | 87 | src/NHibernate.Test/Unionsubclass2/UnionSubclassFixture.cs |
| ||||
Assert.AreEqual(1, s.CreateQuery("from Person p where p.Zip = '30306'").List().Count); tx.Commit(); |
| ||||
Assert.AreEqual(0, s.CreateQuery("from Person").List().Count); tx.Commit(); |
| ||||
Assert.AreEqual(0, s.CreateQuery("from Person").List().Count); t.Commit(); |
| ||||
Assert.AreEqual(0, s.CreateQuery("from fee in class Fee").List().Count); tx.Commit(); |
| ||||
Assert.AreEqual(0, s.CreateQuery("from fee in class Fee").List().Count); tx.Commit(); |
| ||||
Assert.AreEqual(0, s.CreateQuery("from fee in class Fee").List().Count); tx.Commit(); |
| ||||
Assert.AreEqual(0, s.CreateQuery("from Bar bar").List().Count); t.Commit(); |
| ||||
Assert.AreEqual(3, s.CreateQuery("from Foo foo").List().Count); t.Commit(); |
| ||||
Assert.AreEqual(0, s.CreateQuery("from Foo foo").List().Count); t.Commit(); |
| ||||
Assert.AreEqual(2, s.CreateQuery("select elements(master.Details) from Master master").List().Count); t.Commit(); |
| ||||
Assert.AreEqual(0, s.CreateQuery("from s in class Top").List().Count); t.Commit(); |
| ||||
Assert.AreEqual(1, s.CreateQuery("from Parent p left join fetch p.Child").List().Count); t.Commit(); |
| ||||
Assert.AreEqual(2, s.CreateQuery( "from s in class Simple where s.Count > ( select min(sim.Count) from sim in class NHibernate.DomainModel.Simple )"). List().Count); t.Commit(); |
| ||||
Assert.AreEqual(0, s.CreateQuery("from Being").List().Count); t.Commit(); |
| ||||
Assert.AreEqual(0, s.CreateQuery("from Being").List().Count); t.Commit(); |
| ||||
Assert.AreEqual(0, s.CreateQuery("from Person").List().Count); t.Commit(); |
| |||
Assert.AreEqual( [[#variable6b9761a0]], s.CreateQuery( [[#variable56aa2b60]]).List().Count); [[#variable56aa2b00]].Commit(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6b9761a0]] | 0 |
1 | 2 | [[#6b9761a0]] | 0 |
1 | 3 | [[#6b9761a0]] | 0 |
1 | 4 | [[#6b9761a0]] | 0 |
1 | 5 | [[#6b9761a0]] | 0 |
1 | 6 | [[#6b9761a0]] | 0 |
1 | 7 | [[#6b9761a0]] | 1 |
1 | 8 | [[#6b9761a0]] | 2 |
1 | 9 | [[#6b9761a0]] | 1 |
1 | 10 | [[#6b9761a0]] | 2 |
1 | 11 | [[#6b9761a0]] | 3 |
1 | 12 | [[#6b9761a0]] | 0 |
1 | 13 | [[#6b9761a0]] | 0 |
1 | 14 | [[#6b9761a0]] | 0 |
1 | 15 | [[#6b9761a0]] | 0 |
1 | 16 | [[#6b9761a0]] | 0 |
2 | 1 | [[#56aa2b60]] | "from Person" |
2 | 2 | [[#56aa2b60]] | "from fee in class Fee" |
2 | 3 | [[#56aa2b60]] | "from Being" |
2 | 4 | [[#56aa2b60]] | "from s in class Top" |
2 | 5 | [[#56aa2b60]] | "from Person" |
2 | 6 | [[#56aa2b60]] | "from Foo foo" |
2 | 7 | [[#56aa2b60]] | "from Person p where p.Zip = '30306'" |
2 | 8 | [[#56aa2b60]] | "select elements(master.Details) from Master master" |
2 | 9 | [[#56aa2b60]] | "from Parent p left join fetch p.Child" |
2 | 10 | [[#56aa2b60]] | "from s in class Simple where s.Count > ( select min(sim.Count) from sim in class NHibernate.DomainModel.Simple )" |
2 | 11 | [[#56aa2b60]] | "from Foo foo" |
2 | 12 | [[#56aa2b60]] | "from Bar bar" |
2 | 13 | [[#56aa2b60]] | "from Being" |
2 | 14 | [[#56aa2b60]] | "from fee in class Fee" |
2 | 15 | [[#56aa2b60]] | "from fee in class Fee" |
2 | 16 | [[#56aa2b60]] | "from Person" |
3 | 1 | [[#56aa2b00]] | tx |
3 | 2 | [[#56aa2b00]] | tx |
3 | 3 | [[#56aa2b00]] | t |
3 | 4 | [[#56aa2b00]] | t |
3 | 5 | [[#56aa2b00]] | t |
3 | 6 | [[#56aa2b00]] | t |
3 | 7 | [[#56aa2b00]] | tx |
3 | 8 | [[#56aa2b00]] | t |
3 | 9 | [[#56aa2b00]] | t |
3 | 10 | [[#56aa2b00]] | t |
3 | 11 | [[#56aa2b00]] | t |
3 | 12 | [[#56aa2b00]] | t |
3 | 13 | [[#56aa2b00]] | t |
3 | 14 | [[#56aa2b00]] | tx |
3 | 15 | [[#56aa2b00]] | tx |
3 | 16 | [[#56aa2b00]] | t |