Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 3 | 0.951 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 1246 | src/NHibernate/Impl/SessionImpl.cs |
2 | 5 | 1270 | src/NHibernate/Impl/SessionImpl.cs |
3 | 5 | 658 | src/NHibernate/Impl/StatelessSessionImpl.cs |
| ||||
public object Load(System.Type entityClass, object id) { using (new SessionIdLoggingContext(SessionId)) { return Load(entityClass.FullName, id); } } |
| ||||
public object Get(System.Type entityClass, object id) { using (new SessionIdLoggingContext(SessionId)) { return Get(entityClass.FullName, id); } } |
| ||||
private object Get(System.Type persistentClass, object id) { using (new SessionIdLoggingContext(SessionId)) { return Get(persistentClass.FullName, id); } } |
| |||
[[#variable2cb6dd20]]object [[#variable2cb6dca0]](System.Type [[#variable2cb6dbe0]], object id) { using (new SessionIdLoggingContext(SessionId)) { return [[#variable2cb6dca0]]( [[#variable2cb6dbe0]].FullName, id); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2cb6dd20]] | public |
1 | 2 | [[#2cb6dd20]] | public |
1 | 3 | [[#2cb6dd20]] | private |
2 | 1 | [[#2cb6dca0]] | Get |
2 | 2 | [[#2cb6dca0]] | Load |
2 | 3 | [[#2cb6dca0]] | Get |
3 | 1 | [[#2cb6dbe0]] | entityClass |
3 | 2 | [[#2cb6dbe0]] | entityClass |
3 | 3 | [[#2cb6dbe0]] | persistentClass |