Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 3 | 1 | 0.994 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 1984 | src/NHibernate/Dialect/Dialect.cs |
2 | 17 | 2016 | src/NHibernate/Dialect/Dialect.cs |
3 | 17 | 21 | src/NHibernate/Dialect/Function/ClassicAvgFunction.cs |
| ||||
if (columnType == null) { throw new ArgumentNullException("columnType"); } SqlType[] sqlTypes; try { sqlTypes = columnType.SqlTypes(mapping); } catch (MappingException me) { throw new QueryException(me); } if (sqlTypes.Length != 1) { throw new QueryException("multi-column type can not be in avg()"); } |
| ||||
if (columnType == null) { throw new ArgumentNullException("columnType"); } SqlType[] sqlTypes; try { sqlTypes = columnType.SqlTypes(mapping); } catch (MappingException me) { throw new QueryException(me); } if (sqlTypes.Length != 1) { throw new QueryException("multi-column type can not be in sum()"); } |
| ||||
if (columnType == null) { throw new ArgumentNullException("columnType"); } SqlType[] sqlTypes; try { sqlTypes = columnType.SqlTypes(mapping); } catch (MappingException me) { throw new QueryException(me); } if (sqlTypes.Length != 1) { throw new QueryException("multi-column type can not be in avg()"); } |
| |||
if (columnType == null) { throw new ArgumentNullException("columnType"); } SqlType[] sqlTypes; try { sqlTypes = columnType.SqlTypes(mapping); } catch (MappingException me) { throw new QueryException(me); } if (sqlTypes.Length != 1) { throw new QueryException( [[#variable54a7c4a0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54a7c4a0]] | "multi-column type can not be in sum()" |
1 | 2 | [[#54a7c4a0]] | "multi-column type can not be in avg()" |
1 | 3 | [[#54a7c4a0]] | "multi-column type can not be in avg()" |