CloneSet242


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13230.962statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113162
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/bzip2/CBZip2InputStream.java
213849
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/bzip2/CBZip2OutputStream.java
Next
Last
Clone Instance
1
Line Count
13
Source Line
162
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/bzip2/CBZip2InputStream.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");
}


First
Previous
Clone Instance
2
Line Count
13
Source Line
849
Source File
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 > buf.length) {
  throw new IndexOutOfBoundsException("offs(" + offs + ") + len(" + len + ") > buf.length(" + buf.length + ").");
}
if (this.out == null) {
  throw new IOException("stream closed");
}


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#131b5fe0]]
dest 
12[[#131b5fe0]]
buf 
21[[#131ad5c0]]
") > dest.length(" 
22[[#131ad5c0]]
") > buf.length(" 
31[[#131acc80]]
in 
32[[#131acc80]]
out