GitHub Better Line Counts

Remove generated files from GitHub line counts

As of June 2026, GitHub Better Line Counts has 616 users and a 5.00/5 rating from 5 reviews in the Productivity category.

Usersdown 69.2 percent69.2%
616
616
Ratingno change0%
5.00
5 reviews
Reviewsno change0%
5
Version
1.8.0
Manifest V3
90-day change · In the last 90 days this extension lost 1.4K users.

History

5 snapshots

Tracking since Apr 18, 2026.

2.1K1.2K355.15999999999985Apr 18, 2026Jun 4, 2026
View as table
DateUsersRatingReviewsVersion
Apr 18, 20262.0K5.0051.8.0
Apr 28, 20264915.0051.8.0
May 9, 20264775.0051.8.0
May 22, 20264905.0051.8.0
Jun 4, 20265195.0051.8.0
Now6165.0051.8.0

Permissions & access

Permissions
storage
Host access
None declared

Screenshots

GitHub Better Line Counts screenshot 1GitHub Better Line Counts screenshot 2

About

Lots of code is generated nowadays and GitHub's line counts are not representative of a PR's true size.

This extension subtracts generated files from the total line counts, giving you a better idea of how big a PR really is. That's it.

Generated files are detected from the branch's root .gitattributes file. See GitHub's docs to learn how to mark a file as generated: https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github

For a simple example, checkout this extension's .gitattributes file! https://github.com/aklinker1/github-better-line-counts/blob/main/.gitattributes

---

The extension is open source: https://github.com/aklinker1/github-better-line-counts

Technical

Version
1.8.0
Manifest
V3
Size
135KiB
Min Chrome
88
Languages
1
Featured
Yes

Metadata

ID
ocfdgncpifmegplaglcnglhioflaimkd
Developer ID
u285be7fec5fb8c9cf881fcb953f6a45b
Developer Email
[email protected]
Created
Feb 22, 2023
Last Updated (Store)
Oct 27, 2025
Last Scraped
Jun 4, 2026
Website

Similar extensions

Alternatives to GitHub Better Line Counts, ranked by description similarity.

Data sourced from the Chrome Web Store · last verified Jun 4, 2026.