EditAction action = jEdit.getAction(actionName); if(action == null) continue; String label = action.getLabel(); if(label == null) continue;
EditAction action = jEdit.getAction(actionName); if(action == null) continue; String label = action.getLabel(); if(label == null) continue;
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/options/ContextOptionPane.java File path: /jEdit-4.2/src/org/gjt/sp/jedit/options/ToolBarOptionPane.java
Method name: void _init() Method name: void _init()
Number of AST nodes: 6 Number of AST nodes: 6
1
EditAction action = jEdit.getAction(actionName);
1
EditAction action = jEdit.getAction(actionName);
2
				if(action == null)
2
				if(action == null)
3
					continue;
3
					continue;
4
				String label = action.getLabel();
4
				String label = action.getLabel();
5
				if(label == null)
5
				if(label == null)
6
					continue;
6
					continue;
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)0.5
Clones locationClones are in different classes having the same super class
Number of node comparisons19
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements6
    Number of unmapped statements in the first code fragment0
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)1.1
    Clone typeType 1
    Mapped Statements
    ID Statement ID Statement
    11
    EditAction action = jEdit.getAction(actionName);
    15
    EditAction action = jEdit.getAction(actionName);
    12
    if (action == null)
    16
    if (action == null)
    13
    continue;
    13
    continue;
    17
    continue;
    Preondition Violations
    Statement continue; without innermost loop
    Statement continue; without innermost loop
    17
    continue;
    14
    String label = action.getLabel();
    18
    String label = action.getLabel();
    15
    if (label == null)
    19
    if (label == null)
    16
    continue;
    16
    continue;
    20
    continue;
    Preondition Violations
    Statement continue; without innermost loop
    Statement continue; without innermost loop
    20
    continue;
    Precondition Violations (4)
    Row Violation
    1Statement continue; without innermost loop
    2Statement continue; without innermost loop
    3Statement continue; without innermost loop
    4Statement continue; without innermost loop