CloneSet42


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
30210.969statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
130230
E:/TSE/Projects-CloneDR/jEdit-4.2/src/installer/CBZip2OutputStream.java
230260
E:/TSE/Projects-CloneDR/jEdit-4.2/src/installer/CBZip2OutputStream.java
Next
Last
Clone Instance
1
Line Count
30
Source Line
230
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/installer/CBZip2OutputStream.java

heap[1] = heap[nHeap];
nHeap--;
{
  int zz = 0;
  int yy = 0;
  int tmp = 0;
  zz = 1;
  tmp = heap[zz];
  while (true) {
    yy = zz << 1;
    if (yy > nHeap) {
      break;
    }
    if (yy < nHeap && weights[heap[yy + 1]] < weights[heap[yy]]) {
      yy++;
    }
    if (weights[tmp] < weights[heap[yy]]) {
      break;
    }
    heap[zz] = heap[yy];
    zz = yy;
  }
  heap[zz] = tmp;
}
n2 = heap[1];


First
Previous
Clone Instance
2
Line Count
30
Source Line
260
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/installer/CBZip2OutputStream.java

heap[1] = heap[nHeap];
nHeap--;
{
  int zz = 0;
  int yy = 0;
  int tmp = 0;
  zz = 1;
  tmp = heap[zz];
  while (true) {
    yy = zz << 1;
    if (yy > nHeap) {
      break;
    }
    if (yy < nHeap && weights[heap[yy + 1]] < weights[heap[yy]]) {
      yy++;
    }
    if (weights[tmp] < weights[heap[yy]]) {
      break;
    }
    heap[zz] = heap[yy];
    zz = yy;
  }
  heap[zz] = tmp;
}
nNodes++;


Clone AbstractionParameter Count: 1Parameter Bindings

heap[1] = heap[nHeap];
nHeap--;
{
  int zz = 0;
  int yy = 0;
  int tmp = 0;
  zz = 1;
  tmp = heap[zz];
  while (true) {
    yy = zz << 1;
    if (yy > nHeap) {
      break;
    }
    if (yy < nHeap && weights[heap[yy + 1]] < weights[heap[yy]]) {
      yy++;
    }
    if (weights[tmp] < weights[heap[yy]]) {
      break;
    }
    heap[zz] = heap[yy];
    zz = yy;
  }
  heap[zz] = tmp;
}
 [[#variableae68820]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ae68820]]
n2 = heap[1] 
12[[#ae68820]]
nNodes++