Forums : Technical Issue Help

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.synopsys.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]

Comment ratio?

Is the comment/code ratio for the statistics the same as calculated by ohcount-1.0.1?
For tobi, ohcount always gives me a number around 20%, whereas the statistics only show around 14%. Which one is right, and why?

LYRIKpage almost 16 years ago
 

The numbers from Ohcount should match the Ohloh web site results.

However, some of the code counts on Ohloh are very old, while Ohcount is a continually changing application. Some bugs have been fixed and a lot of functionality has changed (for instance, the Ohloh report shows C/C++ as a combined category of code, while Ohcount now treats C and C++ separately).

Recounting all of the code on Ohloh is in progress to bring it up to date with the latest changes to Ohcount -- however, this is incredibly CPU intensive, so it's taking a long time to do it.

I'll schedule a recount for tobi. If this does not bring the Ohloh report into sync with the Ohcount results, there may be some problem that needs investigating.

Robin Luckey almost 16 years ago
 

The note about very few comments is gone now, which should mean the comment ratio is about average. At about 21%, that seems to make sense.
The recount has obviously taken place, as all C/C++ entries are gone now.

LYRIKpage almost 16 years ago