Forums : Technical Issue Help

Code analysis on project implemented in golang seems to include vendor folder

I recently registered the following project implemented in golang:
https://www.openhub.net/p/gardener

Counting lines of code in a typical golang project should exclude the vendor folder since it's containing a copy of the source code of dependencies of the project which wasn't implemented by the project being analysed. Nowadays the vendor folder is typically auto-populated using the https://github.com/golang/dep tool.

For this project
https://github.com/gardener/gardener/
the vendor folder is here
https://github.com/gardener/gardener/tree/master/vendor

Also it seems the estimated effort for implementing the project seems to include the code in the vendor folder.

6b38696197f6e948c5fcce6f0071aa67?&s=42&rating=pg&d=https%3a%2f%2fopenhub.net%2fanon80
Matthias Sohn 4 months ago
 

Hello Matthias Sohn,

Yes, we have ignored the vendor folder in the CodeLocation pages.

https://www.openhub.net/p/gardener

Happy to help!

6de3daa3f91b7169c85df7702b4fb1d4?&s=42&rating=pg&d=https%3a%2f%2fopenhub.net%2fanon80
rapbhan 4 months ago
 

Post a Response