Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.989 | statement_list[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 112 | src/NHibernate.Test/IdTest/AssignedFixture.cs |
2 | 12 | 150 | src/NHibernate.Test/IdTest/AssignedFixture.cs |
| ||||
Parent parent = new Parent() { Id = "parent", Name = "after" , } ; s.SaveOrUpdate(parent); t.Commit(); string[] warnings = GetAssignedIdentifierWarnings(ls); Assert.That(warnings.Length, Is.EqualTo(1)); |
| ||||
Parent parent = new Parent() { Id = "parent", Name = "after" , } ; s.Update(parent); t.Commit(); string[] warnings = GetAssignedIdentifierWarnings(ls); Assert.That(warnings.Length, Is.EqualTo(0)); |
| |||
Parent parent = new Parent() { Id = "parent", Name = "after" , } ; s. [[#variable652ba6e0]](parent); t.Commit(); string[] warnings = GetAssignedIdentifierWarnings(ls); Assert.That(warnings.Length, Is.EqualTo( [[#variable652ba660]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#652ba6e0]] | Update |
1 | 2 | [[#652ba6e0]] | SaveOrUpdate |
2 | 1 | [[#652ba660]] | 0 |
2 | 2 | [[#652ba660]] | 1 |