Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 3 | 0.970 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 263 | src/NHibernate.DomainModel/CustomPersister.cs |
2 | 9 | 275 | src/NHibernate.DomainModel/CustomPersister.cs |
| ||||
public int[] FindDirty(object[] currentState, object[] previousState, object entity, ISessionImplementor session) { if ( !EqualsHelper.Equals(currentState[0], previousState[0])) { return new int[] { 0 } ; } else { return null; } } |
| ||||
public int[] FindModified(object[] old, object[] current, object entity, ISessionImplementor session) { if ( !EqualsHelper.Equals(old[0], current[0])) { return new int[] { 0 } ; } else { return null; } } |
| |||
public int[] [[#variable49dd5e60]](object[] [[#variable49dd4660]], object[] [[#variable2d06c700]], object entity, ISessionImplementor session) { if ( !EqualsHelper.Equals( [[#variable49dd4660]][0], [[#variable2d06c700]][0])) { return new int[] { 0 } ; } else { return null; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#49dd5e60]] | FindModified |
1 | 2 | [[#49dd5e60]] | FindDirty |
2 | 1 | [[#49dd4660]] | old |
2 | 2 | [[#49dd4660]] | currentState |
3 | 1 | [[#2d06c700]] | current |
3 | 2 | [[#2d06c700]] | previousState |