GitHub PR Prod/Test Line Split Autor: mops
Splits a pull request's +/− line counts into production code and test code.
Dostupné pre Firefox pre Android™Dostupné pre Firefox pre Android™
2 používatelia2 používatelia
Naskenujte QR kód a otvorte toto rozšírenie vo Firefoxe pre Android
Metadáta rozšírenia
Snímky obrazovky
O tomto rozšírení
Shows how much of a pull request is production code and how much is tests.
On a pull request page, GitHub's line count "+416 −11" becomes:
prod +146 −9 | test +270 −2 | +416 −11
How it works
• Reads the per-file line counts GitHub already loads for the PR's "Files changed" view, using your normal GitHub session. Private repositories work.
• A file counts as test code when its path looks like one: test/, tests/, src/test/, tests/, spec/, e2e/, fixtures/, .test., .spec., _test., FooTest.kt / FooTests.cs, test_*.py.
• Works on the Conversation, Commits, Checks and Files changed tabs, in both the old and the new GitHub UI.
On a pull request page, GitHub's line count "+416 −11" becomes:
prod +146 −9 | test +270 −2 | +416 −11
How it works
• Reads the per-file line counts GitHub already loads for the PR's "Files changed" view, using your normal GitHub session. Private repositories work.
• A file counts as test code when its path looks like one: test/, tests/, src/test/, tests/, spec/, e2e/, fixtures/, .test., .spec., _test., FooTest.kt / FooTests.cs, test_*.py.
• Works on the Conversation, Commits, Checks and Files changed tabs, in both the old and the new GitHub UI.
Hodnotené 0 od 0 recenzentov
Povolenia a údaje
Požadované oprávnenia:
- Pristupovať k údajom pre github.com
Zhromažďovanie údajov:
- Vývojár uvádza, že toto rozšírenie nevyžaduje zhromažďovanie údajov.
Ďalšie informácie
- Odkazy doplnku
- Verzia
- 1.0.6
- Veľkosť
- 173,94 kB
- Posledná aktualizácia
- pred 22 dňami (3. nov 2026)
- Príbuzné kategórie
- Licencia
- Licencia MIT
- História verzií
- Pridať do kolekcie