File path: /apache-ant-1.7.0/src/org/apache/tools/ant/Target.java | File path: /apache-ant-1.7.0/src/org/apache/tools/ant/types/AbstractFileSet.java | |||
Method name: void Target(Target)
|
Method name: void AbstractFileSet(AbstractFileSet)
|
|||
Number of AST nodes: 8 | Number of AST nodes: 8 | |||
1 | this.name = other.name;↵ | 1 | this.↵ | |
2 | this.ifCondition = other.ifCondition↵ | 2 | dir = fileset.dir;↵ | |
3 | ;↵ | 3 | this.defaultPatterns = fileset.defaultPatterns;↵ | |
4 | this.unlessCondition = other.unlessCondition;↵ | 4 | this.↵ | |
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↵ | |||
10 | this.children = other.children↵ | 5 | additionalPatterns = fileset.additionalPatterns;↵ | |
6 | this.selectors = fileset.selectors;↵ | |||
7 | this.useDefaultExcludes = fileset.useDefaultExcludes;↵ | |||
8 | this.caseSensitive = fileset.caseSensitive;↵ | |||
9 | this.followSymlinks = fileset.followSymlinks;↵ | |||
11 | ; | 10 | setProject(fileset.getProject()); | |
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.dir = fileset.dir; | ||||||||||||||||||
1 | this.name = other.name; | | ||||||||||||||||||
| 2 | this.defaultPatterns = fileset.defaultPatterns; | ||||||||||||||||||
2 | this.ifCondition = other.ifCondition; | | ||||||||||||||||||
| 3 | this.additionalPatterns = fileset.additionalPatterns; | ||||||||||||||||||
3 | this.unlessCondition = other.unlessCondition; | | ||||||||||||||||||
| 4 | this.selectors = fileset.selectors; | ||||||||||||||||||
4 | this.dependencies = other.dependencies; | | ||||||||||||||||||
| 5 | this.useDefaultExcludes = fileset.useDefaultExcludes; | ||||||||||||||||||
5 | this.location = other.location; | | ||||||||||||||||||
| 6 | this.caseSensitive = fileset.caseSensitive; | ||||||||||||||||||
| 7 | this.followSymlinks = fileset.followSymlinks; | ||||||||||||||||||
6 | this.project = other.project; |
| 8 | setProject(fileset.getProject()); | ||||||||||||||||
7 | this.description = other.description; | | ||||||||||||||||||
8 | this.children = other.children; | |
Row | Violation |
---|