Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 5 | 0.977 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 3506 | src/NHibernate/Persister/Entity/AbstractEntityPersister.cs |
2 | 12 | 3522 | src/NHibernate/Persister/Entity/AbstractEntityPersister.cs |
| ||||
public virtual int[] FindDirty(object[] currentState, object[] previousState, object entity, ISessionImplementor session) { int[] props = TypeFactory.FindDirty( entityMetamodel.Properties, currentState, previousState, propertyColumnUpdateable, HasUninitializedLazyProperties(entity, session.EntityMode), session); if (props == null) { return null; } else { LogDirtyProperties(props); return props; } } |
| ||||
public virtual int[] FindModified(object[] old, object[] current, object entity, ISessionImplementor session) { int[] props = TypeFactory.FindModified( entityMetamodel.Properties, current, old, propertyColumnUpdateable, HasUninitializedLazyProperties(entity, session.EntityMode), session); if (props == null) { return null; } else { LogDirtyProperties(props); return props; } } |
| |||
public virtual int[] [[#variable6e5b10e0]](object[] [[#variable6e5b1120]], object[] [[#variable2bce1d00]], object entity, ISessionImplementor session) { int[] props = TypeFactory. [[#variable6e5b10e0]](entityMetamodel.Properties, [[#variable2bce1bc0]], [[#variable6e5b10a0]], propertyColumnUpdateable, HasUninitializedLazyProperties(entity, session.EntityMode), session); if (props == null) { return null; } else { LogDirtyProperties(props); return props; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6e5b10e0]] | FindModified |
1 | 2 | [[#6e5b10e0]] | FindDirty |
2 | 1 | [[#6e5b1120]] | old |
2 | 2 | [[#6e5b1120]] | currentState |
3 | 1 | [[#2bce1d00]] | current |
3 | 2 | [[#2bce1d00]] | previousState |
4 | 1 | [[#2bce1bc0]] | current |
4 | 2 | [[#2bce1bc0]] | currentState |
5 | 1 | [[#6e5b10a0]] | old |
5 | 2 | [[#6e5b10a0]] | previousState |