Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to get Top committers by LOC and Churns of Code using EyeQL query

I want to get Top committers by LOC and churns of code in Fisheye using EyeQL query. How to form query for both?

1 answer

I tried with the following query for a particular author to get LOC:

select revisions from dir "/branches/mybranch" where author=testuser order by date desc return revision,date,author ,path,linesAdded,linesRemoved

I thought sum(linesAdded)-sum(linesRemoved) will give me the LOC of committer 'testuser' in that branch. But the result is not the same with the one mentioned in CodeMetricsReport of Fisheye.

Please let me know what i am doing wrong here.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Partner Webinar Opportunities: January 2022

Hi everyone 👋, I really like the format of the webinar opportunities summary that @Jimmy Seddon posts monthly on the Welcome Centre group. It's a great place to go to check that you didn...

34 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you