Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 3 | 0.962 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 162 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/bzip2/CBZip2InputStream.java |
2 | 13 | 849 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/bzip2/CBZip2OutputStream.java |
| |||||
if (offs < 0) { throw new IndexOutOfBoundsException("offs(" + offs + ") < 0."); } if (len < 0) { throw new IndexOutOfBoundsException("len(" + len + ") < 0."); } if (offs + len > dest.length) { throw new IndexOutOfBoundsException("offs(" + offs + ") + len(" + len + ") > dest.length(" + dest.length + ")."); } if (this.in == null) { throw new IOException("stream closed"); } |
| |||||
if (offs < 0) { throw new IndexOutOfBoundsException("offs(" + offs + ") < 0."); } if (len < 0) { throw new IndexOutOfBoundsException("len(" + len + ") < 0."); } if (offs + len > buf.length) { throw new IndexOutOfBoundsException("offs(" + offs + ") + len(" + len + ") > buf.length(" + buf.length + ")."); } if (this.out == null) { throw new IOException("stream closed"); } |
| |||
if (offs < 0) { throw new IndexOutOfBoundsException("offs(" + offs + ") < 0."); } if (len < 0) { throw new IndexOutOfBoundsException("len(" + len + ") < 0."); } if (offs + len > [[#variable131b5fe0]].length) { throw new IndexOutOfBoundsException("offs(" + offs + ") + len(" + len + [[#variable131ad5c0]] + [[#variable131b5fe0]].length + ")."); } if (this. [[#variable131acc80]]== null) { throw new IOException("stream closed"); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#131b5fe0]] | dest |
1 | 2 | [[#131b5fe0]] | buf |
2 | 1 | [[#131ad5c0]] | ") > dest.length(" |
2 | 2 | [[#131ad5c0]] | ") > buf.length(" |
3 | 1 | [[#131acc80]] | in |
3 | 2 | [[#131acc80]] | out |