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.979 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 48 | src/NHibernate/Engine/CollectionKey.cs |
2 | 9 | 79 | src/NHibernate/Engine/EntityKey.cs |
| ||||
private int GenerateHashCode() { int result = 17; unchecked { result = 37 * result + role.GetHashCode(); result = 37 * result + keyType.GetHashCode(key, entityMode, factory); } return result; } |
| ||||
private int GenerateHashCode() { int result = 17; unchecked { result = 37 * result + rootEntityName.GetHashCode(); result = 37 * result + identifierType.GetHashCode(identifier, entityMode, factory); } return result; } |
| |||
private int GenerateHashCode() { int result = 17; unchecked { result = 37 * result + [[#variable5617e100]].GetHashCode(); result = 37 * result + [[#variable5617e0a0]].GetHashCode( [[#variable56b0ffa0]], entityMode, factory); } return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5617e100]] | role |
1 | 2 | [[#5617e100]] | rootEntityName |
2 | 1 | [[#5617e0a0]] | keyType |
2 | 2 | [[#5617e0a0]] | identifierType |
3 | 1 | [[#56b0ffa0]] | key |
3 | 2 | [[#56b0ffa0]] | identifier |