File path: /columba-1.4-src/core/src/main/java/org/columba/core/search/SearchCommandReference.java | File path: /columba-1.4-src/core/src/main/java/org/columba/core/search/SearchCommandReference.java | |||
Method name: void SearchCommandReference(String, int, int, boolean)
|
Method name: void SearchCommandReference(String, String, int, int)
|
|||
Number of AST nodes: 6 | Number of AST nodes: 6 | |||
1 | super();↵ | 1 | super();↵ | |
2 | this.searchTerm = searchTerm;↵ | 2 | this.searchTerm = searchTerm;↵ | |
3 | ↵ | 3 | this.providerTechnicalName = providerTechnicalName;↵ | |
4 | this.startIndex = startIndex;↵ | 4 | this.startIndex = startIndex;↵ | |
5 | this.resultCount = resultCount;↵ | 5 | this.resultCount = resultCount;↵ | |
6 | this.searchInside = searchInside;↵ | |||
7 | type = TYPE.SIMPLE_ALL; | 6 | type = TYPE.SIMPLE_SPECIFIC_PROVIDER; | |
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 declared in the same class |
Number of node comparisons | 18 |
Number of mapped statements | 5 |
Number of unmapped statements in the first code fragment | 1 |
Number of unmapped statements in the second code fragment | 1 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | super(); | 1 | super(); | |||||||||||
2 | this.searchTerm = searchTerm; | 2 | this.searchTerm = searchTerm; | |||||||||||
| 3 | this.providerTechnicalName = providerTechnicalName; | ||||||||||||
3 | this.startIndex = startIndex; | 4 | this.startIndex = startIndex; | |||||||||||
4 | this.resultCount = resultCount; | 5 | this.resultCount = resultCount; | |||||||||||
5 | this.searchInside = searchInside; | | ||||||||||||
6 | type = TYPE.SIMPLE_ALL; |
| 6 | type = TYPE.SIMPLE_SPECIFIC_PROVIDER; |
Row | Violation |
---|