Wrong code analysis

Avatar

rslijp

4 months ago

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


Avatar

Robin Luckey

4 months 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.


Avatar

rslijp

4 months ago

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