I’m using the gradle sonarqube plugin 3.1.1 for a golang project. One file contained a hex integer literal with some underscores, which is valid as of https://golang.org/ref/spec#Integer_literals and which worked in all other tools. The sonarqube task did however log:
Unable to parse file: file://.......go.
Parser returned non-zero exit value: 2
After that it just had no data for that file but still showed the file in the web UI. It would have been helpful if this would have caused an error and if it would have given some more information at what point in the file the parsing error occurred. Beside that it would of course have been nice if the parse would be able to parse spec compliant files