CCFinderSW vs CloneWorks
CCFinderSW
github.comCloneWorks
github.comSide by side
| Figure | CCFinderSW | CloneWorks |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| Plans published | 1 | 1 |
| Spec score · Code Clone Detection Tools | 8.6 (#1) | 7.9 (#4) |
| Clone types | Without a reserved-word list, the tool detects type 1 clones; with one, it detects type 1 and type 2 clones. | The repository describes a test run that performs Type-3 clone detection. |
| Purpose | CCFinderSW is a token-based code clone detection tool that detects similar code fragments and outputs clone pairs. | CloneWorks prepares source code and detects code clones in the prepared fragments. |
Plans
In their own words
CCFinderSW
CCFinderSW is a free, open-source command-line tool that detects similar code pairs through token-based clone matching. It takes a source directory, a language, and an output file as command-line arguments. The default minimum clone-token threshold is 50 and can be changed with the -t argument. Output can use CCFinder, CCFinderX, CCFinderSW text, or JSON formats, and clone-pair results can be read by Gemini or CCFX. A comment rule file is required for the target language; a reserved-word list is optional but recommended. Without that list, the tool detects type 1 clones; with it, it detects type 1 and type 2 clones. It excludes pairs containing inserted or deleted sentences. The implementation is Java-only, and the project recommends Java 8 or later. Windows is the listed platform, with Windows 10 Pro named as its test environment. The repository offers a CCFinderSW-1.0.zip download and includes an MIT license for the project; bundled libraries use Apache License 2.0.
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.