Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 6 | 5 | 0.956 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 2456 | src/NHibernate/Impl/SessionImpl.cs |
2 | 8 | 2482 | src/NHibernate/Impl/SessionImpl.cs |
3 | 8 | 2522 | src/NHibernate/Impl/SessionImpl.cs |
4 | 8 | 2535 | src/NHibernate/Impl/SessionImpl.cs |
5 | 8 | 2561 | src/NHibernate/Impl/SessionImpl.cs |
6 | 8 | 2653 | src/NHibernate/Impl/SessionImpl.cs |
| ||||
{ using (new SessionIdLoggingContext(SessionId)) { CheckAndUpdateSessionStatus(); IDeleteEventListener[] deleteEventListener = listeners.DeleteEventListeners; for (int i = 0; i < deleteEventListener.Length; i++) { deleteEventListener[i].OnDelete(@event, transientEntities); } } } |
| ||||
{ using (new SessionIdLoggingContext(SessionId)) { CheckAndUpdateSessionStatus(); ILoadEventListener[] loadEventListener = listeners.LoadEventListeners; for (int i = 0; i < loadEventListener.Length; i++) { loadEventListener[i].OnLoad(@event, loadType); } } } |
| ||||
{ using (new SessionIdLoggingContext(SessionId)) { CheckAndUpdateSessionStatus(); IMergeEventListener[] mergeEventListener = listeners.MergeEventListeners; for (int i = 0; i < mergeEventListener.Length; i++) { mergeEventListener[i].OnMerge(@event, copiedAlready); } } } |
| ||||
{ using (new SessionIdLoggingContext(SessionId)) { CheckAndUpdateSessionStatus(); IPersistEventListener[] persistEventListener = listeners.PersistEventListeners; for (int i = 0; i < persistEventListener.Length; i++) { persistEventListener[i].OnPersist(@event, copiedAlready); } } } |
| ||||
{ using (new SessionIdLoggingContext(SessionId)) { CheckAndUpdateSessionStatus(); IPersistEventListener[] persistEventListener = listeners.PersistOnFlushEventListeners; for (int i = 0; i < persistEventListener.Length; i++) { persistEventListener[i].OnPersist(@event, copiedAlready); } } } |
| ||||
{ using (new SessionIdLoggingContext(SessionId)) { CheckAndUpdateSessionStatus(); IMergeEventListener[] saveOrUpdateCopyEventListener = listeners.SaveOrUpdateCopyEventListeners; for (int i = 0; i < saveOrUpdateCopyEventListener.Length; i++) { saveOrUpdateCopyEventListener[i].OnMerge(@event, copiedAlready); } } } |
| |||
{ using (new SessionIdLoggingContext(SessionId)) { CheckAndUpdateSessionStatus(); [[#variable2d099140]][] [[#variable2d085aa0]]= listeners. [[#variable2d0991c0]]; for (int i = 0; i < [[#variable2d085aa0]].Length; i++) { [[#variable2d085aa0]][i]. [[#variable2d099120]](@event, [[#variable2d0990e0]]); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2d099140]] | IMergeEventListener |
1 | 2 | [[#2d099140]] | IPersistEventListener |
1 | 3 | [[#2d099140]] | IPersistEventListener |
1 | 4 | [[#2d099140]] | IMergeEventListener |
1 | 5 | [[#2d099140]] | ILoadEventListener |
1 | 6 | [[#2d099140]] | IDeleteEventListener |
2 | 1 | [[#2d085aa0]] | saveOrUpdateCopyEventListener |
2 | 2 | [[#2d085aa0]] | persistEventListener |
2 | 3 | [[#2d085aa0]] | persistEventListener |
2 | 4 | [[#2d085aa0]] | mergeEventListener |
2 | 5 | [[#2d085aa0]] | loadEventListener |
2 | 6 | [[#2d085aa0]] | deleteEventListener |
3 | 1 | [[#2d0991c0]] | SaveOrUpdateCopyEventListeners |
3 | 2 | [[#2d0991c0]] | PersistOnFlushEventListeners |
3 | 3 | [[#2d0991c0]] | PersistEventListeners |
3 | 4 | [[#2d0991c0]] | MergeEventListeners |
3 | 5 | [[#2d0991c0]] | LoadEventListeners |
3 | 6 | [[#2d0991c0]] | DeleteEventListeners |
4 | 1 | [[#2d099120]] | OnMerge |
4 | 2 | [[#2d099120]] | OnPersist |
4 | 3 | [[#2d099120]] | OnPersist |
4 | 4 | [[#2d099120]] | OnMerge |
4 | 5 | [[#2d099120]] | OnLoad |
4 | 6 | [[#2d099120]] | OnDelete |
5 | 1 | [[#2d0990e0]] | copiedAlready |
5 | 2 | [[#2d0990e0]] | copiedAlready |
5 | 3 | [[#2d0990e0]] | copiedAlready |
5 | 4 | [[#2d0990e0]] | copiedAlready |
5 | 5 | [[#2d0990e0]] | loadType |
5 | 6 | [[#2d0990e0]] | transientEntities |