| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 2 | 2 | 0.964 | class_member_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 95 | src/NHibernate/Util/ArrayHelper.cs |
| 2 | 5 | 102 | src/NHibernate/Util/ArrayHelper.cs |
| ||||
public static string[] Slice(string[] strings, int begin, int length)
{
string[] result = new string[length];
Array.Copy(strings, begin, result, 0, length);
return result;
}
|
| ||||
public static object[] Slice(object[] objects, int begin, int length)
{
object[] result = new object[length];
Array.Copy(objects, begin, result, 0, length);
return result;
}
|
| |||
public static [[#variable550c8840]][] Slice( [[#variable550c8840]][] [[#variable550c87c0]], int begin, int length)
{
[[#variable550c8840]][] result = new [[#variable550c8840]][length];
Array.Copy( [[#variable550c87c0]], begin, result, 0, length);
return result;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#550c8840]] | string |
| 1 | 2 | [[#550c8840]] | object |
| 2 | 1 | [[#550c87c0]] | strings |
| 2 | 2 | [[#550c87c0]] | objects |