Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.987 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 21 | src/NHibernate/Mapping/IdentifierBag.cs |
2 | 6 | 30 | src/NHibernate/Mapping/List.cs |
| ||||
if (IsGeneric) { CheckGenericArgumentsLength(1); return TypeFactory.GenericIdBag(Role, ReferencedPropertyName, GenericArguments[0]); } return TypeFactory.IdBag(Role, ReferencedPropertyName, Embedded); |
| ||||
if (IsGeneric) { CheckGenericArgumentsLength(1); return TypeFactory.GenericList(Role, ReferencedPropertyName, GenericArguments[0]); } return TypeFactory.List(Role, ReferencedPropertyName, Embedded); |
| |||
if (IsGeneric) { CheckGenericArgumentsLength(1); return TypeFactory. [[#variable2723f3a0]](Role, ReferencedPropertyName, GenericArguments[0]); } return TypeFactory. [[#variable26f8e540]](Role, ReferencedPropertyName, Embedded); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2723f3a0]] | GenericList |
1 | 2 | [[#2723f3a0]] | GenericIdBag |
2 | 1 | [[#26f8e540]] | List |
2 | 2 | [[#26f8e540]] | IdBag |