Trying out the 10.6 upgrade, I have to agree with this and other feedback. There have been other breaking changes from Sonar in the past but this one has the largest impact I have seen.
For years, the severity levels (Blocker, Critical, Major, Minor, and Info) and the ability to customize this in Quality Profiles have been instrumental in development workflow, providing a clear and effective way to categorize and prioritize issues. This established system has enabled development teams to focus on the most critical issues first (especially with Blocker vs Critical in New Code), ensuring that high-risk vulnerabilities and significant code flaws are addressed promptly. The removal of these severity levels presents several challenges that could negatively impact operations.
Reduced Clarity and Prioritization:
The five-tier severity system offers a detailed approach to issue categorization, allowing teams to prioritize their efforts based on the severity of the impact. With the reduction of these levels to only 3, it becomes challenging to discern the urgency of issues, potentially leading to critical vulnerabilities being overlooked or delayed in resolution.
Impact on Current Processes:
Since this has been in Sonarqube for a long time, many enterprises have long-established processes and tools built around the existing severity levels and the customization of Quality Profiles to fit the needs of the organization . This breaking change necessitates a significant overhaul of workflows, dashboards, and reporting tools, leading to increased costs and potential disruptions during the transition period.
Training and Adaptation Costs:
Teams are well-versed in the existing severity system. Adapting to a new model requires extensive retraining and adjustment periods, during which productivity may decline. The learning curve associated with this change could hinder teams’ efficiency and delay project timelines.
I don’t believe the change from the established five severity levels (Blocker, Critical, Major, Minor, and Info) to the three new levels (High, Medium, and Low) was necessary to accomplish the Clean As You Code framework that you are endorsing. The Clean As You Code methodology focuses on addressing issues as they are introduced and maintaining a clean codebase over time. This objective can be achieved without reducing the granularity of issue categorization with the current system with Overall vs New Code. The five severity levels provided a more detailed and precise approach, allowing teams customize the process and address the most critical issues with greater clarity and effectiveness, thus better supporting the Clean As You Code initiative.
Regarding the solution you have offered with 10.6. While this new functionality allows for prioritization of issues in custom profiles and quality gates, I don’t believe this feature sufficiently compensates for the change/removal of severity levels and the removal of this customization from the code Quality Profiles. It lacks the intuitive and universally understood categorization provided by the established severity levels. This new prioritized rule in the custom profiles and quality gates requires additional configuration and maintenance, adding complexity to the workflows rather than simplifying them.
I understand that changes are sometimes necessary to drive innovation and improvement. However, I would strongly urge SonarSource to retain the original five severity levels and functionality around this for Issues and Profiles. These levels provide essential granularity and clarity that support efficient issue management and prioritization.