if (computeMaxs) { // updates current stack size (max stack size unchanged) --stackSize; // ends current block (with many new successors) if (currentBlock != null) { currentBlock.maxStackSize = maxStackSize; addSuccessor(stackSize, dflt); for (int i = 0; i < labels.length; ++i) { addSuccessor(stackSize, labels[i]); } currentBlock = null;
if (computeMaxs) { // updates current stack size (max stack size unchanged) --stackSize; // ends current block (with many new successors) if (currentBlock != null) { currentBlock.maxStackSize = maxStackSize; addSuccessor(stackSize, dflt); for (int i = 0; i < labels.length; ++i) { addSuccessor(stackSize, labels[i]); } currentBlock = null;
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/objectweb/asm/CodeWriter.java File path: /jEdit-4.2/src/org/objectweb/asm/CodeWriter.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
if (computeMaxs) {
1
if (computeMaxs) {
2
      // updates current stack size (max stack size unchanged)
2
      // updates current stack size (max stack size unchanged)
3
      --stackSize;
3
      --stackSize;
4
      // ends current block (with many new successors)
4
      // ends current block (with many new successors)
5
      if (currentBlock != null) {
5
      if (currentBlock != null) {
6
        currentBlock.maxStackSize = maxStackSize;
6
        currentBlock.maxStackSize = maxStackSize;
7
        addSuccessor(stackSize, dflt);
7
        addSuccessor(stackSize, dflt);
8
        for (int i = 0; i < labels.length; ++i) {
8
        for (int i = 0; i < labels.length; ++i) {
9
          addSuccessor(stackSize, labels[i]);
9
          addSuccessor(stackSize, labels[i]);
10
        }
10
        }
11
        currentBlock = null;
11
        currentBlock = null;
12
      
12
      
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0