CloneSet1682


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8230.972statement_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1846
src/NHibernate/Dialect/Function/CharIndexFunction.cs
2854
src/NHibernate/Dialect/Function/PositionSubstringFunction.cs
Clone Instance
1
Line Count
8
Source Line
46
Source File
src/NHibernate/Dialect/Function/CharIndexFunction.cs

                        buf.Add("charindex(").
                                 AddObject(pattern).
                                 Add(", ");
                        if (threeArgs)
                        {
                                buf.Add("right(");
                        }
                        buf.AddObject(orgString);


Clone Instance
2
Line Count
8
Source Line
54
Source File
src/NHibernate/Dialect/Function/PositionSubstringFunction.cs

                        buf.Add("position(").
                                 AddObject(pattern).
                                 Add(" in ");
                        if (threeArgs)
                        {
                                buf.Add("substring(");
                        }
                        buf.AddObject(orgString);


Clone AbstractionParameter Count: 3Parameter Bindings

buf.Add( [[#variable28cf3a40]]).AddObject(pattern).Add( [[#variable28cf3900]]);
if (threeArgs)
{
   buf.Add( [[#variable28cf38c0]]);
}
buf.AddObject(orgString);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#28cf3a40]]
"charindex(" 
12[[#28cf3a40]]
"position(" 
21[[#28cf3900]]
", " 
22[[#28cf3900]]
" in " 
31[[#28cf38c0]]
"right(" 
32[[#28cf38c0]]
"substring("