Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to count all lines of code in Bitbucket?

Eduardo Cordeiro Greco January 28, 2025

 

 

Olá! 
É possível executar um código ou outra forma de contar todas as linhas de código no Bitbucket?

1 answer

1 accepted

0 votes
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 29, 2025

Hi @Eduardo Cordeiro Greco 

Unfortunately, this is not possible natively in the Bitbucket Cloud UI.

We have a feature request raised with our developers to make this possible, you can Watch this to receive future updates related to it and Vote for it to improve its visibility with regard to customer demand:

There is a third-party Marketplace addon called AwesomeGraphs however, that might be worthwhile testing out as it provides statistics like this:

Otherwise, you can run the following git command on a branch-by-branch basis that will perform this calculation:

  • git ls-files | xargs wc -l

Cheers!

- Ben (Bitbucket Cloud Support)

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events