Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 3 | 0.982 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 68 | src/NHibernate.Test/HQL/HQLFunctions.cs |
2 | 7 | 191 | src/NHibernate.Test/HQL/HQLFunctions.cs |
3 | 7 | 366 | src/NHibernate.Test/HQL/HQLFunctions.cs |
| ||||
using (ISession s = OpenSession()) { Animal a1 = new Animal("a1", 20); Animal a2 = new Animal("a2", 10); s.Save(a1); s.Save(a2); s.Flush(); } |
| ||||
using (ISession s = OpenSession()) { Animal a1 = new Animal("a1", 20); Animal a2 = new Animal("a1", 10); s.Save(a1); s.Save(a2); s.Flush(); } |
| ||||
using (ISession s = OpenSession()) { Animal a1 = new Animal("12345", 20); Animal a2 = new Animal("1234", 20); s.Save(a1); s.Save(a2); s.Flush(); } |
| |||
using (ISession s = OpenSession()) { Animal a1 = new Animal( [[#variable4ef650e0]], 20); Animal a2 = new Animal( [[#variable4ef65080]], [[#variable4ef64f60]]); s.Save(a1); s.Save(a2); s.Flush(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4ef650e0]] | "a1" |
1 | 2 | [[#4ef650e0]] | "a1" |
1 | 3 | [[#4ef650e0]] | "12345" |
2 | 1 | [[#4ef65080]] | "a2" |
2 | 2 | [[#4ef65080]] | "a1" |
2 | 3 | [[#4ef65080]] | "1234" |
3 | 1 | [[#4ef64f60]] | 10 |
3 | 2 | [[#4ef64f60]] | 10 |
3 | 3 | [[#4ef64f60]] | 20 |