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]
One of my projects (NDjango) is written mostly in F#. Your code analysis process reports that it is written primarily in C#. This is because apparently F# is not on the list of the langages you know or care about. Does it mean that you counted F# code as C#. or you just ignored F#?
Since Ohloh doesn't have F# in there database it can't count it as that. I'm assuming F# has the same file extension as something in the C# language? Since I'm getting the same problem for my project written in GSC (call of duty engine scripting language) which get's counted as Stratego because the string files (.str) have the same extension as Stratego.
Hope that answers you're question.
Hi mfeingold,
Ohloh does not have an F# parser yet.
The *.fs files are not recognized by our system, and are ignored.
The *.cs files are recognized and correctly counted as C#. Since the system doesn't see
the F#, it concludes that the project is written in C#.
Yea, this is what I expected.
Well, if all you do about parsing
is counting line comments, than treating *.fs as *.cs will probably be close enough.
Just a thought
Yes, it would probably be pretty easy to simply cut and paste our C# parser
to create an F# parser. A little glue in the detector code to recognize the new file extension would be all that is required.
Our line counter Ohcount is hosted at SourceForge. We're happy to accept patches for new languages, or you can open a new ticket and perhaps someone else will be motivated to implement it.