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.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 info@openhub.net

Wrong programming language

For the Pharo project, the main language detected by Ohloh is C#. I don't think there is a single line of C# in this project. I can assure you that Pharo consists of more than 90% Smalltalk code.

DamienCassou almost 12 years ago
 

This wrong programming language selection has another impact: Pharo is said to have Very few source code comments (https://www.ohloh.net/p/pharo/factoids#FactoidCommentsVeryLow). Ohloh detects 0% of comments in all C# code. This gives a very bad impression on the project and is very wrong: the Smalltalk code has many comments.

DamienCassou almost 12 years ago
 

I've the same problem. For PyBossa it says it's coded in Java, where it's completely written in Python. No idea from where they get those stats.

Daniel Lombraña... over 10 years ago
 

Daniel,

We have seen some cases where the preferred settings for the editor used to create the code fools our recognition engine and we conclude that the code is one thing when it's another. (Example: many programmers like to code in the Java mode of emacs even when they are coding in other languages. The default settings the editor leaves in the code can cause the confusion. I think we fixed this some time ago, however.) Also many times the problem isn't the core code, it's the dependencies that may also live in the repository. A little judicious use of the Ignored Files feature on the enlistment page can help quite a bit getting the right statistics.

Also, if the repository hasn't been re-fetched lately, that might be a good idea (your repository is relatively small) since there are always improvements to the code being rolled out and it changes the rules in the middle of the game which is never a good thing. Because of the incremental nature of the way we analyze the code, the earliest revisions are analyzed using older code which might be improved by performing a fresh look. Let me know if you'd like to try this.

If you are curious about our recognition engine, you can look at the code at https://github.com/blackducksw/ohcount and perhaps you can see where we are tripping up. Improvements are always welcome.

Thanks!

ssnow-blackduck over 10 years ago
 

Hi,

Yes, why don't you try to re-run the stats for our project? It will be good to test it ;-)

Cheers,

Daniel

Daniel Lombraña... over 10 years ago
 

Daniel,

As good as done...

Thanks!

ssnow-blackduck over 10 years ago
 

Hi,

It keeps saying mostly written in Java. How can I know which files are getting identified like that?

Cheers,

Daniel

Daniel Lombraña... over 10 years ago
 

Daniel,

That's something management could help you with... It's a deep dive that we don't expose only because it would make OpenHUB impossibly complex to navigate. code.openhub.net uses entirely different technology from what the main OpenHUB side shows, so sadly, that wouldn't help.

On the good side, the update has finished and your Python quotient is up to 98.8% with no Java to be seen.

Enjoy!

ssnow-blackduck over 10 years ago
 

Hi,

Now it shows everything fine! GREAT! Thanks a lot for your support!

Cheers,

Daniel

Daniel Lombraña... over 10 years ago