CloneSet1515


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7320.975non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1726
src/NHibernate.Test/HQL/SimpleFunctionsTest.cs
2756
src/NHibernate.Test/HQL/SimpleFunctionsTest.cs
3775
src/NHibernate.Test/HQL/SimpleFunctionsTest.cs
Clone Instance
1
Line Count
7
Source Line
26
Source File
src/NHibernate.Test/HQL/SimpleFunctionsTest.cs

                        try
                        {
                                SqlString t = nf.Render(args, factoryImpl);
                                Assert.Fail("No exception if has argument");
                        }
                        catch (QueryException)
                        {
                                //correct
                        }


Clone Instance
2
Line Count
7
Source Line
56
Source File
src/NHibernate.Test/HQL/SimpleFunctionsTest.cs

                        try
                        {
                                SqlString t = cf.Render(args, factoryImpl);
                                Assert.Fail("No exception if no argument");
                        }
                        catch (QueryException)
                        {
                                //correct
                        }


Clone Instance
3
Line Count
7
Source Line
75
Source File
src/NHibernate.Test/HQL/SimpleFunctionsTest.cs

                        try
                        {
                                SqlString t = cf.Render(args, factoryImpl);
                                Assert.Fail("Ivalid type accepted");
                        }
                        catch (QueryException)
                        {
                                //correct
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

try
{
   SqlString t = [[#variable2976f3e0]].Render(args, factoryImpl);
   Assert.Fail( [[#variable2976f360]]);
}
catch (QueryException)
{
//correct
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2976f3e0]]
nf 
12[[#2976f3e0]]
cf 
13[[#2976f3e0]]
cf 
21[[#2976f360]]
"No exception if has argument" 
22[[#2976f360]]
"No exception if no argument" 
23[[#2976f360]]
"Ivalid type accepted"