sb.append("  "); i = i + 2; } else if (ss.substring(i).startsWith(" ")) { sb.append("   "); i = i + 3;
sb.append("   "); i = i + 3; } else if (ss.substring(i).startsWith(" ")) { sb.append("  "); i = i + 2;
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/parser/text/HtmlParser.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/parser/text/HtmlParser.java
Method name: String substituteSpecialCharactersInHeaderfields(String) Method name: String substituteSpecialCharactersInHeaderfields(String)
Number of AST nodes: 4 Number of AST nodes: 4
1
sb.append("  ");
1
sb.append("   ");
2
                            i = i + 2;
2
                            i = i + 3;
3
                        } else if (ss.substring(i).startsWith("   ")) {
3
                        } else if (ss.substring(i).startsWith("  ")) {
4
                            sb.append("   ");
4
                            sb.append("  ");
5
                            i = i + 3;
5
                            i = i + 2;
Summary
Number of common nesting structure subtrees1
Number of refactorable cases1
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in the same method
Number of node comparisons8
  1. {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)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    28
    sb.append("  ");
    28
    sb.append("  ");
    31
    sb.append("   ");
    Differences
    Expression1Expression2Difference
    "  ""   "LITERAL_VALUE_MISMATCH
    31
    sb.append("   ");
    29
    i = i + 2;
    29
    i = i + 2;
    32
    i = i + 3;
    Differences
    Expression1Expression2Difference
    23LITERAL_VALUE_MISMATCH
    32
    i = i + 3;
    Precondition Violations (0)
    Row Violation