Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.996 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 2258 | src/NHibernate/Impl/SessionImpl.cs |
2 | 9 | 735 | src/NHibernate/Util/StringHelper.cs |
| ||||
{ int dot = filterParameterName.IndexOf("."); if (dot <= 0) { throw new ArgumentException("Invalid filter-parameter name format", "filterParameterName"); } string filterName = filterParameterName.Substring(0, dot); string parameterName = filterParameterName.Substring(dot + 1); return new [] { filterName, parameterName } ; } |
| ||||
{ int dot = filterParameterName.IndexOf("."); if (dot <= 0) { throw new ArgumentException("Invalid filter-parameter name format; the name should be a property path.", "filterParameterName"); } string filterName = filterParameterName.Substring(0, dot); string parameterName = filterParameterName.Substring(dot + 1); return new [] { filterName, parameterName } ; } |
| |||
{ int dot = filterParameterName.IndexOf("."); if (dot <= 0) { throw new ArgumentException( [[#variable2bf4d100]], "filterParameterName"); } string filterName = filterParameterName.Substring(0, dot); string parameterName = filterParameterName.Substring(dot + 1); return new [] { filterName, parameterName } ; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2bf4d100]] | "Invalid filter-parameter name format; the name should be a property path." |
1 | 2 | [[#2bf4d100]] | "Invalid filter-parameter name format" |