Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 5 | 0.971 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 3912 | src/NHibernate/Persister/Entity/AbstractEntityPersister.cs |
2 | 7 | 3921 | src/NHibernate/Persister/Entity/AbstractEntityPersister.cs |
| ||||
public void ProcessInsertGeneratedProperties(object id, object entity, object[] state, ISessionImplementor session) { if ( !HasInsertGeneratedProperties) { throw new AssertionFailure("no insert-generated properties"); } ProcessGeneratedProperties(id, entity, state, session, sqlInsertGeneratedValuesSelectString, PropertyInsertGenerationInclusions); } |
| ||||
public void ProcessUpdateGeneratedProperties(object id, object entity, object[] state, ISessionImplementor session) { if ( !HasUpdateGeneratedProperties) { throw new AssertionFailure("no update-generated properties"); } ProcessGeneratedProperties(id, entity, state, session, sqlUpdateGeneratedValuesSelectString, PropertyUpdateGenerationInclusions); } |
| |||
public void [[#variable2caafd00]](object id, object entity, object[] state, ISessionImplementor session) { if ( ! [[#variable2caafca0]]) { throw new AssertionFailure( [[#variable2caafc40]]); } ProcessGeneratedProperties(id, entity, state, session, [[#variable2caafba0]], [[#variable2caafae0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2caafd00]] | ProcessUpdateGeneratedProperties |
1 | 2 | [[#2caafd00]] | ProcessInsertGeneratedProperties |
2 | 1 | [[#2caafca0]] | HasUpdateGeneratedProperties |
2 | 2 | [[#2caafca0]] | HasInsertGeneratedProperties |
3 | 1 | [[#2caafc40]] | "no update-generated properties" |
3 | 2 | [[#2caafc40]] | "no insert-generated properties" |
4 | 1 | [[#2caafba0]] | sqlUpdateGeneratedValuesSelectString |
4 | 2 | [[#2caafba0]] | sqlInsertGeneratedValuesSelectString |
5 | 1 | [[#2caafae0]] | PropertyUpdateGenerationInclusions |
5 | 2 | [[#2caafae0]] | PropertyInsertGenerationInclusions |