"Metrics Mismatch"



I added the PoolMan project. It shows that there's only one contributor who has contributed primarily HTML. Then I look at Languages section and it says that Java is 60% of the codebase.

Why the mismatch in metrics?

Avatar

Swashbuckler

over 6 years ago
 

On the developer row we are listing the total of new lines added, without subtracting lines later removed. This means that if you add 5 lines of code and someone else later removes 3 of those lines, you will still be credited with 5 lines added.

So what's happening in this project is that neville is editing a lot of HTML and is getting credit for adding a lot of lines of HTML, even though most of those lines are later removed or edited.

In absolute terms, this project is 60% Java, but along the way there has been a lot more editing of HTML than of Java.

Why do we do this? Honestly, because it's computationally simple. When someone removes a line of code, it's very difficult for us to figure out which developer originally wrote that line of code so that we can debit the removed line from the old developer. To keep things easy, we just keep counting up added lines. We're not satisfied with this, and we're thinking of ways to improve things.

Robin

Avatar

Robin Luckey

over 6 years ago
 



 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.