I have several issues.
- I dont see all my code in the ‘Code’ tab (in sonar.sources)
- I see code I dont want to see in ‘Code’ tab (Java stuff, in sonar.exclusions)
- Looks like sonar-scanner fails to parse some (a lot of) files - ERROR: Unable to parse file: /home/user/Development/Company/server/lib/server/allocator/TreeNavigator.cpp
java.lang.IllegalStateException: Several good alternatives: AMBIGUOUS @7e4b7dbe line:209
- I get a lot of warnings, not sure it affects analysis quality - WARN: Unknown language standard “gnu++1z”, will use “c++17” from “sonar.cpp.std” for file /home/user/Development/Company/server/lib/server/backup/LbnCoder.cpp
The command line as following
EDIT001: Ok, looks like I solved the exclusion problem, however, the number CLOC reported looks too low, I suspect that part of files is skipped. In addition, where are include files which may have considerable amount of code, for example templates.