- Developer Edition 5 Mio. LOC - sonarqube version 7.9.1;
- latest SonarScanner for Linux and latest build-wrapper;
- server running on Centos7 and using Postgresql 9.6
After creating a new project trying to do the initail master scan was very hard, as it always failed with this error message:
“The last analysis has failed to not exceed the 5000000 lines of code limit allowed by the current license”.
It was pretty clear, that we had to exclude some third party sources and some other soucres not fro analysing from our product to keep the licensed LOC. But sonarqube makes it very hard because it doesn’t show you the number of lines exceeding the license. So you have to try and error and iterate until number of lines fits to the license.
I would ask for an improvement in the error message, to show not only the license limit but also the number of lines exceeding the limit. This would really help to exclude sources without try and error.
Something like eg.
*“The last analysis has failed to not exceed the 5000000 lines of code limit limit allowed by the current license by 123456 lines”.
Thank you in advance.