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.
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.
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.