File path: /columba-1.4-src/core/src/main/java/org/columba/core/search/SearchManager.java | File path: /columba-1.4-src/core/src/main/java/org/columba/core/search/SearchManager.java | |||
Method name: void execute(IWorkerStatusController)
|
Method name: void execute(IWorkerStatusController)
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | ISearchCriteria c = it2.next();↵ | 1 | ISearchCriteria c = it2.next();↵ | |
2 | String searchCriteriaTechnicalName = c↵ | 2 | String searchCriteriaTechnicalName = c↵ | |
3 | .getTechnicalName();↵ | 3 | .getTechnicalName();↵ | |
4 | // execute search↵ | 4 | // execute search↵ | |
5 | doExecute(ref.getSearchTerm(), p,↵ | 5 | doExecute(ref.getSearchTerm(), p,↵ | |
6 | searchCriteriaTechnicalName, ref↵ | 6 | searchCriteriaTechnicalName, ref↵ | |
7 | .isSearchInside(), ↵ | 7 | .isSearchInside(),↵ | |
8 | ref.getStartIndex(),↵ | 8 | ref.getStartIndex(),↵ | |
9 | ref.getResultCount()); | 9 | ref.getResultCount()); | |
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 the same method |
Number of node comparisons | 11 |
Number of mapped statements | 3 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
8 | ISearchCriteria c = it2.next(); | 16 | ISearchCriteria c = it2.next(); | |
9 | String searchCriteriaTechnicalName = c.getTechnicalName(); | 17 | String searchCriteriaTechnicalName = c.getTechnicalName(); | |
10 | doExecute(ref.getSearchTerm(), p, searchCriteriaTechnicalName, ref.isSearchInside(), ref.getStartIndex(), ref.getResultCount()); | 18 | doExecute(ref.getSearchTerm(), p, searchCriteriaTechnicalName, ref.isSearchInside(), ref.getStartIndex(), ref.getResultCount()); |
Row | Violation |
---|