Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 2 | 0.967 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 177 | src/NHibernate/Persister/Collection/BasicCollectionPersister.cs |
2 | 13 | 249 | src/NHibernate/Persister/Collection/OneToManyPersister.cs |
| ||||
if (useBatch) { if (st == null) { st = session.Batcher.PrepareBatchCommand(SqlUpdateRowString.CommandType, SqlUpdateRowString.Text, SqlUpdateRowString.ParameterTypes); } } else { st = session.Batcher.PrepareCommand(SqlUpdateRowString.CommandType, SqlUpdateRowString.Text, SqlUpdateRowString.ParameterTypes); } |
| ||||
if (useBatch) { if (st == null) { st = session.Batcher.PrepareBatchCommand(SqlInsertRowString.CommandType, sql.Text, SqlInsertRowString.ParameterTypes); } } else { st = session.Batcher.PrepareCommand(SqlInsertRowString.CommandType, sql.Text, SqlInsertRowString.ParameterTypes); } |
| |||
if (useBatch) { if (st == null) { st = session.Batcher.PrepareBatchCommand( [[#variable28b89c80]].CommandType, [[#variable28b89c00]].Text, [[#variable28b89c80]].ParameterTypes); } } else { st = session.Batcher.PrepareCommand( [[#variable28b89c80]].CommandType, [[#variable28b89c00]].Text, [[#variable28b89c80]].ParameterTypes); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#28b89c80]] | SqlInsertRowString |
1 | 2 | [[#28b89c80]] | SqlUpdateRowString |
2 | 1 | [[#28b89c00]] | sql |
2 | 2 | [[#28b89c00]] | SqlUpdateRowString |