CloneWorks

B
B tier on Code Clone Detection ToolsScore 7.0 · #5 of 23
Android app
Not listed
Free plan
Yes
Runs on
Linux, Mac, Windows
github.com
The CloneWorks homepage

Summary

CloneWorks prepares source code into fragments and detects clones in those fragments. Its input builder accepts Java, C, C++, C#, and Python, and can extract code at block, function, or file granularity. The detector uses a token-based method and accepts a minimum similarity threshold from 0.0 to 1.0; the repository describes a test run with Type-3 clone detection. For an index larger than available memory, CloneWorks offers a partitioned partial-index mode, though the partition size must be established experimentally. It runs on Linux, macOS, and Windows and requires FreeTXL 10.6 or later, gcc, make, and Java 7 or later. The input builder is slower on Cygwin because process creation is slower on Windows. CloneWorks is free, but its license requires acknowledgement and says copies, modifications, and derivatives must stay under the license and be distributed without charge. The license provides the software as-is without warranty. The maintainer invites questions and bug reports by email and says he is happy to assist with using CloneWorks.

Who it is for

CloneWorks may suit developers or researchers who need to prepare source code and detect clones across the listed programming languages. It requires several installed development tools and runtimes.

What is good

  • Supports Java, C, C++, C#, and Python input.
  • Extracts blocks, functions, or files.
  • Accepts similarity thresholds from 0.0 to 1.0.
  • Offers a partitioned mode for indexes exceeding memory.
  • Free to use under its license terms.

What to know first

  • Requires FreeTXL, gcc, make, and Java 7 or later.
  • Cygwin input building is slower on Windows.
  • Partition size must be determined experimentally.
  • License requires redistribution and derivatives to remain free.

Verdict

CloneWorks offers configurable extraction and token-based clone detection across five listed languages. Check its system requirements and free-redistribution conditions before adopting or sharing modified versions.

CloneWorks plans and pricing

All plans
CloneWorks Free Use requires acknowledgement; no charge may be made · Redistribution and derivatives must use this license and be free of charge github.com · 3 Oct 2026

Compared on code clone detection tools

Free plan
Yesgithub.com
Clone detection method
tokengithub.com
Scan scope
repositorygithub.com
Self-hosted option
Yesgithub.com

Facts

Purpose
CloneWorks prepares source code and detects code clones in the prepared fragments.github.com · 3 Oct 2026
Clone types
The repository describes a test run that performs Type-3 clone detection.github.com · 3 Oct 2026
Languages
The input builder lists Java, C, C++, C#, and Python as supported input languages.github.com · 3 Oct 2026
Granularity
The input builder supports block, function, and file granularity for code extraction.github.com · 3 Oct 2026
Similarity threshold
The clone detector accepts a minimum similarity threshold from 0.0 to 1.0.github.com · 3 Oct 2026
Large inputs
A partitioned partial-index mode is available when the index exceeds available memory, and the README says its partition size must be determined experimentally.github.com · 3 Oct 2026
System requirements
CloneWorks requires FreeTXL 10.6 or later, gcc, make, and Java 7 or later.github.com · 3 Oct 2026
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.github.com · 3 Oct 2026
Windows limitation
The README says the input builder is slower on Cygwin because process creation is slower on Windows.github.com · 3 Oct 2026
Support
Jeffrey Svajlenko invites questions and bug reports by email and says he is happy to assist with using CloneWorks.github.com · 3 Oct 2026
License terms
The license permits copying, modification, and redistribution of CloneWorks and derivatives if they remain under the license and are distributed without charge.github.com · 3 Oct 2026
Warranty
The license provides CloneWorks as-is without warranty, including implied warranties of merchantability or fitness for a particular purpose.github.com · 3 Oct 2026

Best CloneWorks alternatives

See all 20

Where it ranks on Everything Xiaomi

Is CloneWorks yours?

Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.

Sources