Forums : Feedback Forum

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]

Comments metric

It seems ohloh includes XML in the comments metric, I don't think this is ideal, my project, wine-doors has lots of XML documents which don't require comments however it brings the overall metric down somewhat artificially.

klattimer almost 17 years ago
 

Hi klattimer,

When Ohloh creates the factoid about Few source code comments, it compares only the portion of your code written in the main language.

For instance, for wine-doors, Ohloh decided that the main language is Python. So in this case Ohloh looks only at the portion of the code actually written in Python, and looks at its comment ratio. This is then compared to the Python code on all other projects on Ohloh. In this case, it doesn't matter how many comments exist in the XML portion.

Robin Luckey almost 17 years ago