Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

art-dupl review

Free#2 of 23 in Code Clone Detection ToolsCode Duplication Detection Tools

A focused, self-hosted clone analyzer for Go teams building duplication checks into CI.

9.2/10Editor score
art-dupl9.2 Visit art-dupl

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

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.

art-dupl pros and cons

  • 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

art-dupl fact sheet, pricing and score →

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