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]
Our project uses quite a few non-standard file types but with standard-ish content.
For example we have 'preprocessed' Java as .jpp files. We also have XML/JS as .t files.
OpenHUB reports that our project is 24% perl but there is no perl in the project at all.
A way to say 'filetype *.x is language Y' would be fantastic.
https://www.openhub.net/p/vexi/analyses/latest/languages_summary
Charles,
I will pass along your request but I'm thinking it might require a sea-change in the way things are handled here to accommodate the request. Please refer to our open-source source code line counts suite at https://github.com/blackducksw/ohcount for our current take on how to identify source code. We use a mix of extension-based recognition (older) and algorithm recognition to identify the type of code being counted. It's at least likely that the Perl counts you are seeing may be coming from the .t files which are prevalent in Perl packages as test files, but still Perl at heart. It may be that we need to improve our recognition of Perl so we don't get as many false positives. If you do look into it and have any suggestions I know management welcomes pull requests and user feedback if you see something that would improve our line counting engine.
Thanks!
Thanks for the response. I have asked before and been directed there before (this was some time ago prior to the Black Duck acquisition) but the issue is I am not a Ruby programmer so I can't really do much with ohcount other than make feature requests.