File path: /jEdit-4.2/src/bsh/DelayedEvalBshMethod.java | File path: /jEdit-4.2/src/installer/InstallThread.java | |||
Method name: void DelayedEvalBshMethod(String, String, BSHReturnType, String[], String[], BSHFormalParameters, BSHBlock, NameSpace, Modifiers, CallStack, Interpreter)
|
Method name: void InstallThread(Install, Progress, String, OperatingSystem.OSTask[], int, Vector)
|
|||
Number of AST nodes: 7 | Number of AST nodes: 7 | |||
1 | super( name, null/*returnType*/, paramNames, null/*paramTypes*/,↵ | 1 | super(↵ | |
2 | methodBody, declaringNameSpace, modifiers );↵ | |||
3 | this.returnTypeDescriptor = returnTypeDescriptor;↵ | |||
4 | this.returnTypeNode = returnTypeNode;↵ | |||
5 | this.paramTypeDescriptors = paramTypeDescriptors;↵ | |||
6 | this.paramTypesNode = paramTypesNode;↵ | |||
7 | this.callstack = callstack;↵ | |||
8 | this.interpreter = interpreter↵ | 2 | "Install thread");↵ | |
3 | this.installer = installer;↵ | |||
4 | this.progress = progress;↵ | |||
5 | this.installDir = installDir;↵ | |||
6 | this.osTasks = osTasks;↵ | |||
7 | this.size = size;↵ | |||
9 | ; | 8 | this.components = components; | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes |
Number of node comparisons | 42 |
Number of mapped statements | 1 |
Number of unmapped statements in the first code fragment | 6 |
Number of unmapped statements in the second code fragment | 6 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | super("Install thread"); | |||||||||||||||||
1 | super(name, null, paramNames, null, methodBody, declaringNameSpace, modifiers); | | |||||||||||||||||
| 2 | this.installer = installer; | |||||||||||||||||
| 3 | this.progress = progress; | |||||||||||||||||
2 | this.returnTypeDescriptor = returnTypeDescriptor; |
| 4 | this.installDir = installDir; | |||||||||||||||
3 | this.returnTypeNode = returnTypeNode; | | |||||||||||||||||
4 | this.paramTypeDescriptors = paramTypeDescriptors; | | |||||||||||||||||
| 5 | this.osTasks = osTasks; | |||||||||||||||||
5 | this.paramTypesNode = paramTypesNode; | | |||||||||||||||||
| 6 | this.size = size; | |||||||||||||||||
6 | this.callstack = callstack; | | |||||||||||||||||
| 7 | this.components = components; | |||||||||||||||||
7 | this.interpreter = interpreter; | |
Row | Violation |
---|---|
1 | Expression this.returnTypeDescriptor is a field being modified, and thus it cannot be parameterized |
2 | Expression this.installDir is a field being modified, and thus it cannot be parameterized |