errorStream = new StreamThread(p.getErrorStream()); outputStream = new StreamThread(p.getInputStream()); inputStream = p.getOutputStream(); errorStream.start(); outputStream.start();
errorStream = new StreamThread(p.getErrorStream()); outputStream = new StreamThread(p.getInputStream()); inputStream = p.getOutputStream(); errorStream.start(); outputStream.start();
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/core/src/main/java/org/columba/core/base/IPCHelper.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/spam/spamassassin/IPCHelper.java
Method name: void executeCommand(String[]) Method name: void executeCommand(String)
Number of AST nodes: 5 Number of AST nodes: 5
1
errorStream = new StreamThread(p.getErrorStream());
1
errorStream = new StreamThread(p.getErrorStream());
2
	outputStream = new StreamThread(p.getInputStream());
2
        outputStream = new StreamThread(p.getInputStream());
3
	inputStream = p.getOutputStream();
3
        inputStream = p.getOutputStream();
4
	errorStream.start();
4
        errorStream.start();
5
	outputStream.start();
5
        outputStream.start();
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
Number of node comparisons10
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements5
    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
    2
    errorStream = new StreamThread(p.getErrorStream());
    2
    errorStream = new StreamThread(p.getErrorStream());
    2
    errorStream = new StreamThread(p.getErrorStream());
    Differences
    Expression1Expression2Difference
    org.columba.core.base.IPCHelper.StreamThreadorg.columba.mail.spam.spamassassin.IPCHelper.StreamThreadSUBCLASS_TYPE_MISMATCH
    org.columba.core.base.IPCHelper.StreamThreadorg.columba.mail.spam.spamassassin.IPCHelper.StreamThreadSUBCLASS_TYPE_MISMATCH
    2
    errorStream = new StreamThread(p.getErrorStream());
    3
    outputStream = new StreamThread(p.getInputStream());
    3
    outputStream = new StreamThread(p.getInputStream());
    3
    outputStream = new StreamThread(p.getInputStream());
    Differences
    Expression1Expression2Difference
    org.columba.core.base.IPCHelper.StreamThreadorg.columba.mail.spam.spamassassin.IPCHelper.StreamThreadSUBCLASS_TYPE_MISMATCH
    org.columba.core.base.IPCHelper.StreamThreadorg.columba.mail.spam.spamassassin.IPCHelper.StreamThreadSUBCLASS_TYPE_MISMATCH
    3
    outputStream = new StreamThread(p.getInputStream());
    4
    inputStream = p.getOutputStream();
    4
    inputStream = p.getOutputStream();
    5
    errorStream.start();
    5
    errorStream.start();
    5
    errorStream.start();
    Differences
    Expression1Expression2Difference
    org.columba.core.base.IPCHelper.StreamThreadorg.columba.mail.spam.spamassassin.IPCHelper.StreamThreadSUBCLASS_TYPE_MISMATCH
    5
    errorStream.start();
    6
    outputStream.start();
    6
    outputStream.start();
    6
    outputStream.start();
    Differences
    Expression1Expression2Difference
    org.columba.core.base.IPCHelper.StreamThreadorg.columba.mail.spam.spamassassin.IPCHelper.StreamThreadSUBCLASS_TYPE_MISMATCH
    6
    outputStream.start();
    Precondition Violations (0)
    Row Violation