Forums

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

how to find the number of line of code present in bitbucket repository

vedavathi.j
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 7, 2020

in bitbucket i have a repository. now i have to find total number of line of code that project contains & memory used. please let us know if u have an idea

1 answer

0 votes
Uladzislava Kastsitsyna _Stiltsoft_
Atlassian Partner
May 30, 2024

Hi,

Consider taking a look at our app called Awesome Graphs for Bitbucket. We provide REST API that can help you fetch the lines of code for a certain project or repository.

Here, for example, is a command that returns the number of commits and lines of code added/deleted in the specified repository:

GET /rest/awesome-graphs-api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/statistics

Let me know if you have any questions!

Best regards,
Vlada

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, dance, gamification, badge, razzle dazzle, team '25 anaheim

Earn a one-day badge today and do the Atlazzle Dazzle! 🕺

Today only! Share what you’re the most excited about for Team ‘25 or just dance out the beginning of a new quarter with us.

Comment the post
AUG Leaders

Atlassian Community Events