Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 13 | 2 | 0.973 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 5586 | src/NHibernate.Test/Legacy/FooBarTest.cs |
2 | 2 | 5596 | src/NHibernate.Test/Legacy/FooBarTest.cs |
3 | 2 | 534 | src/NHibernate.Test/Legacy/SQLFunctionsTest.cs |
4 | 2 | 58 | src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs |
5 | 2 | 60 | src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs |
6 | 2 | 62 | src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs |
7 | 2 | 64 | src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs |
8 | 2 | 66 | src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs |
9 | 2 | 68 | src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs |
10 | 2 | 70 | src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs |
11 | 2 | 72 | src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs |
12 | 2 | 85 | src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs |
13 | 2 | 87 | src/NHibernate.Test/NHSpecificTest/NH247/Fixture.cs |
| ||||
q = s.CreateQuery("from f in class Foo"); Assert.AreEqual(10, q.List().Count); |
| ||||
q = s.CreateQuery("from f in class Foo"); Assert.AreEqual(10, q.List().Count); |
| ||||
q = s.CreateQuery("from s in class Simple"); Assert.AreEqual(3, q.List().Count); |
| ||||
q = s.CreateQuery("from ld in class LiteralDescription where upper(ld.Description) = 'DESCRIPTION 1'"); Assert.AreEqual(1, q.List().Count); |
| ||||
q = s.CreateQuery("from ld in class LiteralDescription where lower(ld.Description) = 'description 1'"); Assert.AreEqual(1, q.List().Count); |
| ||||
q = s.CreateQuery("from ld in class LiteralDescription where trim(ld.Description) = 'Description 2'"); Assert.AreEqual(1, q.List().Count); |
| ||||
q = s.CreateQuery("from ld in class LiteralDescription where trim(ld.Description) = 'Description'"); Assert.AreEqual(1, q.List().Count); |
| ||||
q = s.CreateQuery("from ld in class LiteralDescription where trim(upper(ld.Description)) = 'DESCRIPTION'"); Assert.AreEqual(1, q.List().Count); |
| ||||
q = s.CreateQuery("from ld in class LiteralDescription where lower(trim(ld.Description)) = 'description'"); Assert.AreEqual(1, q.List().Count); |
| ||||
q = s.CreateQuery("from ld in class LiteralDescription where upper(ld.Description) like 'DESCRIPTION%'"); Assert.AreEqual(2, q.List().Count); |
| ||||
q = s.CreateQuery("from ld in class LiteralDescription where lower(ld.Description) like 'description%'"); Assert.AreEqual(2, q.List().Count); |
| ||||
q = s.CreateQuery("from ld in class LiteralDescription where char_length(ld.Description) = 10"); Assert.AreEqual(1, q.List().Count); |
| ||||
q = s.CreateQuery("from ld in class LiteralDescription where char_length(trim(ld.Description)) = 10"); Assert.AreEqual(2, q.List().Count); |
| |||
q = s.CreateQuery( [[#variable45c6a300]]); Assert.AreEqual( [[#variable45c6b2a0]], q.List().Count); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#45c6a300]] | "from f in class Foo" |
1 | 2 | [[#45c6a300]] | "from s in class Simple" |
1 | 3 | [[#45c6a300]] | "from ld in class LiteralDescription where char_length(trim(ld.Description)) = 10" |
1 | 4 | [[#45c6a300]] | "from ld in class LiteralDescription where char_length(ld.Description) = 10" |
1 | 5 | [[#45c6a300]] | "from ld in class LiteralDescription where lower(ld.Description) like 'description%'" |
1 | 6 | [[#45c6a300]] | "from ld in class LiteralDescription where upper(ld.Description) like 'DESCRIPTION%'" |
1 | 7 | [[#45c6a300]] | "from ld in class LiteralDescription where lower(trim(ld.Description)) = 'description'" |
1 | 8 | [[#45c6a300]] | "from ld in class LiteralDescription where trim(upper(ld.Description)) = 'DESCRIPTION'" |
1 | 9 | [[#45c6a300]] | "from ld in class LiteralDescription where trim(ld.Description) = 'Description'" |
1 | 10 | [[#45c6a300]] | "from ld in class LiteralDescription where trim(ld.Description) = 'Description 2'" |
1 | 11 | [[#45c6a300]] | "from ld in class LiteralDescription where lower(ld.Description) = 'description 1'" |
1 | 12 | [[#45c6a300]] | "from ld in class LiteralDescription where upper(ld.Description) = 'DESCRIPTION 1'" |
1 | 13 | [[#45c6a300]] | "from f in class Foo" |
2 | 1 | [[#45c6b2a0]] | 10 |
2 | 2 | [[#45c6b2a0]] | 3 |
2 | 3 | [[#45c6b2a0]] | 2 |
2 | 4 | [[#45c6b2a0]] | 1 |
2 | 5 | [[#45c6b2a0]] | 2 |
2 | 6 | [[#45c6b2a0]] | 2 |
2 | 7 | [[#45c6b2a0]] | 1 |
2 | 8 | [[#45c6b2a0]] | 1 |
2 | 9 | [[#45c6b2a0]] | 1 |
2 | 10 | [[#45c6b2a0]] | 1 |
2 | 11 | [[#45c6b2a0]] | 1 |
2 | 12 | [[#45c6b2a0]] | 1 |
2 | 13 | [[#45c6b2a0]] | 10 |