| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 2 | 0.968 | statement_list[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 21 | src/NHibernate.Test/Tools/hbm2ddl/SchemaUpdate/MigrationFixture.cs |
| 2 | 7 | 33 | src/NHibernate.Test/Tools/hbm2ddl/SchemaUpdate/MigrationFixture.cs |
| ||||
Tool.hbm2ddl.SchemaUpdate v1schemaUpdate = new Tool.hbm2ddl.SchemaUpdate(v1cfg);
v1schemaUpdate.Execute(true, true);
foreach (Exception e in v1schemaUpdate.Exceptions)
Console.WriteLine(e);
Assert.AreEqual(0, v1schemaUpdate.Exceptions.Count);
|
| ||||
Tool.hbm2ddl.SchemaUpdate v2schemaUpdate = new Tool.hbm2ddl.SchemaUpdate(v2cfg);
v2schemaUpdate.Execute(true, true);
foreach (Exception e in v2schemaUpdate.Exceptions)
Console.WriteLine(e);
Assert.AreEqual(0, v2schemaUpdate.Exceptions.Count);
|
| |||
Tool.hbm2ddl.SchemaUpdate [[#variable2993bb40]]= new Tool.hbm2ddl.SchemaUpdate( [[#variable27cac920]]); [[#variable2993bb40]].Execute(true, true); foreach (Exception e in [[#variable2993bb40]].Exceptions) Console.WriteLine(e); Assert.AreEqual(0, [[#variable2993bb40]].Exceptions.Count); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#2993bb40]] | v2schemaUpdate |
| 1 | 2 | [[#2993bb40]] | v1schemaUpdate |
| 2 | 1 | [[#27cac920]] | v2cfg |
| 2 | 2 | [[#27cac920]] | v1cfg |