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.973 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 643 | src/NHibernate/Util/StringHelper.cs |
2 | 3 | 658 | src/NHibernate/Util/StringHelper.cs |
| ||||
public static int IndexOfCaseInsensitive(string source, string value) { return source.IndexOf(value, StringComparison.InvariantCultureIgnoreCase); } |
| ||||
public static int LastIndexOfCaseInsensitive(string source, string value) { return source.LastIndexOf(value, StringComparison.InvariantCultureIgnoreCase); } |
| |||
public static int [[#variable6f55cbe0]](string source, string value) { return source. [[#variable6f55cb80]](value, StringComparison.InvariantCultureIgnoreCase); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6f55cbe0]] | LastIndexOfCaseInsensitive |
1 | 2 | [[#6f55cbe0]] | IndexOfCaseInsensitive |
2 | 1 | [[#6f55cb80]] | LastIndexOf |
2 | 2 | [[#6f55cb80]] | IndexOf |