Dolos
7.7#1 in code duplication detection toolsFree planFree planWebAPILinuxmacOS
Visit| Fact | Dolos | phpcpd-next |
|---|---|---|
| Integrations | Dolos provides a JSON API for automated integration with exercise platforms such as Dodona. | The project documents PHPUnit integration, an in-process headless API, framework presets, and SARIF upload to GitHub Code Scanning. |
| Purpose | Dolos detects plagiarism by finding similarities between source code submissions. | phpcpd-next is a token-based copy/paste detector for PHP 8.4+ and a successor to Sebastian Bergmann’s phpcpd. |
| Reports | Reports include similarity, total overlap, and the longest matching fragment for file pairs. | It provides console, PMD-CPD XML, JSON, and SARIF 2.1.0 output formats. |
| Support | General questions and support are handled through GitHub discussions, while bugs and feature requests use GitHub issues. | The opened project page describes contribution guidance and a Contributor License Agreement; it does not state a paid support plan. |
Dolos is suited to teachers checking source-code submissions, including tests, exams, and exercises where small-group collaboration is allowed. It can also suit users who want local analysis or to host the tool themselves.
phpcpd-next may suit PHP developers who want to locate code clones in repositories or add clone findings to CI. Its requirements make it a fit for projects using PHP 8.4 or later with the required extensions.