The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.
I’m not seeing what I hoped to here. Can you also share the scanner context? You find it under Project Settings → Background Tasks → [analysis row cog menu]
Of course it’s not. Don’t know where my head was. You can get a concise list of the properties analysis ran with by adding -Dsonar.scanner.dumpToFile=[file path] to the analysis command line.
I don’t know whether you’re explicitly setting sonar.sources to your project base directory, or letting it default there, but the effect is to say every file in the project is a source file.
You then additionally specify a subset as tests, which is where the “indexed twice” error comes from: the files are being registered as both sources and tests.
So you should either narrow your sonar.sources specification, or add your tests directory to your exclusions:
The document you posted should be exactly the values that the scanner ran with. So if you’re seeing something different than you expect, there’s some detective work to be done to figure out where the unexpected values came from. The docs explain the hierarchy.