Diff Noise Counter
Paste a unified diff and separate the lines a human should review from lockfiles, generated code, snapshots, and vendored dependencies.
Import a public pull request
Scopy reads the changed-file list from GitHub's public API and classifies each path. No repository access, no upload.
Noise report
Import a public pull request to count reviewable lines against lockfile, generated, snapshot, minified, and vendored noise.
What counts as noise in a diff?
A 4,000-line pull request is often a 150-line change wearing a lockfile. Dependency lockfiles, generated clients, snapshots, minified bundles, and vendored code inflate diff statistics without adding review work — no human reads a pnpm-lock.yaml hunk line by line. The counter classifies each changed file by its path and name, then reports how many changed lines actually deserve human attention.
The distinction matters beyond curiosity. Review effort, review latency, and per-line billing in some code review tools all scale with diff size, so knowing the reviewable core of a change helps you size the work honestly. A reviewer who opens a PR labeled '+4,213' and finds 150 real lines reviews it today; one who expects 4,213 real lines schedules it for never.
Everything runs locally: the diff you paste stays in your browser, is never uploaded, and is discarded when you leave the page. That makes the tool safe to use on diffs from private repositories.
The classification is heuristic and based on file paths, so a hand-edited generated file still counts as generated. Treat the numbers as a strong estimate, and check the per-file breakdown when a classification looks surprising.
Related reading: Why AI code reviewers are so noisy (and how to fix it).
Frequently asked questions
- Is my diff uploaded anywhere?
- No. Parsing and classification run entirely in your browser. The diff never leaves your machine, so pasting private-repository diffs is safe.
- How do I get a unified diff to paste?
- Run git diff or git show in your repository, or append .diff to any public GitHub pull request URL and copy the result. Any standard unified diff format works.
- What file types are counted as noise?
- Dependency lockfiles (pnpm-lock.yaml, package-lock.json, Cargo.lock and similar), generated and build-output paths, minified assets, source maps, test snapshots, and vendored dependency directories. Everything else counts as reviewable, including documentation.
- Why does my code review bill count more lines than this tool?
- Many tools bill on raw changed lines as reported by GitHub, which includes lockfiles and generated code. A reviewer that filters non-reviewable paths before counting — as Scopy does — produces smaller, more honest numbers.
Try Scopy AI on your next pull request
Accurate, open-source AI code reviewer that understands your project. Self-host it or start in the cloud.