I am one of the developers of the Sonargraph plugin (https://github.com/sonargraph/sonar-sonargraph-integration).
Sonargraph computes metric values for different levels, amongst them module-level metrics. InputModule is deprecated since SonarQube API 7.6 and we refactored our Sensor to only run on project-level. This led to a substantially smaller code base (great!). Now, I got the request that also module-level metrics should be imported into SonarQube. Is there any way to get to the modules from the project configuration?
I would really need to know each module’s base directory to have a directory (InputComponent) that our plugin can save the measure to. Is that supported?
Or would I need to adjust our plugin to be executed per module again in order to get access to each module’s base directory?
While researching the forum for answers to above question, I came across one answer of Julien Henry “but in 7.9 only files and projects are supported”
(What exactly does saving on `context.module() ' do?).
What does this mean for the module metrics mentioned above? As I understand it, the support for them will be gone soon?
Is there a recommended way to import metric values for directories (e.g. Java Packages) into SonarQube?
Thanks for any help!