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]
I have tried finding some info about this in the FAQ and forums, but could not find anything useful:
Is there a way to exclude folders/files from the analysis?
Background: I have a project that is mostly javascript and which is well documented; however, as the project bundles external libraries like prototype which is not documented at all in that form the project is rated as not being well documented at all.
Incidentally, the estimated development cost is not accurate either.
How do you usually handle this?
Hi AeonOfTime,
This is a very common request, but sadly we do not have the capability to exclude content from the source code analysis. There really isn't much available in terms of work-arounds: Ohloh repository analysis is an all-or-nothing proposition.
If you are using Subversion, then there may be crude workaround available to you. Rather than creating a single enlistment for the /trunk directory, you can create separate enlistments for each of the individual subdirectories you would like to include. Depending on how your repository is organized, this may or may not be a reasonable task.
The estimated development cost is a simple calculation based on the total lines of code. We use the COCOMO model for this. I'm not surprised that the results are incorrect in many cases; COCOMO was designed for use in large enterprise development processes, which is usually a very poor match to open source software processes.
Hi Robin, I apreciate you taking the time to explain.
Using separate enlistments is a good solution for some of my projects, I will look into it.
Thanks a bundle!