Why sonar requires binaries (sonar.binaries)

Why does sonar require binaries (sonar.binaries)? How does he use binaries to do what he ever does with binaries?

+4
source share
1 answer

sonar.binaries - deprecated property: you should now use sonar.java.binaries

This property is used by java analysis (so I assume that you are analyzing Java code).

The analysis is performed by file by file at the source level, and for proper semantic analysis, the java analyzer reads information about external dependencies from files .class.

Specifically, this is how it works: analyzing A.java, which declares:

class A {
   B b;
}

Java- A - B.class, .

? , . ( : : b.foo(): foo()).

, - , .

+10

Source: https://habr.com/ru/post/1651494/


All Articles