Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.953 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 27 | src/NHibernate/Cfg/ImprovedNamingStrategy.cs |
2 | 3 | 37 | 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)); } |
| ||||
/// <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)); } |
| |||
#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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5f481600]] | ClassToTableName |
1 | 2 | [[#5f481600]] | PropertyToColumnName |
2 | 1 | [[#5f481540]] | className |
2 | 2 | [[#5f481540]] | propertyName |