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]
Is there any point in starting these kinds of threads anymore? Nothing is getting done here. I mean, it seems ohloh's dead. ohloh has some serious bugs, but they haven't fixed them in years. I
... [More]
doubt they are going to care enough or have the time to implement these kinds of extra features.
I just hope ohloh wakes up. Either that, or someone starts a new ohloh. That's just me, and I could be wrong.
[Less]
At first I only had *.h and *.cpp files in my project, and Ohloh's LOC calculation was correct. However, Ohloh was showing about 1000 lines of shell code that was never there. The nonexistent 1000
... [More]
lines of shell code is still there, and I believe that bug is contributing to the *.hpp issue.
git://gitorious.org/cl2997651/cl2997651.git
Few weeks ago I decided to convert most of my *.h files in my project to *.hpp files because Emacs considers *.h files as C header files, and that causes problems when auto-formating C++ code. After the recount, Ohloh started showing C++ and C LOC, which doesn't make sense if *.hpp is counted as C++ file.
I can't install Ohcount on this system because some of the dependencies are masked, and I'm away from my main system. But, I did run countloc.rb, and here is the result I get for my project:
For *.cpp files:
LOC.....COMMENTS.....BLANK......LINES......CODE:COMMENT
3757....................1804.........1306.........6764...............................2.08 .............. TOTAL
For *.h files:
LOC.....COMMENTS.....BLANK......LINES......CODE:COMMENT
1101.....................148............188.........1419................................7.44 .............. TOTAL
For *.hpp files:
LOC.....COMMENTS.....BLANK......LINES......CODE:COMMENT
583........................253............199........1003.................................2.30.............. TOTAL
For *.cpp, *.h, and *.hpp:
LOC.....COMMENTS.....BLANK......LINES......CODE:COMMENT
5441...................2205..........1693........9186................................2.47.............. TOTAL
Ohloh's Total Lines and Blank Lines for C and C++ seems to be right if you add them up, but the Comment Lines seems to be off by 1000 lines. Code Lines seems to be off too.
[Less]