Compare Last Two Analysis of a Project in Sonarqube

Hello,

I am using SonarQube 8.2 community edition and I am trying to achieve the below point

  • SonarQube version : 8.2.0.32929

I am trying to fetch the filenames from the current analysis which has Issues/Code-Smells count increased in the files when the same files exist in the previous analysis with the minimal number of code smells/issues.

Kindly advice me a way to achieve this.

Thanks in Advance,
Raja

Hi Raja,

We don’t have anything to make this easy.

Instead, we believe you should be looking at values “on New Code”.

You may think this is a distinction without a difference, but it’s not. If you look at raw issue counts, than in file A.java, I can add 4 new issues, and as long as I fix 5 old ones, you’ll never notice using your proposed method. If instead you look at issues on new code, you’ll find my 4 new issues no matter how many old issues I fix.

 
Ann