As having issues with the mods on SE/SO banning for no reason questions and moving them into inappropriate sub-forums where they will never get an answer for the solely pourpose to gain points and do their best effort to act like nazis, I am forced to ask directly here, hoping into a different symphony.
Apart from this little outburst, here we are. I’ve surfed the internet all around without responses, I tried to do my best, read the official docs, trial and error, nothing.
In synthesis: I am refactoring a huge class in a huge project, I have to track the quality of this work and compare it over time, to produce a relation.
I have a working SonarQube 7.4 server running, tested a couple of times without issues. To accomplish my objective, I created a new project in Sonar, configured the in/exclusions setting -->
sonar.inclusions variable with
myclass.cs, did all the 3 steps to build the project on the client, Sonar analyzed it and I got all green A but inside the project no result, since it was telling me “No project analyzed yet”.
The MAIN and most IMPORTANT question is:
how can I make Sonar properly analyze just a single class of this huge project? The sonar.inclusions field since what I read should match everything that can be matched to its value or values, the only possible match for myclass.cs is just one! What am I doing wrong?
In the SE post there was just a SIDE question, that could be seen as a hint or opinion from other programmers, thus OPTIONAL TO REPLY:
is this the right way to analyze the single class? (In my context) Since it’s huge (12k lines) it got even a lot of imports etc.
Thanks in advance for your patience.