173-189-191

typeConverterItemProvider = new TypeConverterItemProvider(this); } return typeConverterItemProvider;
if (pageDiagnosticHandler == null) { pageDiagnosticHandler = new PageDiagnosticHandler(this); } pageDiagnosticHandler.handleDiagnostic(diagnostic, message, dialogTitle, dialogMessage);

Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/mapping/provider/MappingItemProviderAdapterFactory.java |  | File path: /emf-2.4.1/src/org/eclipse/emf/converter/ui/contribution/base/ModelConverterPage.java
Method name: `Adapter createTypeConverterAdapter()` |  | Method name: `void handleDiagnostic(Diagnostic, String, String, String)`
Number of AST nodes: 2 |  | Number of AST nodes: 3

1

    typeConverterItemProvider = new TypeConverterItemProvid↵

1

    if (pageDiagnosticHandler == null)↵

2

        {↵

2

    er(this);↵

3

          pageDiagnosticHandler = new PageDiagnosticHandler(this);↵

3

        }↵

4

        }↵

4

        return typeConverterItemProvider;

5

        pageDiagnosticHandler.handleDiagnostic(diagnostic, message, dialogTitle, dialogMessage);

See real code fragment |  | See real code fragment

Summary
Number of common nesting structure subtrees | 0
Number of refactorable cases | 0
Number of non-refactorable cases | 0
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0
Clones location | Clones are in different classes
Number of node comparisons | 2