Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 4 | 0.958 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 443 | src/NHibernate/Dialect/Dialect.cs |
2 | 7 | 518 | src/NHibernate/Dialect/Dialect.cs |
| ||||
{ string result = typeNames.Get(sqlType.DbType, length, precision, scale); if (result == null) { throw new HibernateException(string.Format("No type mapping for SqlType {0} of length {1}", sqlType, length)); } return result; } |
| ||||
{ string result = hibernateTypeNames.Get(code, length, precision, scale); if (result == null) { throw new HibernateException(string.Format("No Hibernate type mapping for java.sql.Types code: {0}, length: {1}", code, length)); } return result; } |
| |||
{ string result = [[#variable277f2d80]].Get( [[#variable277f2f00]], length, precision, scale); if (result == null) { throw new HibernateException(string.Format( [[#variable277f2360]], [[#variable277f2da0]], length)); } return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#277f2d80]] | typeNames |
1 | 2 | [[#277f2d80]] | hibernateTypeNames |
2 | 1 | [[#277f2f00]] | sqlType.DbType |
2 | 2 | [[#277f2f00]] | code |
3 | 1 | [[#277f2360]] | "No type mapping for SqlType {0} of length {1}" |
3 | 2 | [[#277f2360]] | "No Hibernate type mapping for java.sql.Types code: {0}, length: {1}" |
4 | 1 | [[#277f2da0]] | sqlType |
4 | 2 | [[#277f2da0]] | code |