Skip to content

Conversation

@otrosien
Copy link
Member

@otrosien otrosien commented Apr 15, 2022

Unknown perlcritic violations are treated as "external issues" of type "code smell". I would have converted all perlcritic violations to external issues, but then we lose the issue type (bug, code-smell, etc) as we don't get those from the perlcritic report.

This change also introduces the mapping of the severity levels 1-5 of the report to the severity levels INFO-BLOCKER of SonarQube.

@otrosien otrosien force-pushed the unknown-perlcritic-rules branch from 8f1cf12 to 8b2a480 Compare April 15, 2022 14:51
@otrosien otrosien mentioned this pull request Apr 15, 2022
@otrosien otrosien changed the title Accept unknown perlcritic violations Accept unknown perlcritic violations & use severity from perlcritic report Apr 15, 2022
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

98.0% 98.0% Coverage
0.0% 0.0% Duplication

@otrosien otrosien merged commit 06ac29b into master Apr 15, 2022
@otrosien otrosien deleted the unknown-perlcritic-rules branch April 15, 2022 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants