Working with duplication issues
With Duplication checker enabled, CodeFactor finds similar or duplicate source code for all supported languages. Statistics shows that this checker slows down analysis and reports on issues that are usually non-actionable or just entirely ignored by users. For those reasons and to keep non-actionable reports to a minimum it's disabled by default.
If you still would like to see duplication results for your repository, you may enable it in repository Settings page on CodeFactor.
.
If you decide to use duplication checker note that:
- There is an inspection timeout window set for each language. If analysis exceeds this window, Duplication checker will be automatically disabled for that language. You may toggle the tool on Settings page if you want to try re-enabling it.
- Duplication checker is disabled when working with Pull Requests. This means that any found duplications will be reported once PR is merged to inspected branch.