int total = e.getTableCount(); int num = e.getTableNumber(); System.out.println("Finished copying table "+e.getTableName()+" ( "+ num+" of "+total+" )");
int total = e.getTableCount(); int num = e.getTableNumber(); System.out.println("Started copying table "+e.getTableName()+" ( "+ num+" of "+total+" )");
Clone fragments detected by clone detection tool
File path: /sql12/plugins/dbcopy/test/net/sourceforge/squirrel_sql/plugins/dbcopy/MockCopyTableListener.java File path: /sql12/plugins/dbcopy/test/net/sourceforge/squirrel_sql/plugins/dbcopy/MockCopyTableListener.java
Method name: void tableCopyFinished(TableEvent) Method name: void tableCopyStarted(TableEvent)
Number of AST nodes: 3 Number of AST nodes: 3
1
int total = e.getTableCount();
1
int total = e.getTableCount();
2
        int num = e.getTableNumber();
2
        int num = e.getTableNumber();
3
        System.out.println("Finished copying table "+e.getTableName()+" ( "+
3
        System.out.println("Started copying table "+e.getTableName()+" ( "+
4
                           num+" of "+total+" )");
4
                           num+" of "+total+" )");
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 declared in the same class
Number of node comparisons9
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements3
    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
    1
    int total = e.getTableCount();
    1
    int total = e.getTableCount();
    2
    int num = e.getTableNumber();
    2
    int num = e.getTableNumber();
    3
    System.out.println("Finished copying table " + e.getTableName() + " ( " + num + " of " + total + " )");
    3
    System.out.println("Finished copying table " + e.getTableName() + " ( " + num + " of " + total + " )");
    3
    System.out.println("Started copying table " + e.getTableName() + " ( " + num + " of " + total + " )");
    Differences
    Expression1Expression2Difference
    "Finished copying table ""Started copying table "LITERAL_VALUE_MISMATCH
    3
    System.out.println("Started copying table " + e.getTableName() + " ( " + num + " of " + total + " )");
    Precondition Violations (0)
    Row Violation