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 edited

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
atlassian, forge, forge learning path, atlassian learning, cloud app development, forge app development, build forge apps, atlassian certification, developer training, jira app development, confluence app development, automation, ui frameworks

Turn Ideas into Atlassian Apps 📱

From setup to deployment—this learning path shows you how to build your first app using Forge. Learn the essentials, streamline workflows, and bring custom solutions to life across Jira, Confluence, and more.

Start Learning
AUG Leaders

Atlassian Community Events