Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.991 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 117 | src/NHibernate/SqlCommand/Alias.cs |
2 | 9 | 135 | src/NHibernate/SqlCommand/Alias.cs |
| ||||
/// <summary> /// /// </summary> /// <param name="sqlIdentifiers"></param> /// <param name="dialect"></param> /// <returns></returns> public string[] ToUnquotedAliasStrings(string[] sqlIdentifiers, Dialect.Dialect dialect) { string[] aliases = new string[sqlIdentifiers.Length]; for (int i = 0; i < sqlIdentifiers.Length; i++) { aliases[i] = ToUnquotedAliasString(sqlIdentifiers[i], dialect); } return aliases; } |
| ||||
/// <summary> /// /// </summary> /// <param name="sqlIdentifiers"></param> /// <param name="dialect"></param> /// <returns></returns> public string[] ToAliasStrings(string[] sqlIdentifiers, Dialect.Dialect dialect) { string[] aliases = new string[sqlIdentifiers.Length]; for (int i = 0; i < sqlIdentifiers.Length; i++) { aliases[i] = ToAliasString(sqlIdentifiers[i], dialect); } return aliases; } |
| |||
/// <summary> /// /// </summary> /// <param name="sqlIdentifiers"></param> /// <param name="dialect"></param> /// <returns></returns> public string[] [[#variable67192de0]](string[] sqlIdentifiers, Dialect.Dialect dialect) { string[] aliases = new string[sqlIdentifiers.Length]; for (int i = 0; i < sqlIdentifiers.Length; i++) { aliases[i] = [[#variable684b2c60]](sqlIdentifiers[i], dialect); } return aliases; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#67192de0]] | ToAliasStrings |
1 | 2 | [[#67192de0]] | ToUnquotedAliasStrings |
2 | 1 | [[#684b2c60]] | ToAliasString |
2 | 2 | [[#684b2c60]] | ToUnquotedAliasString |