Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 5 | 3 | 0.962 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 391 | src/NHibernate/Mapping/Collection.cs |
2 | 3 | 395 | src/NHibernate/Mapping/Collection.cs |
3 | 4 | 56 | src/NHibernate/Mapping/IdentifierCollection.cs |
4 | 4 | 76 | src/NHibernate/Mapping/IndexedCollection.cs |
5 | 5 | 372 | src/NHibernate/Mapping/RootClass.cs |
| ||||
if ( !Key.IsValid(mapping)) { throw new MappingException(string.Format("collection foreign key mapping has wrong number of columns: {0} type: {1}", Role, Key.Type.Name)); } |
| ||||
if ( !Element.IsValid(mapping)) { throw new MappingException(string.Format("collection element mapping has wrong number of columns: {0} type: {1}", Role, Element.Type.Name)); } |
| ||||
if ( !Identifier.IsValid(mapping)) { throw new MappingException( string.Format("collection id mapping has wrong number of columns: {0} type: {1}", Role, Identifier.Type.Name)); } |
| ||||
if ( !Index.IsValid(mapping)) { throw new MappingException( string.Format("collection index mapping has wrong number of columns: {0} type: {1}", Role, Index.Type.Name)); } |
| ||||
if ( !Identifier.IsValid(mapping)) { throw new MappingException( string.Format("identifier mapping has wrong number of columns: {0} type: {1}", EntityName, Identifier.Type.Name)); } |
| |||
if ( ! [[#variable5eb0c5a0]].IsValid(mapping)) { throw new MappingException(string.Format( [[#variable5eb0c540]], [[#variable5eb0c4c0]], [[#variable5eb0c5a0]].Type.Name)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5eb0c5a0]] | Identifier |
1 | 2 | [[#5eb0c5a0]] | Index |
1 | 3 | [[#5eb0c5a0]] | Identifier |
1 | 4 | [[#5eb0c5a0]] | Key |
1 | 5 | [[#5eb0c5a0]] | Element |
2 | 1 | [[#5eb0c540]] | "identifier mapping has wrong number of columns: {0} type: {1}" |
2 | 2 | [[#5eb0c540]] | "collection index mapping has wrong number of columns: {0} type: {1}" |
2 | 3 | [[#5eb0c540]] | "collection id mapping has wrong number of columns: {0} type: {1}" |
2 | 4 | [[#5eb0c540]] | "collection foreign key mapping has wrong number of columns: {0} type: {1}" |
2 | 5 | [[#5eb0c540]] | "collection element mapping has wrong number of columns: {0} type: {1}" |
3 | 1 | [[#5eb0c4c0]] | EntityName |
3 | 2 | [[#5eb0c4c0]] | Role |
3 | 3 | [[#5eb0c4c0]] | Role |
3 | 4 | [[#5eb0c4c0]] | Role |
3 | 5 | [[#5eb0c4c0]] | Role |