super(); this.pluginRegistry = pluginRegistry; this.pluginID = pluginID; this.extensionPointID = extensionPointID; qualifiedExtensionPointID = pluginID + "." + extensionPointID;
saveDoctype = true; this.publicId = publicId; this.systemId = systemId;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/plugin/RegistryReader.java File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/XMLString.java
Method name: void RegistryReader(IExtensionRegistry, String, String) Method name: void reset(String, String, int, String)
Number of AST nodes: 5 Number of AST nodes: 3
1
super();
1
s
2
    this.pluginRegistry = pluginRegistry;
2
aveDoctype = true;
3
    this.pluginID = pluginID;
3
      this.p
4
    this.extensionPointID = extensionPointID;
5
    qualifiedExtensionPointID = pluginID + "." + extensionPointID
4
ublicId = publicId;
6
;
5
      this.systemId = systemId;
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.0
Clones locationClones are in different classes
Number of node comparisons10
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements2
    Number of unmapped statements in the first code fragment3
    Number of unmapped statements in the second code fragment1
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
    1
    super();
                          
    2
    this.pluginRegistry = pluginRegistry;
                                                                                
                                            
    8
    saveDoctype = true;
    3
    this.pluginID = pluginID;
    3
    this.pluginID = pluginID;
    9
    this.publicId = publicId;
    Differences
    Expression1Expression2Difference
    pluginIDpublicIdVARIABLE_NAME_MISMATCH
    pluginIDpublicIdVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression this.pluginID is a field being modified, and thus it cannot be parameterized
    Expression this.publicId is a field being modified, and thus it cannot be parameterized
    9
    this.publicId = publicId;
    4
    this.extensionPointID = extensionPointID;
    4
    this.extensionPointID = extensionPointID;
    10
    this.systemId = systemId;
    Differences
    Expression1Expression2Difference
    extensionPointIDsystemIdVARIABLE_NAME_MISMATCH
    extensionPointIDsystemIdVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression this.extensionPointID is a field being modified, and thus it cannot be parameterized
    Expression this.systemId is a field being modified, and thus it cannot be parameterized
    10
    this.systemId = systemId;
    5
    qualifiedExtensionPointID = pluginID + "." + extensionPointID;
                                                                                                                                  
    Precondition Violations (4)
    Row Violation
    1Expression this.pluginID is a field being modified, and thus it cannot be parameterized
    2Expression this.publicId is a field being modified, and thus it cannot be parameterized
    3Expression this.extensionPointID is a field being modified, and thus it cannot be parameterized
    4Expression this.systemId is a field being modified, and thus it cannot be parameterized