Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 7 | 3 | 0.957 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 3513 | src/NHibernate.Test/Legacy/FooBarTest.cs |
2 | 2 | 4910 | src/NHibernate.Test/Legacy/FooBarTest.cs |
3 | 2 | 4913 | src/NHibernate.Test/Legacy/FooBarTest.cs |
4 | 3 | 4925 | src/NHibernate.Test/Legacy/FooBarTest.cs |
5 | 3 | 4929 | src/NHibernate.Test/Legacy/FooBarTest.cs |
6 | 1 | 4935 | src/NHibernate.Test/Legacy/FooBarTest.cs |
7 | 2 | 450 | src/NHibernate.Test/Legacy/ParentChildTest.cs |
| ||||
Assert.AreEqual(0, s.CreateQuery("from foo in class NHibernate.DomainModel.Foo").List().Count, "subdeletion"); |
| ||||
Assert.AreEqual(1, s.CreateQuery("from foo in class NHibernate.DomainModel.Foo").List().Count, "autoflush inserted row"); |
| ||||
Assert.AreEqual(1, s.CreateQuery("from foo in class NHibernate.DomainModel.Foo where foo.Char='X'").List().Count, "autflush updated row"); |
| ||||
Assert.AreEqual(1, s.CreateQuery("from foo in class NHibernate.DomainModel.Foo where 111 in foo.Bytes.elements").List(). Count, "autoflush collection update"); |
| ||||
Assert.AreEqual(1, s.CreateQuery("from foo in class NHibernate.DomainModel.Foo where 69 in foo.Bytes.elements").List(). Count, "autoflush collection update"); |
| ||||
Assert.AreEqual(0, s.CreateQuery("from foo in class NHibernate.DomainModel.Foo").List().Count, "autoflush delete"); |
| ||||
Assert.AreEqual(1, s.CreateQuery("from c in class NHibernate.DomainModel.Child where c.Parent.Count=66").List().Count, "1-1 query"); |
| |||
Assert.AreEqual( [[#variable700b6fe0]], s.CreateQuery( [[#variable6fccda80]]).List().Count, [[#variable700b8b20]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#700b6fe0]] | 1 |
1 | 2 | [[#700b6fe0]] | 0 |
1 | 3 | [[#700b6fe0]] | 1 |
1 | 4 | [[#700b6fe0]] | 1 |
1 | 5 | [[#700b6fe0]] | 1 |
1 | 6 | [[#700b6fe0]] | 1 |
1 | 7 | [[#700b6fe0]] | 0 |
2 | 1 | [[#6fccda80]] | "from c in class NHibernate.DomainModel.Child where c.Parent.Count=66" |
2 | 2 | [[#6fccda80]] | "from foo in class NHibernate.DomainModel.Foo" |
2 | 3 | [[#6fccda80]] | "from foo in class NHibernate.DomainModel.Foo" |
2 | 4 | [[#6fccda80]] | "from foo in class NHibernate.DomainModel.Foo where foo.Char='X'" |
2 | 5 | [[#6fccda80]] | "from foo in class NHibernate.DomainModel.Foo where 111 in foo.Bytes.elements" |
2 | 6 | [[#6fccda80]] | "from foo in class NHibernate.DomainModel.Foo where 69 in foo.Bytes.elements" |
2 | 7 | [[#6fccda80]] | "from foo in class NHibernate.DomainModel.Foo" |
3 | 1 | [[#700b8b20]] | "1-1 query" |
3 | 2 | [[#700b8b20]] | "subdeletion" |
3 | 3 | [[#700b8b20]] | "autoflush inserted row" |
3 | 4 | [[#700b8b20]] | "autflush updated row" |
3 | 5 | [[#700b8b20]] | "autoflush collection update" |
3 | 6 | [[#700b8b20]] | "autoflush collection update" |
3 | 7 | [[#700b8b20]] | "autoflush delete" |