Freedom report

Three barsScore 6.5

  • Free tierA free tier is on its own pricing page
  • Open codeNo open-source code on record
  • Runs widely3 of 6 device platforms
  • DocumentedPlans, terms and facts published

CloneWorks prepares source code into fragments and detects code clones in those fragments. Its input builder supports Java, C, C++, C#, and Python, with extraction 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 using Type-3 clone detection. For an index larger than available memory, a partitioned partial-index mode is available, though its partition size must be determined experimentally. CloneWorks 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 use requires acknowledgement and no charge may be made. Copies, modifications, and derivatives must remain under its license and be distributed without charge. The license provides the software as-is without warranty; the maintainer invites questions and bug reports by email.

Who it is for

CloneWorks suits developers or researchers who need to prepare code and find clones across supported languages and extraction granularities. Users should be prepared to meet its tool requirements and license terms.

What is good

  • Supports Java, C, C++, C#, and Python inputs.
  • Extracts code at block, function, or file level.
  • Threshold can range from 0.0 to 1.0.
  • Available for Linux, macOS, and Windows.

What to know first

  • Requires FreeTXL, gcc, make, and Java 7 or later.
  • Input builder is slower on Cygwin.
  • Partition size must be determined experimentally.
  • License requires free distribution and provides no warranty.

Verdict

CloneWorks provides code preparation and token-based clone detection, with configurable extraction granularity and similarity threshold. Its prerequisites, Cygwin limitation, experimental partition sizing, and license conditions are important considerations.

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
Yes
Clone detection method
token
Scan scope
repository
Self-hosted option
Yes

Best CloneWorks alternatives

See all 20