Better Git Line Counts Firefox

Better Git Line Counts

By: Aaron Add-on
Remove generated files from PR and diff line counts

Features & Capabilities

Isn't it annoying when you open a small PR, but when you look at the diff, it's <strong>+2000 -16</strong> because you installed a new library? Or what if you had to review that PR, don't line counts like that dissuade you from starting the review?

In reality, 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. That's all it does.

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. Feel free to contribute if you have any ideas or just star it 😀 <a href="https://github.com/aklinker1/github-better-line-counts">https://github.com/aklinker1/github-better-line-counts</a>

User Growth & Download Statistics

Manifest V2 Add-on
By:
Aaron
Daily users:
17 -2
Rating:
5.00
(1)
Version:
1.8.1 Last updated: 2026-09-13
Version code:
6483499
Creation date:
2023-02-18
Firefox add-on GUID:
{54a07e33-4c68-4069-87ef-f1b85cbe1915}
Firefox add-on numeric ID:
2787431
Firefox on Android:
No
Risk:
Moderate risk impact Moderate risk likelihood
Permissions:
Content scripts matches:
  • *.github.com
Size:
90.49KB
Website:
Full description:
See detailed description
Source:
Firefox Add-ons Store
Data ingested on:
2026-10-17
Compare stats and ranking:

Contact the developer

Chrome-Stats does not own this Firefox add-on. Please use these information below to contact the Firefox add-on developer.

Developed by:
Aaron
Firefox Add-ons Store
https://addons.mozilla.org/firefox/addon/better-git-line-counts/
Website:
https://github.com/aklinker1/github-better-line-counts/issues

Is Better Git Line Counts Safe?

Risk impact
Risk impact measures the level of extra permissions an extension has access to. A low risk impact extension cannot do much harms, whereas a high risk impact extension can do a lot of damage like stealing your password, bypassing your security settings, and accessing your personal data. High risk impact extensions are not necessarily malicious. However, if they do turn malicious, they can be very harmful.
Moderate risk impactModerate risk impact

Better Git Line Counts requires a few sensitive permissions. Exercise caution before installing.

Risk impact analysis details
  • Critical Request access to the following domains: github.com
  • High ******* ******* **** *** ****** ***** *** ***** ** ******* **** ********* ********* ** * *********** *****
Risk likelihood
Risk likelihood measures the probability that a Firefox add-on may turn malicious. This is determined by the publisher and the Firefox add-on reputation on Firefox Add-ons Store, the amount of time the Firefox add-on has been around, and other signals about the Firefox add-on. Our algorithms are not perfect, and are subject to change as we discover new ways to detect malicious extensions. We recommend that you always exercise caution when installing a Firefox add-on.
Moderate risk likelihoodModerate risk likelihood

Better Git Line Counts is probably trust-worthy. Prefer other publishers if available. Exercise caution when installing this add-on.

Risk likelihood analysis details
  • High This extension has low user count. Unpopular extensions may not be stable or safe.
  • Medium **** ********* *** ******* ** *** **** * ******* *** ******* *** *** ** ****** ** *****
  • Low **** ********* *** ***** **** **** * ****** **** ***** ********** *** **** ****** ** ** ****** *** *****
  • Good *** ******* ****** ******* ** **** ************ *** ***** ******* ******* *** ******* *** * ******* ******* ** ******** ********* ***** ******* ** *** ********* *******
  • Good **** ********* *** **** **** *******
Extension Guard
Extension Guard

Discover every extension in use, analyze risks, and enforce blocking policies with Extension Guard

Secure Your Browser
Upgrade to see full risk analysis details

Best Better Git Line Counts Alternatives

Here are some Firefox add-ons that are similar to Better Git Line Counts: