Skip to content

Dupehound

Developer Productivity

A duplicate‑code detector that finds renamed function copies by structurally fingerprinting code, designed for AI‑generated codebases.

Rust Latest v0.1.2 · 1mo ago Security brief →

Features

  • Detects duplicated functions even after all identifiers and literals are renamed via structural fingerprinting.
  • Provides a repo‑level “slop” score indicating deletable duplicate code with `scan`.
  • Tracks duplication history across git commits using the `history` command.
  • Fails CI builds when new changes introduce duplicates, naming the original function to reuse (`check`).
  • Runs entirely locally and deterministically without network calls or API keys.

Recent releases

View all 3 releases →
No immediate action
v0.1.2 New feature

C# support + scan features + MCP exposure

No immediate action
v0.1.1 Mixed

Swift + C/C++ + PHP fix + explain diff

No immediate action
v0.1.0 New feature

Near‑duplicate code detection

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

About

Stars
84
Forks
8
Languages
Rust Python Shell

Install & Platforms

Install via
cargo brew
Platforms
linux macos windows

Beta — feedback welcome: [email protected]