Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.970 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 32 | src/NHibernate/Util/SimpleMRUCache.cs |
2 | 4 | 44 | src/NHibernate/Util/SoftLimitMRUCache.cs |
| ||||
public SimpleMRUCache(int strongReferenceCount) { this.strongReferenceCount = strongReferenceCount; cache = new LRUMap(strongReferenceCount); } |
| ||||
public SoftLimitMRUCache(int strongReferenceCount) { this.strongReferenceCount = strongReferenceCount; strongReferenceCache = new LRUMap(strongReferenceCount); } |
| |||
public [[#variable67adc740]](int strongReferenceCount) { this.strongReferenceCount = strongReferenceCount; [[#variable67adc720]]= new LRUMap(strongReferenceCount); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#67adc740]] | SimpleMRUCache |
1 | 2 | [[#67adc740]] | SoftLimitMRUCache |
2 | 1 | [[#67adc720]] | cache |
2 | 2 | [[#67adc720]] | strongReferenceCache |