| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 11 | 2 | 3 | 0.978 | statement_list[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 10 | 352 | src/NHibernate/Cfg/SettingsFactory.cs |
| 2 | 11 | 369 | src/NHibernate/Cfg/SettingsFactory.cs |
| ||||
log.Info("Query translator: " + className);
try
{
return
(IQueryTranslatorFactory)
Environment.BytecodeProvider.ObjectsFactory.CreateInstance(ReflectHelper.ClassForName(className));
}
catch (Exception cnfe)
{
throw new HibernateException("could not instantiate QueryTranslatorFactory: " + className, cnfe);
}
|
| ||||
log.Info("Transaction factory: " + className);
try
{
return
(ITransactionFactory)
Environment.BytecodeProvider.ObjectsFactory.CreateInstance(ReflectHelper.ClassForName(className));
}
catch (Exception cnfe)
{
throw new HibernateException("could not instantiate TransactionFactory: " + className, cnfe);
}
|
| |||
log.Info( [[#variable2bf66a40]]+ className);
try
{
return ( [[#variable2bffea00]])Environment.BytecodeProvider.ObjectsFactory.CreateInstance(ReflectHelper.ClassForName(className));
}
catch (Exception cnfe)
{
throw new HibernateException( [[#variable2bfffee0]]+ className, cnfe);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#2bf66a40]] | "Transaction factory: " |
| 1 | 2 | [[#2bf66a40]] | "Query translator: " |
| 2 | 1 | [[#2bffea00]] | ITransactionFactory |
| 2 | 2 | [[#2bffea00]] | IQueryTranslatorFactory |
| 3 | 1 | [[#2bfffee0]] | "could not instantiate TransactionFactory: " |
| 3 | 2 | [[#2bfffee0]] | "could not instantiate QueryTranslatorFactory: " |