Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
20 | 2 | 2 | 0.966 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 80 | src/NHibernate.Test/NHSpecificTest/NH1355/UserTypeTimestamp.cs |
2 | 20 | 88 | src/NHibernate.Test/VersionTest/Db/MsSQL/BinaryTimestamp.cs |
| ||||
if (xbytes.Length < ybytes.Length) { return - 1; } if (xbytes.Length > ybytes.Length) { return 1; } for (int i = 0; i < xbytes.Length; i++) { if (xbytes[i] < ybytes[i]) { return - 1; } if (xbytes[i] > ybytes[i]) { return 1; } } return 0; |
| ||||
if (x.Length < y.Length) { return - 1; } if (x.Length > y.Length) { return 1; } for (int i = 0; i < x.Length; i++) { if (x[i] < y[i]) { return - 1; } if (x[i] > y[i]) { return 1; } } return 0; |
| |||
if ( [[#variable2dba5ae0]].Length < [[#variable4ef996e0]].Length) { return - 1; } if ( [[#variable2dba5ae0]].Length > [[#variable4ef996e0]].Length) { return 1; } for (int i = 0; i < [[#variable2dba5ae0]].Length; i++) { if ( [[#variable2dba5ae0]][i] < [[#variable4ef996e0]][i]) { return - 1; } if ( [[#variable2dba5ae0]][i] > [[#variable4ef996e0]][i]) { return 1; } } return 0; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2dba5ae0]] | x |
1 | 2 | [[#2dba5ae0]] | xbytes |
2 | 1 | [[#4ef996e0]] | y |
2 | 2 | [[#4ef996e0]] | ybytes |