Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
29 | 2 | 3 | 0.976 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 29 | 29 | src/NHibernate/Type/ForeignKeyDirection.cs |
2 | 26 | 57 | src/NHibernate/Type/ForeignKeyDirection.cs |
| ||||
#region Nested type: ForeignKeyFromParentClass [Serializable] private class ForeignKeyFromParentClass : ForeignKeyDirection { public override bool CascadeNow(CascadePoint cascadePoint) { return cascadePoint != CascadePoint.AfterInsertBeforeDelete; } public override bool Equals(object obj) { return Equals(obj as ForeignKeyFromParentClass); } public bool Equals(ForeignKeyFromParentClass other) { return !ReferenceEquals(null, other); } public override int GetHashCode() { return 37; } } |
| ||||
#endregion #region Nested type: ForeignKeyToParentClass [Serializable] private class ForeignKeyToParentClass : ForeignKeyDirection { public override bool CascadeNow(CascadePoint cascadePoint) { return cascadePoint != CascadePoint.BeforeInsertAfterDelete; } public override bool Equals(object obj) { return Equals(obj as ForeignKeyToParentClass); } public bool Equals(ForeignKeyToParentClass other) { return !ReferenceEquals(null, other); } public override int GetHashCode() { return 17; } } |
| |||
#region Nested type: ForeignKeyFromParentClass #endregion #region Nested type: ForeignKeyToParentClass [Serializable] private class [[#variable5f4a0f60]]: ForeignKeyDirection { public override bool CascadeNow(CascadePoint cascadePoint) { return cascadePoint != CascadePoint. [[#variable5f4a0ec0]]; } public override bool Equals(object obj) { return Equals(obj as [[#variable5f4a0f60]]); } public bool Equals( [[#variable5f4a0f60]]other) { return !ReferenceEquals(null, other); } public override int GetHashCode() { return [[#variable5f4a0e20]]; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5f4a0f60]] | ForeignKeyFromParentClass |
1 | 2 | [[#5f4a0f60]] | ForeignKeyToParentClass |
2 | 1 | [[#5f4a0ec0]] | AfterInsertBeforeDelete |
2 | 2 | [[#5f4a0ec0]] | BeforeInsertAfterDelete |
3 | 1 | [[#5f4a0e20]] | 37 |
3 | 2 | [[#5f4a0e20]] | 17 |