Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.972 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 46 | src/NHibernate/Dialect/Function/CharIndexFunction.cs |
2 | 8 | 54 | src/NHibernate/Dialect/Function/PositionSubstringFunction.cs |
| ||||
buf.Add("charindex("). AddObject(pattern). Add(", "); if (threeArgs) { buf.Add("right("); } buf.AddObject(orgString); |
| ||||
buf.Add("position("). AddObject(pattern). Add(" in "); if (threeArgs) { buf.Add("substring("); } buf.AddObject(orgString); |
| |||
buf.Add( [[#variable28cf3a40]]).AddObject(pattern).Add( [[#variable28cf3900]]); if (threeArgs) { buf.Add( [[#variable28cf38c0]]); } buf.AddObject(orgString); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#28cf3a40]] | "charindex(" |
1 | 2 | [[#28cf3a40]] | "position(" |
2 | 1 | [[#28cf3900]] | ", " |
2 | 2 | [[#28cf3900]] | " in " |
3 | 1 | [[#28cf38c0]] | "right(" |
3 | 2 | [[#28cf38c0]] | "substring(" |