Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.988 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 15 | src/NHibernate/Properties/BackrefPropertyAccessor.cs |
2 | 4 | 17 | src/NHibernate/Properties/IndexPropertyAccessor.cs |
| ||||
public BackrefPropertyAccessor(string collectionRole, string entityName) { propertyName = collectionRole.Substring(entityName.Length + 1); this.entityName = entityName; } |
| ||||
/// <summary> Constructs a new instance of IndexPropertyAccessor. </summary> /// <param name="collectionRole">The collection role which this back ref references. </param> /// <param name="entityName">The owner entity name.</param> public IndexPropertyAccessor(string collectionRole, string entityName) { propertyName = collectionRole.Substring(entityName.Length + 1); this.entityName = entityName; } |
| |||
/// <summary> Constructs a new instance of IndexPropertyAccessor. </summary> /// <param name="collectionRole">The collection role which this back ref references. </param> /// <param name="entityName">The owner entity name.</param> public [[#variable6e366420]](string collectionRole, string entityName) { propertyName = collectionRole.Substring(entityName.Length + 1); this.entityName = entityName; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6e366420]] | BackrefPropertyAccessor |
1 | 2 | [[#6e366420]] | IndexPropertyAccessor |