CloneWorks vs Deckard
CloneWorks
github.comDeckard
github.comSide by side
| Figure | CloneWorks | Deckard |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 0 |
| Spec score · Code Clone Detection Tools | 7.9 (#4) | 7.5 (#12) |
| Languages | The input builder lists Java, C, C++, C#, and Python as supported input languages. | The release notes describe support for C, Java 7, PHP 5, and Solidity syntax. |
| Platforms | The README says CloneWorks can be used on Linux and other Unix-like systems, was tested on Ubuntu and OS X, and should work on Cygwin. | Installation instructions use bash or Cygwin; the release notes mention Mac OS compatibility, and the README notes Cygwin can run tens of times slower than Linux. |
| Purpose | CloneWorks prepares source code and detects code clones in the prepared fragments. | Deckard is a tree-based code clone detection tool that can also report clone-related bugs. |
| Windows limitation | The README says the input builder is slower on Cygwin because process creation is slower on Windows. | The README warns that Windows Vista and 7 may block compiled executables because of UAC false alarms. |
Plans
In their own words
CloneWorks
CloneWorks prepares source code into fragments and detects code clones in those fragments. It supports Linux, macOS, and Windows, with a token-based detection method and repository-level scan scope. Its input builder supports Java, C, C++, C#, and Python, and can extract blocks, functions, or files. The detector accepts a minimum similarity threshold from 0.0 to 1.0; the repository describes a Type-3 clone-detection test run. When an index exceeds available memory, a partitioned partial-index mode is available, though the README says its partition size must be determined experimentally. CloneWorks requires FreeTXL 10.6 or later, gcc, make, and Java 7 or later. The input builder runs more slowly on Cygwin because process creation is slower on Windows. It is free to use, with acknowledgement required; copies, modifications, and derivatives must remain under the license and be distributed without charge. The license also provides the software as-is without warranty.