CloneSet1026


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7260.963statement_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18342
src/NHibernate/Type/TypeFactory.cs
27359
src/NHibernate/Type/TypeFactory.cs
Clone Instance
1
Line Count
8
Source Line
342
Source File
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());


Clone Instance
2
Line Count
7
Source Line
359
Source File
src/NHibernate/Type/TypeFactory.cs

                                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());


Clone AbstractionParameter Count: 6Parameter Bindings

if (parsedName.Length < [[#variable53f1a700]])
{
   throw new ArgumentOutOfRangeException( [[#variable53f1bae0]], name, [[#variable53f1a1e0]]);
}
typeName = parsedName[0].Trim();
 [[#variable53f1b920]] [[#variable53f1b8e0]]= [[#variable53f1b8c0]].Parse(parsedName[1].Trim());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#53f1a700]]
3 
12[[#53f1a700]]
4 
21[[#53f1bae0]]
"TypeClassification.Length" 
22[[#53f1bae0]]
"TypeClassification.PrecisionScale" 
31[[#53f1a1e0]]
"It is not a valid Length name" 
32[[#53f1a1e0]]
"It is not a valid Precision/Scale name" 
41[[#53f1b920]]
int 
42[[#53f1b920]]
byte 
51[[#53f1b8e0]]
length 
52[[#53f1b8e0]]
precision 
61[[#53f1b8c0]]
Int32 
62[[#53f1b8c0]]
Byte