super("Install thread"); this.installer = installer; this.progress = progress; this.installDir = installDir; this.osTasks = osTasks; this.size = size; this.components = components;
this.plainView = plainView; this.splitConfig = splitConfig; this.x = x; this.y = y; this.width = width; this.height = height; this.extState = extState;
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/installer/InstallThread.java File path: /jEdit-4.2/src/org/gjt/sp/jedit/View.java
Method name: void InstallThread(Install, Progress, String, OperatingSystem.OSTask[], int, Vector) Method name: void ViewConfig(boolean, String, int, int, int, int, int)
Number of AST nodes: 7 Number of AST nodes: 7
1
super("Install thread");
2
		this.installer = installer;
1
this.plainView = plainView;
3
		this.progress = progress;
2
			this.splitConfig = splitConfig;
4
		this.installDir = installDir;
3
			this.x = x;
5
		this.osTasks = osTasks;
4
			this.y = y;
6
		this.size = size
5
			this.width = width;
7
;
6
			this.height = height;
8
		this.components = components;
7
			this.extState = extState;
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 comparisons42
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements2
    Number of unmapped statements in the first code fragment5
    Number of unmapped statements in the second code fragment5
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
                                                            
    1
    this.plainView = plainView;
    1
    super("Install thread");
                                                          
    2
    this.installer = installer;
                                                            
    3
    this.progress = progress;
                                                        
    4
    this.installDir = installDir;
    4
    this.installDir = installDir;
    2
    this.splitConfig = splitConfig;
    Differences
    Expression1Expression2Difference
    installDirsplitConfigVARIABLE_NAME_MISMATCH
    installDirsplitConfigVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression this.installDir is a field being modified, and thus it cannot be parameterized
    Expression this.splitConfig is a field being modified, and thus it cannot be parameterized
    2
    this.splitConfig = splitConfig;
                            
    3
    this.x = x;
                            
    4
    this.y = y;
                                            
    5
    this.width = width;
    5
    this.osTasks = osTasks;
                                                    
    6
    this.size = size;
    6
    this.size = size;
    6
    this.height = height;
    Differences
    Expression1Expression2Difference
    sizeheightVARIABLE_NAME_MISMATCH
    sizeheightVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression this.size is a field being modified, and thus it cannot be parameterized
    Expression this.height is a field being modified, and thus it cannot be parameterized
    6
    this.height = height;
                                                        
    7
    this.extState = extState;
    7
    this.components = components;
                                                                
    Precondition Violations (4)
    Row Violation
    1Expression this.installDir is a field being modified, and thus it cannot be parameterized
    2Expression this.splitConfig is a field being modified, and thus it cannot be parameterized
    3Expression this.size is a field being modified, and thus it cannot be parameterized
    4Expression this.height is a field being modified, and thus it cannot be parameterized