Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.978 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 131 | src/NHibernate/Type/TypeFactory.cs |
2 | 7 | 141 | src/NHibernate/Type/TypeFactory.cs |
| ||||
private static void RegisterType(IType nhibernateType, IEnumerable<string> aliases, GetNullableTypeWithLength ctorLength) { var typeAliases = new List<string> (aliases) { nhibernateType.Name } ; foreach ( var alias in typeAliases) { typeByTypeOfName[alias] = nhibernateType; getTypeDelegatesWithLength.Add(alias, ctorLength); } } |
| ||||
private static void RegisterType(IType nhibernateType, IEnumerable<string> aliases, GetNullableTypeWithPrecision ctorPrecision) { var typeAliases = new List<string> (aliases) { nhibernateType.Name } ; foreach ( var alias in typeAliases) { typeByTypeOfName[alias] = nhibernateType; getTypeDelegatesWithPrecision.Add(alias, ctorPrecision); } } |
| |||
private static void RegisterType(IType nhibernateType, IEnumerable<string> aliases, [[#variable55418e80]] [[#variable55418e00]]) { var typeAliases = new List<string> (aliases) { nhibernateType.Name } ; foreach ( var alias in typeAliases) { typeByTypeOfName[alias] = nhibernateType; [[#variable55418da0]].Add(alias, [[#variable55418e00]]); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#55418e80]] | GetNullableTypeWithPrecision |
1 | 2 | [[#55418e80]] | GetNullableTypeWithLength |
2 | 1 | [[#55418e00]] | ctorPrecision |
2 | 2 | [[#55418e00]] | ctorLength |
3 | 1 | [[#55418da0]] | getTypeDelegatesWithPrecision |
3 | 2 | [[#55418da0]] | getTypeDelegatesWithLength |