Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.966 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 244 | src/NHibernate/Driver/NDataReader.cs |
2 | 7 | 424 | src/NHibernate/Driver/NDataReader.cs |
| ||||
if (cachedByteArray == null || cachedColIndex != i) { cachedColIndex = i; cachedByteArray = (byte[]) GetValue(i); } long remainingLength = cachedByteArray.Length - fieldOffset; |
| ||||
if (cachedCharArray == null || cachedColIndex != i) { cachedColIndex = i; cachedCharArray = (char[]) GetValue(i); } long remainingLength = cachedCharArray.Length - fieldOffset; |
| |||
if ( [[#variable2c20de60]]== null || cachedColIndex != i) { cachedColIndex = i; [[#variable2c20de60]]= ( [[#variable2bcc2960]][])GetValue(i); } long remainingLength = [[#variable2c20de60]].Length - fieldOffset; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2c20de60]] | cachedByteArray |
1 | 2 | [[#2c20de60]] | cachedCharArray |
2 | 1 | [[#2bcc2960]] | byte |
2 | 2 | [[#2bcc2960]] | char |