JSCFController controller = JSCFController.getInstance(); JSCFConnection con = controller.getConnection();
JSCFController controller = JSCFController.getInstance(); JSCFConnection con = controller.getConnection();
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/pgp/MultipartEncryptedRenderer.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/pgp/MultipartSignedRenderer.java
Method name: InputStream render(MimePart) Method name: InputStream render(MimePart)
Number of AST nodes: 2 Number of AST nodes: 2
1
JSCFController controller = JSCFController.getInstance();
1
JSCFController controller = JSCFController.getInstance();
2
        JSCFConnection con = controller.getConnection();
2
		JSCFConnection con = controller.getConnection();
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 different classes having the same super class
Number of node comparisons4
  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 1
    Mapped Statements
    ID Statement ID Statement
    15
    JSCFController controller = JSCFController.getInstance();
    16
    JSCFController controller = JSCFController.getInstance();
    16
    JSCFConnection con = controller.getConnection();
    17
    JSCFConnection con = controller.getConnection();
    Precondition Violations (0)
    Row Violation