Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 6 | 0.965 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 29 | src/NHibernate.ByteCode.Castle/ProxyFactory.cs |
2 | 5 | 19 | src/NHibernate.ByteCode.LinFu/ProxyFactory.cs |
| ||||
var initializer = new LazyInitializer(EntityName, PersistentClass, id, GetIdentifierMethod, SetIdentifierMethod, ComponentIdType, session); object generatedProxy = IsClassProxy ? ProxyGenerator.CreateClassProxy(PersistentClass, Interfaces, initializer): ProxyGenerator.CreateInterfaceProxyWithoutTarget(Interfaces[0], Interfaces, initializer); |
| ||||
var initializer = new LazyInitializer(EntityName, PersistentClass, id, GetIdentifierMethod, SetIdentifierMethod, ComponentIdType, session); object proxyInstance = IsClassProxy ? factory.CreateProxy(PersistentClass, initializer, Interfaces): factory.CreateProxy(Interfaces[0], initializer, Interfaces); |
| |||
var initializer = new LazyInitializer(EntityName, PersistentClass, id, GetIdentifierMethod, SetIdentifierMethod, ComponentIdType, session); object [[#variable56b39fa0]]= IsClassProxy ? [[#variable56b39f60]]. [[#variable56b39f40]](PersistentClass, [[#variable4ef99e60]], [[#variable54ae97a0]]): [[#variable56b39f60]]. [[#variable56b39ec0]](Interfaces[0], [[#variable4ef99e60]], [[#variable54ae97a0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56b39fa0]] | generatedProxy |
1 | 2 | [[#56b39fa0]] | proxyInstance |
2 | 1 | [[#56b39f60]] | ProxyGenerator |
2 | 2 | [[#56b39f60]] | factory |
3 | 1 | [[#56b39f40]] | CreateClassProxy |
3 | 2 | [[#56b39f40]] | CreateProxy |
4 | 1 | [[#4ef99e60]] | Interfaces |
4 | 2 | [[#4ef99e60]] | initializer |
5 | 1 | [[#54ae97a0]] | initializer |
5 | 2 | [[#54ae97a0]] | Interfaces |
6 | 1 | [[#56b39ec0]] | CreateInterfaceProxyWithoutTarget |
6 | 2 | [[#56b39ec0]] | CreateProxy |