CloneSet1611


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.965non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19320
src/NHibernate/Cfg/SettingsFactory.cs
27185
src/NHibernate/Dialect/Dialect.cs
Clone Instance
1
Line Count
9
Source Line
320
Source File
src/NHibernate/Cfg/SettingsFactory.cs

                        try
                        {
                                return
                                        (ICacheProvider)
                                        Environment.BytecodeProvider.ObjectsFactory.CreateInstance(ReflectHelper.ClassForName(cacheClassName));
                        }
                        catch (Exception e)
                        {
                                throw new HibernateException("could not instantiate CacheProvider: " + cacheClassName, e);
                        }


Clone Instance
2
Line Count
7
Source Line
185
Source File
src/NHibernate/Dialect/Dialect.cs

                        try
                        {
                                return (Dialect) Environment.BytecodeProvider.ObjectsFactory.CreateInstance(ReflectHelper.ClassForName(dialectName));
                        }
                        catch (Exception e)
                        {
                                throw new HibernateException("Could not instantiate dialect class " + dialectName, e);
                        }


Clone AbstractionParameter Count: 3Parameter Bindings

try
{
   return ( [[#variable27801ae0]])Environment.BytecodeProvider.ObjectsFactory.CreateInstance(ReflectHelper.ClassForName( [[#variable27801a20]]));
}
catch (Exception e)
{
   throw new HibernateException( [[#variable27801a00]]+ [[#variable27801a20]], e);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#27801ae0]]
ICacheProvider 
12[[#27801ae0]]
Dialect 
21[[#27801a20]]
cacheClassName 
22[[#27801a20]]
dialectName 
31[[#27801a00]]
"could not instantiate CacheProvider: " 
32[[#27801a00]]
"Could not instantiate dialect class "