copydetect vs Hound
copydetect
github.comHound
github.comSide by side
| Figure | copydetect | Hound |
|---|---|---|
| Price from | — | — |
| Free plan | — | — |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | Yes | — |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 0 | 0 |
| Spec score · Code Clone Detection Tools | 7.8 (#6) | 7.5 (#13) |
| License | Copydetect is released under the MIT License. | The repository provides Hound under the MIT License. |
| Platform support | PyPI classifies the package as operating-system independent and Python 3 only. | The README says Hound is tested on macOS and CentOS and should work on any Unix-like system; Windows is not supported, though it may compile and run. |
| Purpose | Copydetect detects likely code plagiarism by comparing code directories and generating an HTML report that displays copied slices. | Hound is an extremely fast source code search engine with a React frontend and Go backend that maintains an index for each repository. |
| Release | PyPI lists version 0.5.0, released March 9, 2024. | The latest release listed on the project's Releases page is v0.7.1, dated May 3, 2023. |
In their own words
copydetect
copydetect is a free tool for comparing code directories and producing an HTML report that highlights matching code slices. It uses Winnowing document fingerprinting, an approach also used by MOSS, and Pygments tokenization for the 500-plus languages Pygments can detect and tokenize. Users can compare test directories with reference directories such as previous submissions, and exclude boilerplate directories from matches. Noise, guarantee and display thresholds adjust what is detected and shown in reports. Install the package with pip; it requires Python 3.7 or later. The command-line tool recursively searches supplied directories, while its Python API supports comparisons and HTML report generation. Reports can be saved to a specified path, highlighted code can be truncated, and custom CSS can be linked. Configuration is available through command-line arguments or a JSON file. The package is MIT-licensed and classified for Education with Beta development status. Its documentation cautions that it may not catch plagiarism designed to evade detection and that a match does not establish that plagiarism occurred.
Hound
Hound is a free source code search engine that indexes repositories and offers a web interface and a minimal API. Its Go backend maintains a current index for each repository, while its static React frontend provides the web UI. Search uses regular-expression matching with a trigram index. Hound supports Git, Mercurial, SVN, Bazaar, and local repositories; private repositories can be indexed from local directories or reached through file or SSH-style URLs. By default, it checks configured repository URLs for updates every 30 seconds, with an interval that can be changed per repository. It can be built from source or run from the project's Docker image, and the web UI defaults to localhost:6080. Plugins are available for Sublime Text, Vim, Emacs, and Visual Studio Code. Hound is tested on macOS and CentOS and is expected to work on Unix-like systems, but Windows is not supported. It does not support TLS itself; the README suggests running it behind Apache or nginx. Hound uses the MIT license, and the latest listed release is v0.7.1, published May 3, 2023.