Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I thought most of a pull request was noise. I measured 1,000 of them. I was wrong.

说明与用途

ReviewRaccoon 分析 PR,识别仅为重构的更改,帮助审阅者快速批准并专注于功能性修改。

问题

Reviewers spent time on refactor-only changes that do not alter code behavior.

结果

Only 3% of changed lines were refactor-only across 1,000 PRs; 97% altered code behavior.

工作流

  • 1. Install ReviewRaccoon GitHub Action via workflow file.
  • 2. Action runs on each PR, generating a syntax tree for changed files.
  • 3. It strips formatting, comments, and local variable names.
  • 4. Compares old and new trees to flag refactor-only changes.
  • 5. Outputs two sections: functions with behavioral changes and proof of refactor-only changes.
  • 6. Reviewers can approve refactor-only changes quickly.
  • 7. Optionally run the scanner locally with "node scripts/scan.js" to measure own repo.

证据

ReviewRaccoon is a free GitHub Action. It turns the old and new version of every changed JavaScript and TypeScript file into a syntax tree, strips out everything that can't change behavior (formatting, comments, local variable names), and compares the two trees piece by piece.

来源

Only 3% of the changed lines were refactor-only. The other 97% changed what the code does.

来源

I ran ReviewRaccoon over the last 100 merged pull requests of 10 well-known projects: React, Next.js, VS Code, TypeScript, Vite, Svelte, Angular, Prettier, ESLint and Node.js.

来源

  • 记录日期: 2026-11-03T05:28:55.378Z