for (int i = 0; i < this.tabCount; i++) { System.err.print("\t"); }
for ( int i=0; i<urls.length; i++) { super.addURL(urls[i]); }
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/base/DebugRepaintManager.java File path: /columba-1.4-src/core/src/main/java/org/columba/core/main/MainClassLoader.java
Method name: void printTabIndent() Method name: void addURLs(URL[])
Number of AST nodes: 2 Number of AST nodes: 2
1
for (int i = 0; i < this.tabCount; i++) {
1
for ( int i=0; i<urls.length; i++) {
2
			System.err.print("\t");
2
			super.addURL(urls[i]);
3
		}
3
		}
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)0.2
Clones locationClones are in different classes
Number of node comparisons4
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements2
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)1.6
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    1
    for (int i = 0; i < this.tabCount; i++)
    1
    for (int i = 0; i < this.tabCount; i++)
    1
    for (int i = 0; i < urls.length; i++)
    Differences
    Expression1Expression2Difference
    this.tabCounturls.lengthTYPE_COMPATIBLE_REPLACEMENT
    1
    for (int i = 0; i < urls.length; i++)
    2
    System.err.print("\t");
    2
    System.err.print("\t");
    2
    super.addURL(urls[i]);
    Differences
    Expression1Expression2Difference
    System.err.print("\t")super.addURL(urls[i])TYPE_COMPATIBLE_REPLACEMENT
    Preondition Violations
    Expression super.addURL(urls[i]) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    Expression System.err.print("\t") is a void method call, and thus it cannot be parameterized
    Expression super.addURL(urls[i]) is a void method call, and thus it cannot be parameterized
    Super method call super.addURL(urls[i]); cannot be extracted from method
    2
    super.addURL(urls[i]);
    Precondition Violations (5)
    Row Violation
    1Expression super.addURL(urls[i]) cannot be parameterized, because it has dependencies to/from statements that will be extracted
    2Expression System.err.print("\t") is a void method call, and thus it cannot be parameterized
    3Expression super.addURL(urls[i]) is a void method call, and thus it cannot be parameterized
    4Super method call super.addURL(urls[i]); cannot be extracted from method
    5The refactoring of the clones is infeasible, because classes org.columba.core.gui.base.DebugRepaintManager and org.columba.core.main.MainClassLoader do not have a common superclass