{"repo":"boyter/dcd","free":true,"listed":false,"github":"https://github.com/boyter/dcd","clone":"git clone https://github.com/boyter/dcd.git","description":"Duplicate code detector with fuzzy matching, gap tolerance, and interactive codebase visualization","language":"Go","stars":83,"topics":["cicd","cli","code","detector","duplicate"],"license":"AGPL-3.0","category":"deployment-docker-iac","readme_excerpt":"Duplicate Code Detector (dcd) ----------------------------- A tool similar to Simian designed to identify duplicate code within a project. It is, however, under a free software license. Licensed under GNU Affero General Public License 3.0. Support Using dcd commercially? If you want priority support for dcd you can purchase a years worth https://boyter.gumroad.com/l/wajuc which entitles you to priority direct email support from the developer. Install Go Get If you are comfortable using Go and have = 1.19 installed: Manual Binaries for GNU/Linux and macOS for both i386 and x86 64 and ARM64 machines are available from the releases page. Pitch Why use dcd ? - It's reasonably fast and works with large projects - Works very well across multiple platforms without slowdown (GNU/Linux, macOS) - Supports fuzzy matching to catch near-duplicate lines - Supports gap tolerance to find duplicate blocks even when lines have been inserted, deleted, or modified - Can compare a single file against the rest of a codebase - Can generate PBM scatter plot visualizations of the comparison matrix between two files - Supports ignoring marked blocks of code (e.g. generated code) via configurable markers Usage Command line usage of dcd is designed to be as simple as possible. Full details can be found in dcd --help or dcd -h . Note that the below reflects the state of master, not a release. Basic usage Running dcd with no arguments scans the current directory for duplicate code blocks: You can also pas","default_branch":null,"files":null,"tree":[],"storefront":"/r/boyter","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/boyter/dcd/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}