Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 3 | 0.963 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 640 | src/NHibernate/Type/TypeFactory.cs |
2 | 11 | 655 | src/NHibernate/Type/TypeFactory.cs |
| ||||
{ string key = GetKeyForLengthBased(serializableType.AssemblyQualifiedName, length); IType returnType; if ( !typeByTypeOfName.TryGetValue(key, out returnType)) { returnType = new SerializableType(serializableType, SqlTypeFactory.GetBinary(length)); AddToTypeOfNameWithLength(key, returnType); } return (NullableType)returnType; } |
| ||||
{ string key = GetKeyForLengthBased(NHibernateUtil.Serializable.Name, length); IType returnType; if ( !typeByTypeOfName.TryGetValue(key, out returnType)) { returnType = new SerializableType( typeof(object), SqlTypeFactory.GetBinary(length)); AddToTypeOfNameWithLength(key, returnType); } return (NullableType)returnType; } |
| |||
{ string key = GetKeyForLengthBased( [[#variable67d990e0]]. [[#variable6c54c4c0]], length); IType returnType; if ( !typeByTypeOfName.TryGetValue(key, out returnType)) { returnType = new SerializableType( [[#variable6c54c640]], SqlTypeFactory.GetBinary(length)); AddToTypeOfNameWithLength(key, returnType); } return (NullableType)returnType; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#67d990e0]] | serializableType |
1 | 2 | [[#67d990e0]] | NHibernateUtil.Serializable |
2 | 1 | [[#6c54c4c0]] | AssemblyQualifiedName |
2 | 2 | [[#6c54c4c0]] | Name |
3 | 1 | [[#6c54c640]] | serializableType |
3 | 2 | [[#6c54c640]] | typeof(object) |