SonarQube Version: 6.7
Sonar Scanner: 220.127.116.118-windows
Problem Statement: Leak Period baseline with custom date considering old and new issues together
We have setup SonarQube with above mentioned version and set New Code Period as 2019-04-01. Completed the analysis of the project and set as baseline for subsequent analysis. During this analysis A.js file reported 2 issues and B.js file no issue.
As per my understanding during subsequent analysis the old issues should not be reported. During next analysis below are observation after the baseline date:
- File B.js changed and got introduced an issue which is reported as issue in the next run
- File A.js also changed with new lines of code, after the analysis it reported 3 issues (2 old issues and 1 new issue)
As per my understanding for the File A.js it should report 1 issue but its showing 3 issues.
Required help in resolving the above issue.