Errors in Tools > Compare Languages

Avatar

Jakub Narębski

about 1 year ago

There seems to be an error in either Ohcount counting number of lines for C/C++ projects: the line with "C/C++" on graph at http://www.ohloh.net/languages/compare unexpectedly falls to zero. While this might be caused by recent improvement in Ohcount allowing to distinguish between C and C++ (there was "C/C++" language before, now it is no longer and there are separate "C" & "C++" languages), this should not cause such artifacts to appear. You should either make "C/C++" on the Compare Language graph only to be C + C++ , or remove old artifact of "C/C++" altogether (and refresh caches).

Another error is that the text above Compare Languages graph states:

"The lines show the count of monthly commits made by haml_tag source developers. Commits including multiple languages are counted once for each language."

Note the 'haml_tag' in this text.


Avatar

Robin Luckey

about 1 year ago

Hi Jakub,

The C/C++ drop-off is a known problem. You're correct; it's caused by the fact that we no longer count C/C++ as a combined language anymore: for the last few months we have been specifically categorizing code as either C or C++.

The problem is that we have literally billions of lines of code in our database that we've been counting over the last few years, and it is taking us a while to recount all of this existing C/C++ while still keeping up on all the new code coming in every day.

If you watch closely, you'll see the C/C++ chart is getting a little smaller every day.

I think we're a little over half way through this massive recount. It will probably take us another couple of months to get it all recounted, at which point we will simply delete C/C++ from Ohloh entirely.

Thanks for pointing out the typo on the compare page. I'll get the fix in.

Thanks, Robin