Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.951 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 28 | src/NHibernate/Stat/SessionStatisticsImpl.cs |
2 | 7 | 38 | src/NHibernate/Stat/SessionStatisticsImpl.cs |
| ||||
public IList<EntityKey> EntityKeys { get { List<EntityKey> result = new List<EntityKey> (); result.AddRange(session.PersistenceContext.EntitiesByKey.Keys); return result.AsReadOnly(); } } |
| ||||
public IList<CollectionKey> CollectionKeys { get { List<CollectionKey> result = new List<CollectionKey> (); result.AddRange(session.PersistenceContext.CollectionsByKey.Keys); return result.AsReadOnly(); } } |
| |||
public IList< [[#variable2719e100]]> [[#variable2719e200]] { get { List< [[#variable2719e100]]> result = new List< [[#variable2719e100]]> (); result.AddRange(session.PersistenceContext. [[#variable2719e1c0]].Keys); return result.AsReadOnly(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2719e100]] | CollectionKey |
1 | 2 | [[#2719e100]] | EntityKey |
2 | 1 | [[#2719e200]] | CollectionKeys |
2 | 2 | [[#2719e200]] | EntityKeys |
3 | 1 | [[#2719e1c0]] | CollectionsByKey |
3 | 2 | [[#2719e1c0]] | EntitiesByKey |