Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 6 | 0.963 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 342 | src/NHibernate/Type/TypeFactory.cs |
2 | 7 | 359 | src/NHibernate/Type/TypeFactory.cs |
| ||||
if (parsedName.Length < 4) { throw new ArgumentOutOfRangeException("TypeClassification.PrecisionScale", name, "It is not a valid Precision/Scale name"); } typeName = parsedName[0].Trim(); byte precision = Byte.Parse(parsedName[1].Trim()); |
| ||||
if (parsedName.Length < 3) { throw new ArgumentOutOfRangeException("TypeClassification.Length", name, "It is not a valid Length name"); } typeName = parsedName[0].Trim(); int length = Int32.Parse(parsedName[1].Trim()); |
| |||
if (parsedName.Length < [[#variable53f1a700]]) { throw new ArgumentOutOfRangeException( [[#variable53f1bae0]], name, [[#variable53f1a1e0]]); } typeName = parsedName[0].Trim(); [[#variable53f1b920]] [[#variable53f1b8e0]]= [[#variable53f1b8c0]].Parse(parsedName[1].Trim()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53f1a700]] | 3 |
1 | 2 | [[#53f1a700]] | 4 |
2 | 1 | [[#53f1bae0]] | "TypeClassification.Length" |
2 | 2 | [[#53f1bae0]] | "TypeClassification.PrecisionScale" |
3 | 1 | [[#53f1a1e0]] | "It is not a valid Length name" |
3 | 2 | [[#53f1a1e0]] | "It is not a valid Precision/Scale name" |
4 | 1 | [[#53f1b920]] | int |
4 | 2 | [[#53f1b920]] | byte |
5 | 1 | [[#53f1b8e0]] | length |
5 | 2 | [[#53f1b8e0]] | precision |
6 | 1 | [[#53f1b8c0]] | Int32 |
6 | 2 | [[#53f1b8c0]] | Byte |