Skip to contentjscpdjscpdv5
    • Introduction
    • Installation
    • Configuration
    • Supported Formats
    • Agent Skill
    • Changelog
    • Migrating from v4 to v5
    • jscpd v4 (TypeScript)
    • Guides
    • Types of Code Clones
    • How Detection Works
    • Duplication Trend over Git History
    • Project Dashboard
    • Project Health Score
    • CI & Hooks
    • Use jscpd in CI
    • Use jscpd in Pre-Commit Hook
    • Reporters
    • HTML Reporter
    • JSON Reporter
    • Badge Reporter
    • SARIF Reporter
    • CodeClimate / GitLab Reporter
    • OpenMetrics Reporter
    • Benchmarks
    • Detection Speed
    • Multi-Format Detection
    • AI Token Efficiency
    • API
    • Rust Crates (v5)
    • MCP Server
  • Trending
  • Research
  • Articles
CI & Hooks

CI & Hooks

Integrate jscpd into your CI pipeline and git hooks.

jscpd can enforce duplication thresholds in CI pipelines and as a local pre-commit hook — catching copy/pasted code before it reaches the main branch.

  • Use jscpd in CI — GitHub Actions, GitLab CI, and generic CI integration
  • Use jscpd in pre-commit hooks — pre-commit framework, Husky, and manual git hooks
Edit this pageorReport an issue

Project Health Score

One 0-100 score with a grade for a codebase, from how much of it is duplicated, dead or concentrated in complex files, extensible with coverage, test and security metrics.

Use jscpd in CI

Run jscpd in GitHub Actions, GitLab CI, and other CI systems to enforce duplication thresholds.

GitHubXSupportRust cratePyPI
jscpdjscpd
Copyright © 2013-2026 Andrey Kucherenko