Dear Open Hub Users,
We’re excited to announce that we will be moving the Open Hub Forum to
https://community.blackduck.com/s/black-duck-open-hub.
Beginning immediately, users can head over,
register,
get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.
On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at
[email protected]
https://www.ohloh.net/p/gerrit/analyses/latest says its 59% python. But in commit a85c0de8b13b80c8f58e96f93a8a2c1caac1b9b2 (13 Jan 2009) the project deleted all of its Python code and switched to 100% pure Java.
Hi Shawn,
I haven't dug too deeply into this particular case yet, but the simple answer is that if you review the git history of this project using git whatchanged
, you'll see the edits that added the python files, but not the edits that removed the python files.
Since the Ohloh line counter is based around simply parsing the output of git whatchanged
, our line counter never subtracts the python content.
I will keep digging to see if there is something particular to this case that can be easily fixed, but it is a known design flaw of Ohloh that because we just parse whatchanged
we do not always correctly count changes introduced through merges.
We are currently working on a redesigned counter that will not be affected by this problem, but this redesign is probably a few months from deployment.
Thanks,
Robin