if (!prefs.isWriteScript()) { return; } write(getBoundStatement(pstmt, bindVars));
if (!prefs.isWriteScript() || out == null) { return; } out.println(stmt);
Clone fragments detected by clone detection tool
File path: /sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/util/ScriptWriter.java File path: /sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/util/ScriptWriter.java
Method name: void write(String, String[]) Method name: void write(String)
Number of AST nodes: 3 Number of AST nodes: 3
1
if (!prefs.isWriteScript()) {
1
if (!prefs.isWriteScript() || out == null) {
2
            return;
2
            return;
3
        }        
3
        }
4
        write(getBoundStatement(pstmt, bindVars));
4
        out.println(stmt);
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 locationClones are declared in the same class
Number of node comparisons2