Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.980 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 60 | src/NHibernate/Id/IdentityGenerator.cs |
2 | 5 | 113 | src/NHibernate/Id/IdentityGenerator.cs |
| ||||
public override IdentifierGeneratingInsert PrepareIdentifierGeneratingInsert() { InsertSelectIdentityInsert insert = new InsertSelectIdentityInsert(factory); insert.AddIdentityColumn(persister.RootTableKeyColumnNames[0]); return insert; } |
| ||||
public override IdentifierGeneratingInsert PrepareIdentifierGeneratingInsert() { IdentifierGeneratingInsert insert = new IdentifierGeneratingInsert(factory); insert.AddIdentityColumn(persister.RootTableKeyColumnNames[0]); return insert; } |
| |||
public override IdentifierGeneratingInsert PrepareIdentifierGeneratingInsert() { [[#variable65a0f240]]insert = new [[#variable65a0f240]](factory); insert.AddIdentityColumn(persister.RootTableKeyColumnNames[0]); return insert; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#65a0f240]] | IdentifierGeneratingInsert |
1 | 2 | [[#65a0f240]] | InsertSelectIdentityInsert |