Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 3 | 0.962 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 42 | src/NHibernate/SqlCommand/Parameter.cs |
2 | 7 | 58 | src/NHibernate/Util/ArrayHelper.cs |
3 | 7 | 68 | src/NHibernate/Util/ArrayHelper.cs |
| ||||
{ Parameter[] result = new Parameter[count]; for (int i = 0; i < count; i++) { result[i] = Placeholder; } return result; } |
| ||||
{ LockMode[] result = new LockMode[length]; for (int i = 0; i < length; i++) { result[i] = lockMode; } return result; } |
| ||||
{ IType[] result = new IType[length]; for (int i = 0; i < length; i++) { result[i] = type; } return result; } |
| |||
{ [[#variable70b2f640]][] result = new [[#variable70b2f640]][ [[#variable70b2f360]]]; for (int i = 0; i < [[#variable70b2f360]]; i++) { result[i] = [[#variable5270c7e0]]; } return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#70b2f640]] | LockMode |
1 | 2 | [[#70b2f640]] | IType |
1 | 3 | [[#70b2f640]] | Parameter |
2 | 1 | [[#70b2f360]] | length |
2 | 2 | [[#70b2f360]] | length |
2 | 3 | [[#70b2f360]] | count |
3 | 1 | [[#5270c7e0]] | lockMode |
3 | 2 | [[#5270c7e0]] | type |
3 | 3 | [[#5270c7e0]] | Placeholder |