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.980 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 105 | src/NHibernate/Collection/Generic/PersistentGenericMap.cs |
2 | 3 | 225 | src/NHibernate/Collection/PersistentMap.cs |
| ||||
{ bool ? exists = ReadIndexExistence(key); return !exists.HasValue ? gmap.ContainsKey(key): exists.Value; } |
| ||||
{ bool ? exists = ReadIndexExistence(key); return !exists.HasValue ? map.Contains(key): exists.Value; } |
| |||
{ bool ? exists = ReadIndexExistence(key); return !exists.HasValue ? [[#variable6fe5ece0]]. [[#variable6fe5f5c0]](key): exists.Value; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6fe5ece0]] | map |
1 | 2 | [[#6fe5ece0]] | gmap |
2 | 1 | [[#6fe5f5c0]] | Contains |
2 | 2 | [[#6fe5f5c0]] | ContainsKey |