config.leftPos = Integer.parseInt(value); else if(aname.equals("BOTTOM_POS")) config.bottomPos = Integer.parseInt(value);
config.y = Integer.parseInt(value); else if(aname.equals("WIDTH")) config.width = Integer.parseInt(value);
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/PerspectiveManager.java File path: /jEdit-4.2/src/org/gjt/sp/jedit/PerspectiveManager.java
Method name: void attribute(String, String, boolean) Method name: void attribute(String, String, boolean)
Number of AST nodes: 2 Number of AST nodes: 2
1
config.leftPos = Integer.parseInt(value);
1
config.y = Integer.parseInt(value);
2
			else if(aname.equals("BOTTOM_POS"))
2
			else if(aname.equals("WIDTH"))
3
				config.bottomPos = Integer.parseInt(value);
3
				config.width = Integer.parseInt(value);
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 comparisons1
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements1
    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
    26
    config.leftPos = Integer.parseInt(value);
    26
    config.leftPos = Integer.parseInt(value);
    6
    config.y = Integer.parseInt(value);
    Differences
    Expression1Expression2Difference
    leftPosyVARIABLE_NAME_MISMATCH
    6
    config.y = Integer.parseInt(value);
    Precondition Violations (0)
    Row Violation