Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.975 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 54 | src/NHibernate/Event/Default/ProxyVisitor.cs |
2 | 2 | 63 | src/NHibernate/Event/Default/ProxyVisitor.cs |
| ||||
ICollectionPersister collectionPersister = Session.Factory.GetCollectionPersister(type.Role); Session.PersistenceContext.AddInitializedDetachedCollection(collectionPersister, collection); |
| ||||
ICollectionPersister collectionPersister = Session.Factory.GetCollectionPersister(collection.Role); Session.PersistenceContext.AddUninitializedDetachedCollection(collectionPersister, collection); |
| |||
ICollectionPersister collectionPersister = Session.Factory.GetCollectionPersister( [[#variable54b2a6c0]].Role); Session.PersistenceContext. [[#variable54b4c100]](collectionPersister, collection); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54b2a6c0]] | collection |
1 | 2 | [[#54b2a6c0]] | type |
2 | 1 | [[#54b4c100]] | AddUninitializedDetachedCollection |
2 | 2 | [[#54b4c100]] | AddInitializedDetachedCollection |