Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.972 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 10 | src/NHibernate.Test/NHSpecificTest/NH1794/Fixture.cs |
2 | 8 | 21 | src/NHibernate.Test/NHSpecificTest/NH1794/Fixture.cs |
| ||||
[Test] public void CanQueryOnCollectionThatAppearsOnlyInTheMapping() { using (ISession session = OpenSession()) { session. CreateQuery("select p.Name, c.Name from Person p join p.Children c"). List(); } } |
| ||||
[Test] public void CanQueryOnPropertyThatOnlyShowsUpInMapping_AsAccessNone() { using (ISession session = OpenSession()) { session. CreateQuery("from Person p where p.UpdatedAt is null"). List(); } } |
| |||
[Test] public void [[#variable703e20a0]]() { using (ISession session = OpenSession()) { session.CreateQuery( [[#variable703e2020]]).List(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#703e20a0]] | CanQueryOnCollectionThatAppearsOnlyInTheMapping |
1 | 2 | [[#703e20a0]] | CanQueryOnPropertyThatOnlyShowsUpInMapping_AsAccessNone |
2 | 1 | [[#703e2020]] | "select p.Name, c.Name from Person p join p.Children c" |
2 | 2 | [[#703e2020]] | "from Person p where p.UpdatedAt is null" |