art-dupl
art-dupl: A focused, self-hosted clone analyzer for Go teams building duplication checks into CI. Ranked #2 of 23 in Code Clone Detection Tools by our editors (9.2/10); pricing: Open source; best for go teams needing deep CI clone analysis.
At a glance
- Editor score9.2 / 10
- PricingOpen source
- Best forGo teams needing deep CI clone analysis
- Paid fromFree
- Clone detection methodAst
- Facts checked20 Sep 2026

Where it wins
- AST-based semantic, exact, and structural clone detection
- Generated-code filtering, baselines, and CI checks
- GitHub integrations plus a programmatic Go SDK
Where it doesn't
- Source analysis is focused on Go and Templ projects
- Self-hosted operation puts environment management on the team
- CLI and SDK workflows may be more than small projects need
Our verdict on art-dupl
art-dupl is an open-source command-line tool for detecting duplicated code in Go and Templ projects. It analyzes repositories through AST-based structural detection and supports semantic, exact, structural, suffix-tree, and hash-based matching. The tool suits development teams that want local scans, repository-wide duplication analysis, or automated checks in CI/CD workflows rather than a hosted review service.
Its CI and reporting coverage is a central strength. art-dupl provides baseline recording and checks for newly introduced clones, with templates for GitHub Actions and pre-commit. It also integrates with GitHub Advanced Security and can produce text, rich-text, HTML, JSON, Simple-JSON, SARIF, and plumbing output. Statistics, health grades, duplication metrics, and refactoring-oriented classification give teams several ways to review findings. Generated-code filtering covers sqlc, protobuf, mockgen, stringer, templ, and generic generated files, helping separate generated repetition from code that may need refactoring.
The project is distributed as an MIT-licensed Go tool and is self-hosted, making it a fit for teams that prefer local control over their scanning environment. A programmatic Go SDK adds streaming and progress callbacks for teams building custom workflows around the analyzer. The trade-off is focus: source analysis is centered on Go and Templ, so teams needing broad multi-language clone detection should look elsewhere. art-dupl is a strong choice for Go repositories where semantic analysis, generated-code handling, and CI enforcement matter; smaller projects seeking a simple, language-agnostic hosted scanner may find its modes, outputs, and integration options unnecessary.
Your product? Our editors can test art-dupl in depth and publish a review, labelled as paid · from $149/mo →
art-dupl pricing
art-dupl fact sheet
| Free plan | Not verified |
|---|---|
| Paid from | Free |
| Clone detection method | Ast |
| Scan scope | Repository |
| CI integration | Yes |
| IDE integration | Not verified |
| Self-hosted option | Yes |
| Supported languages | Not verified |
| Deployment | Self-hosted |
| Support | Docs, Community |
| Built for | Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 3 integrations: GitHub Actions, GitHub Advanced Security, pre-commit |
| Pricing | Open source |
| Website | art-dupl.lars.software |
| Facts checked | 20 Sep 2026 |
art-dupl integrations
art-dupl lists 3 integrations on its own site.
- GitHub Actions
- GitHub Advanced Security
- pre-commit
Alternatives to art-dupl
- jscpdA broad, self-hosted clone detector with strong CI, reporting, and history analysis.9.4
- PMDA strong open-source choice for teams pairing clone detection with broad static analysis.9.0
- NiCadA configurable, self-hosted choice for exact and near-miss clone analysis.8.8
See all art-dupl alternatives →
art-dupl vs the competition
- art-dupl vs jscpd
- art-dupl vs PMD
- art-dupl vs NiCad
- art-dupl vs Amimica
- art-dupl vs @kongyo2/similarity-ts
- art-dupl vs QuickDup
Compare art-dupl with any tool side by side →
Also Ranked In
art-dupl is ranked in 2 of our directories.
Used art-dupl? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used art-dupl for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
art-dupl is listed in our Code Clone Detection Tools directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/art-dupl/"><img src="https://www.itechguides.com/best/badge/art-dupl.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update

