如何在 bitbucket 仪表板中查看总代码行数?

How to see total lines of code in bitbucket dashboard?

我的 bitbucket 仪表板上曾经有一个衡量项目代码总行数的指标。我再也无法在仪表板或任何子菜单上找到它。有谁知道我可以在 bitbucket 中的什么地方找到这些信息?

在我看来,Bitbucket 本身不再显示此指标。

但是有一个 "plugin" 叫做 FishEye, which gives detailed information about your code. They also seem to report the LOC metric

有免费试用期,但我相信服务过一段时间就会收费。

另一种选择是查看可以在本地为您计算此值的软件。例如:CLOC。这当然需要您启动程序,而不是仅仅从网站上读取它。

如果您正在使用 git 并且您只是想知道您的 git 存储库中有多少行代码,您可以使用 git.

Count number of lines in a git repository