NiCad
github.com
- Free plan
- Windows
- macOS
- Linux
- Self-hosted
What NiCad is
NiCad is a near-miss source code clone detection system for finding similar code fragments. It can analyze source at file, function, or block granularity, and its included language plugins cover C, C#, Java, Python, PHP, Ruby, WSDL, and ATL. Other language plugins can be added when a TXL grammar is available. Configuration files let users customize renaming, filtering, abstraction, and normalization before comparison. Results include clone pairs and clone classes in XML-like formats, with optional browsable HTML reports. The default near-miss difference threshold is 0.30; 0.00 indicates exact clones. NiCadCross reports fragments from one system that appear as clones in another. The software is free under an MIT-style license with stated conditions for use, modification, distribution, sublicensing, and sale. It runs on Linux, macOS, and Windows, either from its directory for personal use or through a system-wide installation script. NiCad 7.0 requires OpenTxl 11 or later, and building its comparison tools requires Turing+ 6.2 or later. The latest listed release is Open NiCad 7.0.1, described as the first open-source release of the clone detector.
Who it suits
NiCad suits developers and teams examining source repositories for similar code, especially when file-, function-, or block-level analysis and configurable preprocessing are useful. Users should be prepared to install its required dependencies.
Good to know, and what to watch
- Analyzes source at file, function, or block level.
- Includes plugins for eight listed languages.
- Configuration supports customized preprocessing.
- Optional browsable HTML reports.
- Free under an MIT-style license.
- NiCad 7.0 requires OpenTxl 11 or later.
- Building comparison tools requires Turing+ 6.2 or later.
- Other language plugins require an available TXL grammar.
- Repository issues currently restrict new issue creation.
Plans
Every plan and priceFree and open source
Free plan
The verdict
NiCad offers configurable clone detection across several languages and analysis granularities. Its dependency requirements are important to check before installation.
What the maker publishes
- Analysis granularity
- It analyzes source code at file, function, or block granularity. source
- Cross-system detection
- NiCadCross reports fragments from one system that appear as clones in a second system. source
- Customization
- Configuration files support customized renaming, filtering, abstraction, and normalization before comparison. source
- Dependencies
- NiCad 7.0 requires OpenTxl 11 or later; building its comparison tools requires Turing+ 6.2 or later. source
- Detection threshold
- The default near-miss difference threshold is 0.30, and 0.00 means exact clones. source
- Extensibility
- Plugins for other languages can be added when a TXL grammar is available. source
- Headquarters
- Kingston, Canada source
- Install and use
- It can be run from its directory for personal use or installed system-wide with the provided installation script. source
- Languages
- Included language plugins cover C, C#, Java, Python, PHP, Ruby, WSDL, and ATL. source
- License
- The project uses an MIT-style license permitting use, modification, distribution, sublicensing, and sale subject to its stated conditions. source
- Platforms
- The README says NiCad should compile and run on Linux and macOS, and in Cygwin or MSYS2 (MinGW) on Windows. source
- Purpose
- NiCad is a near-miss source code clone detection system. source
- Release
- The latest listed release is Open NiCad 7.0.1, described as the first open-source release of the clone detector. source
- Reports
- Results include clone pairs and clone classes in XML-like formats, with optional browsable HTML reports. source
- Support
- The repository's Issues page currently shows no open issues and says issue creation is restricted. source
Checked against the maker's pages on 4 Oct 2026.