Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
29 | 2 | 0 | 1.000 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 29 | 221 | src/NHibernate/Util/CollectionHelper.cs |
2 | 29 | 655 | src/NHibernate/Util/CollectionHelper.cs |
| ||||
{ if (c1 == c2) { return true; } if (c1 == null || c2 == null) { return false; } if (c1.Count != c2.Count) { return false; } IEnumerator e1 = c1.GetEnumerator(); IEnumerator e2 = c2.GetEnumerator(); while (e1.MoveNext()) { e2.MoveNext(); if ( !Equals(e1.Current, e2.Current)) { return false; } } return true; } |
| ||||
{ if (c1 == c2) { return true; } if (c1 == null || c2 == null) { return false; } if (c1.Count != c2.Count) { return false; } IEnumerator e1 = c1.GetEnumerator(); IEnumerator e2 = c2.GetEnumerator(); while (e1.MoveNext()) { e2.MoveNext(); if ( !Equals(e1.Current, e2.Current)) { return false; } } return true; } |
| |||
{ if (c1 == c2) { return true; } if (c1 == null || c2 == null) { return false; } if (c1.Count != c2.Count) { return false; } IEnumerator e1 = c1.GetEnumerator(); IEnumerator e2 = c2.GetEnumerator(); while (e1.MoveNext()) { e2.MoveNext(); if ( !Equals(e1.Current, e2.Current)) { return false; } } return true; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |