File path: /apache-ant-1.7.0/src/org/apache/tools/ant/types/resources/Files.java | File path: /apache-ant-1.7.0/src/org/apache/tools/ant/Target.java | |||
Method name: void Files(Files)
|
Method name: void Target(Target)
|
|||
Number of AST nodes: 8 | Number of AST nodes: 8 | |||
1 | this.defaultPatterns = f.defaultPatterns;↵ | 1 | this.name = other.name;↵ | |
2 | this.additionalPatterns = f.additionalPatterns;↵ | 2 | this.ifCondition↵ | |
3 | this.selectors = f.selectors;↵ | |||
4 | this.useDefaultExcludes = f.useDefaultExcludes;↵ | |||
5 | this.caseSensitive = f.caseSensitive;↵ | |||
6 | this.followSymlinks = f.followSymlinks;↵ | |||
7 | this.ds = f.ds;↵ | |||
8 | setProject(f.getProject())↵ | 3 | = other.ifCondition;↵ | |
4 | this.unlessCondition = other.unlessCondition;↵ | |||
5 | this.dependencies = other.dependencies;↵ | |||
6 | this.location = other.location;↵ | |||
7 | this.project = other.project;↵ | |||
8 | this.description = other.description;↵ | |||
9 | // The children are added to after this cloning↵ | |||
9 | ; | 10 | this.children = other.children; | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
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 | 64 |
Number of mapped statements | 1 |
Number of unmapped statements in the first code fragment | 7 |
Number of unmapped statements in the second code fragment | 7 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | this.name = other.name; | ||||||||||||||||||
1 | this.defaultPatterns = f.defaultPatterns; | | ||||||||||||||||||
| 2 | this.ifCondition = other.ifCondition; | ||||||||||||||||||
2 | this.additionalPatterns = f.additionalPatterns; | | ||||||||||||||||||
| 3 | this.unlessCondition = other.unlessCondition; | ||||||||||||||||||
3 | this.selectors = f.selectors; | | ||||||||||||||||||
| 4 | this.dependencies = other.dependencies; | ||||||||||||||||||
4 | this.useDefaultExcludes = f.useDefaultExcludes; | | ||||||||||||||||||
| 5 | this.location = other.location; | ||||||||||||||||||
5 | this.caseSensitive = f.caseSensitive; | | ||||||||||||||||||
6 | this.followSymlinks = f.followSymlinks; | | ||||||||||||||||||
7 | this.ds = f.ds; | | ||||||||||||||||||
8 | setProject(f.getProject()); |
| 6 | this.project = other.project; | ||||||||||||||||
| 7 | this.description = other.description; | ||||||||||||||||||
| 8 | this.children = other.children; |
Row | Violation |
---|