Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 3 | 0.982 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 167 | src/NHibernate/Dialect/Function/AnsiTrimEmulationFunction.cs |
2 | 11 | 180 | src/NHibernate/Dialect/Function/AnsiTrimEmulationFunction.cs |
| ||||
if (leading && trailing) { return BothSpaceTrim.Render(argsToUse, factory); } if (leading) { return LeadingSpaceTrim.Render(argsToUse, factory); } return TrailingSpaceTrim.Render(argsToUse, factory); |
| ||||
if (leading && trailing) { return BothTrim.Render(argsToUse, factory); } if (leading) { return LeadingTrim.Render(argsToUse, factory); } return TrailingTrim.Render(argsToUse, factory); |
| |||
if (leading && trailing) { return [[#variable5568eec0]].Render(argsToUse, factory); } if (leading) { return [[#variable5568e900]].Render(argsToUse, factory); } return [[#variable49dd4600]].Render(argsToUse, factory); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5568eec0]] | BothTrim |
1 | 2 | [[#5568eec0]] | BothSpaceTrim |
2 | 1 | [[#5568e900]] | LeadingTrim |
2 | 2 | [[#5568e900]] | LeadingSpaceTrim |
3 | 1 | [[#49dd4600]] | TrailingTrim |
3 | 2 | [[#49dd4600]] | TrailingSpaceTrim |