GitHub PR Prod/Test Line Split Autor: mops
Splits a pull request's +/− line counts into production code and test code.
Dostępne w Firefoksie na Androida™Dostępne w Firefoksie na Androida™
2 użytkowników2 użytkowników
Zeskanuj kod QR, aby otworzyć to rozszerzenie w przeglądarce Firefox dla Androida
Metadane rozszerzenia
Zrzuty ekranu
O tym rozszerzeniu
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.
Ocenione na 0 przez 0 recenzentów
Uprawnienia i dane
Wymagane uprawnienia:
- Mieć dostęp do danych użytkownika na stronie „github.com”
Zbieranie danych:
- Autorzy tego rozszerzenia twierdzą, że nie wymaga ono zbierania danych.
Więcej informacji
- Odnośniki dodatku
- Wersja
- 1.0.6
- Rozmiar
- 173,94 KB
- Ostatnia aktualizacja
- 22 dni temu (3 lis 2026)
- Powiązane kategorie
- Licencja
- Licencja MIT
- Historia wersji
- Dodaj do kolekcji