See how many lines a GitHub pull request really changes, without test files or comments. One click to count tests again.
Users
8
store count
Rating
5.0 / 5
unchanged in 30 days
Ratings
2
total ratings
Store rank
#208K
#174K among extensions
Version
1.2.0
updated 15 Oct 2026
Users
monthly, 1 months
Latest, 16 Oct 2026:8 usersMove the mouse over the chart for any month
Ratings count
monthly, 1 months
Latest, 16 Oct 2026:2 ratingsMove the mouse over the chart for any month
The Chrome Web Store rounds user counts down to the leading digit, so the user line moves in steps. The ratings count is exact and is the better signal of real adoption.
About PR Code Stats
AI coding agents write a lot of tests. A pull request that changes 180 lines of code now often shows +950 in the header, because the rest is test files. That makes it hard to judge the real size of a change at a glance.
PR Code Stats replaces the line count in the pull request header with the count of real code. Test files are left out, and if you like, comments and blank lines too. The pill next to the count switches tests back in, and hovering it shows the breakdown.
Features:
- Shows the line count without test files by default
- Optional: leave out comments and blank lines as well
- Flags Markdown files with a "docs" warning, so documentation doesn't pass for code
- Hover for the breakdown: code, docs and tests, file counts, share of added lines
- Auto-view tests on the Files changed page: marks test files as Viewed and folds test folders, so you only scroll through real code. Off by default, and turning it off undoes only what it did
- Click the toolbar icon to switch any of these on or off
- Works on private repositories using your existing GitHub login, no token required
- An optional GitHub token lets Auto-view use GitHub's API, so it keeps working when GitHub changes its page
- Recognizes the usual test folders and file names out of the box, and you can edit the patterns on the options page
Privacy: no server, no analytics, no tracking. The extension only talks to GitHub, to fetch the pull request you are viewing.
Not affiliated with or endorsed by GitHub.