Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.976 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 27 | src/NHibernate/AdoNet/Expectations.cs |
2 | 12 | 104 | src/NHibernate/AdoNet/Expectations.cs |
| ||||
if (expectedRowCount > rowCount) { throw new StaleStateException( "Unexpected row count: " + rowCount + "; expected: " + expectedRowCount); } if (expectedRowCount < rowCount) { String msg = "Unexpected row count: " + rowCount + "; expected: " + expectedRowCount; throw new TooManyRowsAffectedException(msg, expectedRowCount, rowCount); } |
| ||||
if (expectedRowCount > rowCount) { throw new StaleStateException( "Batch update returned unexpected row count from update; actual row count: " + rowCount + "; expected: " + expectedRowCount); } if (expectedRowCount < rowCount) { string msg = "Batch update returned unexpected row count from update; actual row count: " + rowCount + "; expected: " + expectedRowCount; throw new TooManyRowsAffectedException(msg, expectedRowCount, rowCount); } |
| |||
if (expectedRowCount > rowCount) { throw new StaleStateException( [[#variable46982f00]]+ rowCount + "; expected: " + expectedRowCount); } if (expectedRowCount < rowCount) { [[#variable46982de0]]msg = [[#variable46982f00]]+ rowCount + "; expected: " + expectedRowCount; throw new TooManyRowsAffectedException(msg, expectedRowCount, rowCount); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#46982f00]] | "Unexpected row count: " |
1 | 2 | [[#46982f00]] | "Batch update returned unexpected row count from update; actual row count: " |
2 | 1 | [[#46982de0]] | String |
2 | 2 | [[#46982de0]] | string |