I’m working on the plugin for a language which (unfortunately) heavily relies on include files. It’s usually not possible to compile (and then analyze) those files on their own, as they very often rely on preprocessor parameters when they are called. This means that when a developer modifies an include file in a branch, no issues are reported in SonarQube.
Is it possible from a language plugin to inject a list of files to be analyzed when working with branches ? In other words, if the only modified file in a branch is ‘xxx.i’, and that this include file is referenced in ‘xxx.p’ and ‘yyy.p’, then the plugin could “tell” SonarQube to also analyze “xxx.p” and “yyy.p”.
Hope that’s clear enough