Deckard vs NiCad
Deckard
github.comNiCad
github.comSide by side
| Figure | Deckard | NiCad |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | Yes | — |
| Self-hosted | Yes | Yes |
| Plans published | 0 | 1 |
| Spec score · Code Duplication Detection Tools | 7.5 (#8) | 7.7 (#7) |
| Spec score · Code Clone Detection Tools | 7.5 (#12) | 7.7 (#10) |
| Languages | The release notes describe support for C, Java 7, PHP 5, and Solidity syntax. | Included language plugins cover C, C#, Java, Python, PHP, Ruby, WSDL, and ATL. |
| License | The repository license permits source and binary redistribution subject to its stated conditions and disclaims warranties. | The project uses an MIT-style license permitting use, modification, distribution, sublicensing, and sale subject to its stated conditions. |
| Platforms | 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. | The README says NiCad should compile and run on Linux and macOS, and in Cygwin or MSYS2 (MinGW) on Windows. |
| Purpose | Deckard is a tree-based code clone detection tool that can also report clone-related bugs. | NiCad is a near-miss source code clone detection system. |
| Reports | The tool can convert clone or bug reports into HTML for inspection in a browser. | Results include clone pairs and clone classes in XML-like formats, with optional browsable HTML reports. |
Plans
In their own words
NiCad
NiCad is a near-miss source code clone detection system for finding similar fragments in a repository. It can analyze code at file, function, or block granularity. Included language plugins cover C, C#, Java, Python, PHP, Ruby, WSDL, and ATL; plugins for other languages can be added when a TXL grammar is available. Configuration files let users tailor 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; a setting of 0.00 means exact clones. NiCadCross can report fragments from one system that also appear as clones in a second. 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 and can be run from its directory for personal use or installed system-wide. NiCad 7.0 requires OpenTxl 11 or later; building comparison tools requires Turing+ 6.2 or later.