Forums : Ohloh General Discussion

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]

Wrong code analysis

I'm the developer of SharpTiles. It is a C# project without javascript. However ohloh thinks it's mainly composed out of javascript. Which I'm pretty sure is just a very very small amount. There is only some javascript for the checked in web pages only.
Can someone explain to me what is going wrong. Can I fixed it? Or is it a ohloh bug?

Thanks in advance
Renzo Slijp

rslijp over 15 years ago
 

Hi Renzo,

I believe our analysis is correct. There is a lot of JavaScript in the Tutorials folder.

Each of the 6 Tutorials contains 4 variants of jQuery and 4 variants of MicrosoftAjax.

Our analysis is weighted by activity. If the JavaScript files are not changed over time, and you continue to make edits to the C#, eventually our system will decide that this is a C# project after all. Because this is still a young project, our decision about main language is mostly determined by the absolute total lines of code, which is in fact mostly JavaScript.

If you want a more precise report, you might try removing the enlistment from the root /sharptiles directory, and instead add separate enlistments for the individual directories you are concerned with, such as the /sharptiles/SharpTiles directory. This may or may not be what you want.

Robin Luckey over 15 years ago
 

Thanks for your fast reply. I wasn't aware of the .js files visual studio includes.

rslijp over 15 years ago