I have two files named swap.c and fac.c, both placed at under same directory.
I need to run analysis for fac.c only. However, when i run scanner at base dir with below project properties, both the files are indexed and displayed in UI which is undesireable.
I want ONLY compiled/built code to be considered for analysis
If i have to “Narrow the focus” to avoid unnecessary code to be analyzed, then what role is build wrapper playing ?
I am under assumption that analysis is directly based on what gets recorded in build wrapper step. In this case only fac.c compilation was recorded in build-wrapper-dump.json build-wrapper.log (15.2 KB) build-wrapper-dump.json (2.0 KB)