How to identify the "analyzed part" in C code with different definition condition block

Hi all,

I’m now using SonarQube 8.5 to analyze our C code projects.
as THIS mentioned, SonarQube only analyzes those “included” parts in C.

Although SonarQube only analyzes the “included” part, It still lists all parts of the code on the website.
Is there any way to “hide” those “un-included” codes or any method to identify the “analyzed” part instead of identifying them by the “test coverage” red/green bar?


Hello @deron.chen,

There is currently no way to do that. I can understand the interest for such a feature, and will forward this suggestion.

1 Like

Thanks for answering. :grin:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.