CloneSet2858


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.953class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1327
src/NHibernate/Cfg/ImprovedNamingStrategy.cs
2337
src/NHibernate/Cfg/ImprovedNamingStrategy.cs
Clone Instance
1
Line Count
3
Source Line
27
Source File
src/NHibernate/Cfg/ImprovedNamingStrategy.cs

                #region INamingStrategy Members
                /// <summary>
                /// Return the unqualified class name, mixed case converted to underscores
                /// </summary>
                /// <param name="className"></param>
                /// <returns></returns>
                public string ClassToTableName(string className)
                {
                        return AddUnderscores(StringHelper.Unqualify(className));
                }



Clone Instance
2
Line Count
3
Source Line
37
Source File
src/NHibernate/Cfg/ImprovedNamingStrategy.cs

                /// <summary>
                /// Return the full property path with underscore separators, mixed case converted to underscores
                /// </summary>
                /// <param name="propertyName"></param>
                /// <returns></returns>
                public string PropertyToColumnName(string propertyName)
                {
                        return AddUnderscores(StringHelper.Unqualify(propertyName));
                }



Clone AbstractionParameter Count: 2Parameter Bindings

#region INamingStrategy Members
/// <summary>
/// Return the unqualified class name, mixed case converted to underscores
/// Return the full property path with underscore separators, mixed case converted to underscores
/// </summary>
/// <param name="className"></param>
/// <param name="propertyName"></param>
/// <returns></returns>
public string [[#variable5f481600]](string [[#variable5f481540]])
{
   return AddUnderscores(StringHelper.Unqualify( [[#variable5f481540]]));
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5f481600]]
ClassToTableName 
12[[#5f481600]]
PropertyToColumnName 
21[[#5f481540]]
className 
22[[#5f481540]]
propertyName