GitHub PR Prod/Test Line Split 作者: mops
Splits a pull request's +/− line counts into production code and test code.
掃描 QR Code,即可在 Firefox for Android 當中開啟此擴充套件
擴充套件後設資料
畫面擷圖
關於此擴充套件
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.
由 1 位評論者給出 0 分
權限與資料
更多資訊
- 附加元件網址
- 版本
- 1.0.6
- 大小
- 173.94 KB
- 最近更新
- 23 天前 (2026年11月3日)
- 相關分類
- 授權條款
- MIT License
- 版本紀錄
- 新增至收藏集