Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.987 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 199 | src/NHibernate.Test/Join/JoinTest.cs |
2 | 6 | 216 | src/NHibernate.Test/Join/JoinTest.cs |
| ||||
string stuffName = "name of the stuff"; Person p = PreparePersonWithInverseJoin(s, "John", stuffName); Person result = (Person) s.Get( typeof( Person), p.Id); Assert.IsNotNull(result); |
| ||||
string stuffName = "name of the stuff"; Person p = PreparePersonWithInverseJoin(s, "John", stuffName); Person personToUpdate = (Person) s.Get( typeof( Person), p.Id); Assert.IsNotNull(personToUpdate); |
| |||
string stuffName = "name of the stuff"; Person p = PreparePersonWithInverseJoin(s, "John", stuffName); Person [[#variable28e27340]]= (Person)s.Get( typeof(Person), p.Id); Assert.IsNotNull( [[#variable28e27340]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#28e27340]] | personToUpdate |
1 | 2 | [[#28e27340]] | result |