Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to see total lines of code in bitbucket dashboard?

Tags:

bitbucket

There used to be a metric for total lines of code in my project on my bitbucket dashboard. I can't find it on the dashboard or any submenus anymore. Does anyone know where I can find this information in bitbucket?

like image 255
user137717 Avatar asked Aug 10 '15 17:08

user137717


2 Answers

If you are using git and you're just wanting to know how many lines of code are in your git repository, you can do that with git.

Count number of lines in a git repository

like image 142
B.Adler Avatar answered Oct 17 '22 08:10

B.Adler


It seems to me that Bitbucket itself doesn't show this metric anymore.

There is however a "plugin" called FishEye, which gives detailed information about your code. They also seem to report the LOC metric.

There is a free trial period, but I believe the service costs money after a while.

Another option is to look into software that calculates this for you locally. For example: CLOC. This of course requires you to fire up the program, instead of just reading it off the website.

like image 5
DJanssens Avatar answered Oct 17 '22 10:10

DJanssens