GitHub: Better Line Counts
GitHub: Better Line Counts is a Chrome extension developed by Aaron Klinker. It falls under the category of Browsers and is specifically classified as an Add-ons & Tools subcategory. This free extension aims to address the issue of misleading line counts in GitHub pull requests.
When reviewing a pull request, it can be frustrating to see inflated line counts due to generated files or newly installed libraries. GitHub's line counts may not accurately represent the true size of the PR, discouraging reviewers from starting the review process.
GitHub: Better Line Counts solves this problem by subtracting generated files from the total line counts. By doing so, it provides a more accurate measurement of the PR's actual size. This extension detects generated files based on the branch's root .gitattributes file, following GitHub's guidelines for marking files as generated.
For those interested, the extension's .gitattributes file serves as a simple example and can be found on its GitHub repository. The extension is open source, allowing users to contribute their ideas or show support by starring the project. Overall, GitHub: Better Line Counts offers a valuable tool for developers and reviewers seeking more precise line counts in GitHub pull requests.