GitHub: Better Line Counts Firefox

GitHub: Better Line Counts

By: Aaron
Remove generated files from the total line counts on GitHub PRs

Features & Capabilities

Isn't it annoying when you open a small PR, but when you look at the diff, it's +2000 -16 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 😀 https://github.com/aklinker1/github-better-line-counts

User Growth & Download Statistics

Manifest V2 Add-on
By:
Aaron
Daily users:
18
Rating:
5.00
(1)
Version:
1.8.0 Last updated: 2025-10-25
Version code:
6061144
Creation date:
2023-02-18
Risk:
Moderate risk impact Moderate risk likelihood
Permissions:
Content scripts matches:
  • *.github.com
Size:
140.75KB
URLs:
Website
Full description:
See detailed description
Source:
Firefox Add-ons Store
Data ingested on:
2026-06-18
Compare stats and ranking:

Other platforms

Chrome
GitHub Better Line Counts (v1.8.0)
556 5.00 (5)

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/github-better-line-counts/
Website:
https://github.com/aklinker1/github-better-line-counts/issues

Is GitHub: Better 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.

GitHub: Better 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.

GitHub: Better 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.
  • Low **** ********* *** ******* **** **** * ****** **** ***** ******** *** **** ****** ** ** ****** *** *****
  • Low **** ********* *** ***** **** **** * ****** **** ***** ********** *** **** ****** ** ** ****** *** *****
  • 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 GitHub: Better Line Counts Alternatives

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