Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 8 | 3 | 0.959 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 479 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
2 | 1 | 480 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
3 | 1 | 502 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
4 | 1 | 503 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
5 | 3 | 504 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
6 | 1 | 524 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
7 | 1 | 582 | src/NHibernate.Test/Legacy/MasterDetailTest.cs |
8 | 1 | 334 | src/NHibernate.Test/Legacy/ParentChildTest.cs |
| ||||
Assert.AreEqual(2, s.CreateFilter(master.Details, "order by this.I desc").List().Count); |
| ||||
Assert.AreEqual(2, s.CreateFilter(master.Details, "select this where this.id > -1").List().Count); |
| ||||
Assert.AreEqual(2, s.CreateFilter(master.Details, "where this.id > -1").List().Count); |
| ||||
Assert.AreEqual(2, s.CreateFilter(master.Details, "select this.Master where this.id > -1").List().Count); |
| ||||
Assert.AreEqual(2, s.CreateFilter(master.Details, "select m from m in class Master where this.id > -1 and this.Master=m"). List().Count); |
| ||||
Assert.AreEqual(2, s.CreateFilter(master.Details, "select this.Master").List().Count); |
| ||||
Assert.AreEqual(2, s.CreateFilter(master1.Incoming, "where this.id > 0 and this.Name is not null").List().Count); |
| ||||
Assert.AreEqual(2, s.CreateFilter(baz.Parts, "").List().Count); |
| |||
Assert.AreEqual(2, s.CreateFilter( [[#variable55d1f300]]. [[#variable55d1ef80]], [[#variable55d1f840]]).List().Count); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#55d1f300]] | baz |
1 | 2 | [[#55d1f300]] | master |
1 | 3 | [[#55d1f300]] | master |
1 | 4 | [[#55d1f300]] | master |
1 | 5 | [[#55d1f300]] | master |
1 | 6 | [[#55d1f300]] | master |
1 | 7 | [[#55d1f300]] | master |
1 | 8 | [[#55d1f300]] | master1 |
2 | 1 | [[#55d1ef80]] | Parts |
2 | 2 | [[#55d1ef80]] | Details |
2 | 3 | [[#55d1ef80]] | Details |
2 | 4 | [[#55d1ef80]] | Details |
2 | 5 | [[#55d1ef80]] | Details |
2 | 6 | [[#55d1ef80]] | Details |
2 | 7 | [[#55d1ef80]] | Details |
2 | 8 | [[#55d1ef80]] | Incoming |
3 | 1 | [[#55d1f840]] | "" |
3 | 2 | [[#55d1f840]] | "order by this.I desc" |
3 | 3 | [[#55d1f840]] | "select this where this.id > -1" |
3 | 4 | [[#55d1f840]] | "where this.id > -1" |
3 | 5 | [[#55d1f840]] | "select this.Master where this.id > -1" |
3 | 6 | [[#55d1f840]] | "select m from m in class Master where this.id > -1 and this.Master=m" |
3 | 7 | [[#55d1f840]] | "select this.Master" |
3 | 8 | [[#55d1f840]] | "where this.id > 0 and this.Name is not null" |