Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.969 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 179 | src/NHibernate/Collection/Generic/PersistentGenericSet.cs |
2 | 3 | 427 | src/NHibernate/Collection/PersistentSet.cs |
| ||||
{ bool ? exists = ReadElementExistence(item); return exists == null ? gset.Contains(item): exists.Value; } |
| ||||
{ bool ? exists = ReadElementExistence(o); return exists == null ? set.Contains(o): exists.Value; } |
| |||
{ bool ? exists = ReadElementExistence( [[#variable6a8dc7c0]]); return exists == null ? [[#variable6a8dc700]].Contains( [[#variable6a8dc7c0]]): exists.Value; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6a8dc7c0]] | o |
1 | 2 | [[#6a8dc7c0]] | item |
2 | 1 | [[#6a8dc700]] | set |
2 | 2 | [[#6a8dc700]] | gset |