File path: /apache-ant-1.7.0/src/org/apache/tools/ant/types/ArchiveFileSet.java | File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/extension/ExtensionAdapter.java | |||
Method name: void ArchiveFileSet(ArchiveFileSet)
|
Method name: void setRefid(Reference)
|
|||
Number of AST nodes: 9 | Number of AST nodes: 8 | |||
1 | super(fileset);↵ | |||
2 | src = fileset.src;↵ | |||
3 | prefix = fileset.prefix;↵ | |||
4 | fullpath = fileset.fullpath;↵ | |||
5 | hasDir = fileset.hasDi↵ | 1 | final ExtensionAdapter other = (ExtensionAdapter) o;↵ | |
2 | extensionName = other.extensionName;↵ | |||
3 | specificationVersion = other.specificationVersion;↵ | |||
6 | r;↵ | 4 | specificationVendor = other.specificationVendor;↵ | |
7 | fileMode = fileset.fileMode;↵ | 5 | ↵ | |
8 | dirMode = fileset.dirMode;↵ | |||
9 | fileModeHasBeenSet = fileset.fileModeHasBeenSet;↵ | |||
10 | dirModeHasBeenSet = fileset.dirModeHasBeenSet↵ | 6 | implementationVersion = other.implementationVersion;↵ | |
7 | implementationVendorID = other.implementationVendorID;↵ | |||
8 | implementationVendor = other.implementationVendor;↵ | |||
11 | ; | 9 | implementationURL = other.implementationURL; | |
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 having the same super class |
Number of node comparisons | 57 |
Number of mapped statements | 2 |
Number of unmapped statements in the first code fragment | 7 |
Number of unmapped statements in the second code fragment | 6 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 3 |
ID | Statement | ID | Statement | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | super(fileset); | | |||||||||||||||||||||||
2 | src = fileset.src; | | |||||||||||||||||||||||
| 5 | final ExtensionAdapter other = (ExtensionAdapter)o; | |||||||||||||||||||||||
3 | prefix = fileset.prefix; |
| 6 | extensionName = other.extensionName; | |||||||||||||||||||||
4 | fullpath = fileset.fullpath; |
| 8 | specificationVendor = other.specificationVendor; | |||||||||||||||||||||
5 | hasDir = fileset.hasDir; | | |||||||||||||||||||||||
6 | fileMode = fileset.fileMode; | | |||||||||||||||||||||||
| 7 | specificationVersion = other.specificationVersion; | |||||||||||||||||||||||
7 | dirMode = fileset.dirMode; | | |||||||||||||||||||||||
8 | fileModeHasBeenSet = fileset.fileModeHasBeenSet; | | |||||||||||||||||||||||
| 9 | implementationVersion = other.implementationVersion; | |||||||||||||||||||||||
9 | dirModeHasBeenSet = fileset.dirModeHasBeenSet; | | |||||||||||||||||||||||
| 10 | implementationVendorID = other.implementationVendorID; | |||||||||||||||||||||||
| 11 | implementationVendor = other.implementationVendor; | |||||||||||||||||||||||
| 12 | implementationURL = other.implementationURL; |
Row | Violation |
---|---|
1 | Expression prefix is a field being modified, and thus it cannot be parameterized |
2 | Expression extensionName is a field being modified, and thus it cannot be parameterized |
3 | Expression fullpath is a field being modified, and thus it cannot be parameterized |
4 | Expression specificationVendor is a field being modified, and thus it cannot be parameterized |