dcd
github.com
Spec sheet
- Purpose
- dcd is a duplicate code detector designed to identify duplicate code within a project.Read 30 Sep 2026 · github.com
- License
- The project is licensed under the GNU Affero General Public License 3.0.Read 30 Sep 2026 · github.com
- Commercial support
- Commercial users can purchase a year's priority support entitlement for direct email support from the developer.Read 30 Sep 2026 · github.com
- Fuzzy matching
- The --fuzz option uses simhash distance to match similar but non-identical lines, with values from 0 to 255.Read 30 Sep 2026 · github.com
- Gap tolerance
- The --gap-tolerance option bridges inserted, deleted, or modified lines in otherwise matching duplicate blocks.Read 30 Sep 2026 · github.com
- Hole tolerance
- The --max-hole-size option allows modified lines within a duplicate diagonal match.Read 30 Sep 2026 · github.com
- Ignore support
- dcd supports .ignore files using the same syntax as .gitignore files and can ignore marked code blocks.Read 30 Sep 2026 · github.com
- Installation
- Users with Go 1.19 or newer can install dcd with go install github.com/boyter/dcd@latest.Read 30 Sep 2026 · github.com
- Language coverage
- The comparison table says dcd provides language-aware parsing via scc for 250+ languages.Read 30 Sep 2026 · github.com
- Maker background
- Ben Boyter describes himself as a professional software engineer with more than 15 years of development experience focused on testing.Read 30 Sep 2026 · boyter.org
- Release limitation
- Release 1.1.0 removed Windows support for full filesystem compatibility and directs Windows users to WSL.Read 30 Sep 2026 · github.com
- Single-file comparison
- The --file option compares one file against the rest of the codebase.Read 30 Sep 2026 · github.com
- Structured output
- The --format json option produces structured JSON output for integration with other tools or CI pipelines.Read 30 Sep 2026 · github.com
- Visualizations
- dcd can generate PBM scatter plots and self-contained interactive HTML reports with file heatmaps and scatter plots.Read 30 Sep 2026 · github.com
Plans and prices
dcd Free AGPL-3.0 open-source license Read 30 Sep 2026 · github.com
Priority support Price not published a years worth priority direct email support from the developer Read 30 Sep 2026 · github.com
Where Specifiction places it
- Code Duplication Detection Tools#6 of 187.8
- Code Clone Detection Tools#8 of 237.8