jscpd is an open-source tool that scans repositories for repeated source code and can fail a build when duplication exceeds a configured threshold.
Alternatives to Dolos
Dolos is for comparing programming submissions: it fingerprints source-code token sequences and reports similarity, total overlap and the longest matching fragment between file pairs. Its Tree-sitter parsers support common languages, and the web app takes ZIP files and detects languages from file extensions. Teachers can use it for tests, exams and exercises, with a JSON API for automated integrations. It is free and open source, and can run locally or on a self-hosted…
PMD is a free, extensible static code analyzer that checks source code for programming flaws such as unused variables, empty catch blocks, and unnecessary object creation.
- 4
Duplo
Duplo is free software for finding duplicated source code blocks in large codebases.
Free planLinuxmacOSWindows6.5Free plan - 5
dcd
dcd is a free duplicate-code detector that scans a repository to find repeated code.
Free planLinuxmacOS6.2Free plan - 6
NiCad
NiCad is a near-miss source code clone detector for finding similar code fragments across a repository.
Free planLinuxmacOSSelf-hostedWindows6.2Free plan - 7

Simian Similarity Analyzer
Simian Similarity Analyzer scans files in a repository to find duplicated blocks of code and other repeated text.
Free planLinuxmacOSWindows6.2Free plan - 8
phpcpd-next
phpcpd-next is a token-based detector for copied and similar PHP code across a repository.
Free planAPILinuxSelf-hosted5.9Free plan - 9
Deckard
Deckard is a free, open-source tool for detecting code clones in source code and analyzing clone-related bugs.
APILinuxmacOSSelf-hosted5.7 - 10
SourcererCC
SourcererCC is free GPL-3.0 software for token-based code clone detection across very large codebases and Internet-scale repositories.
LinuxSelf-hosted5.5 - 11

art-dupl
art-dupl is an open-source tool for finding code clones in Go repositories.
5.4 - 12
Fallow
WebLinuxmacOSWindows5.0 - 13
CCDetect-lsp
LinuxmacOSWindows4.7 - 14
JPlag
LinuxmacOSWindows4.7 - 154.6
- 16
CloneDR
Windows4.5 - 17
CCFinderX
Linux4.4
