Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 4 | 4 | 0.960 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 80 | src/NHibernate/Persister/Collection/CollectionPropertyMapping.cs |
2 | 4 | 88 | src/NHibernate/Persister/Collection/CollectionPropertyMapping.cs |
3 | 4 | 94 | src/NHibernate/Persister/Collection/CollectionPropertyMapping.cs |
4 | 4 | 100 | src/NHibernate/Persister/Collection/CollectionPropertyMapping.cs |
| ||||
cols = memberPersister.GetIndexColumnNames(alias); if (cols.Length != 1) throw new QueryException("composite collection index in maxIndex()"); return new string[] { "max(" + cols[0] + ')' } ; |
| ||||
cols = memberPersister.GetIndexColumnNames(alias); if (cols.Length != 1) throw new QueryException("composite collection index in minIndex()"); return new string[] { "min(" + cols[0] + ')' } ; |
| ||||
cols = memberPersister.GetElementColumnNames(alias); if (cols.Length != 1) throw new QueryException("composite collection element in maxElement()"); return new string[] { "max(" + cols[0] + ')' } ; |
| ||||
cols = memberPersister.GetElementColumnNames(alias); if (cols.Length != 1) throw new QueryException("composite collection element in minElement()"); return new System.String[] { "min(" + cols[0] + ')' } ; |
| |||
cols = memberPersister. [[#variable519e9180]](alias); if (cols.Length != 1) throw new QueryException( [[#variable519e91a0]]); return new [[#variable519e92c0]][] { [[#variable519e9260]]+ cols[0] + ')' } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#519e9180]] | GetElementColumnNames |
1 | 2 | [[#519e9180]] | GetIndexColumnNames |
1 | 3 | [[#519e9180]] | GetElementColumnNames |
1 | 4 | [[#519e9180]] | GetIndexColumnNames |
2 | 1 | [[#519e91a0]] | "composite collection element in minElement()" |
2 | 2 | [[#519e91a0]] | "composite collection index in minIndex()" |
2 | 3 | [[#519e91a0]] | "composite collection element in maxElement()" |
2 | 4 | [[#519e91a0]] | "composite collection index in maxIndex()" |
3 | 1 | [[#519e92c0]] | System.String |
3 | 2 | [[#519e92c0]] | string |
3 | 3 | [[#519e92c0]] | string |
3 | 4 | [[#519e92c0]] | string |
4 | 1 | [[#519e9260]] | "min(" |
4 | 2 | [[#519e9260]] | "min(" |
4 | 3 | [[#519e9260]] | "max(" |
4 | 4 | [[#519e9260]] | "max(" |