Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove sonar rules which no longer exist from sonarqube datamodel #3706

Closed
denniebouman opened this issue Apr 13, 2022 · 0 comments · Fixed by #3707
Closed

Remove sonar rules which no longer exist from sonarqube datamodel #3706

denniebouman opened this issue Apr 13, 2022 · 0 comments · Fixed by #3707
Assignees
Labels
Bug Something isn't working

Comments

@denniebouman
Copy link
Member

denniebouman commented Apr 13, 2022

The data model for SonarQube contains some rules, which no longer exist. These were kept for backwards compatibility but now cause the SonarQube web interface to "freeze".

Due to a java.lang.NullPointerException: null

Rules (to be deleted/replaced):

  • squid:S00104 -> java:S104
  • squid:S1188 -> java:S1188
  • squid:S138 -> java:S138
  • squid:S2972 -> java:S2972
  • javascript:FunctionComplexity -> javascript:S1541 and javascript:S3776
  • squid:MethodCyclomaticComplexity -> java:S1541
  • squid:S3776 -> java:S3776
  • squid:S1315 -> java:S1315
  • squid:S1310 -> java:S1310
  • squid:S1309 -> java:S1309
  • squid:NoSonar -> java:NoSonar
  • apex:S125 -> ??
  • javascript:CommentedCode -> javascript:S125
  • squid:CommentedOutCodeLine -> java:S125
  • javascript:ExcessiveParameterList -> javascript:S107
  • squid:S00107 -> java:S107
@denniebouman denniebouman added the Bug Something isn't working label Apr 13, 2022
@denniebouman denniebouman self-assigned this Apr 13, 2022
denniebouman added a commit that referenced this issue Apr 13, 2022
…ist. These were kept for backwards compatibility but now cause the SonarQube web interface to "freeze". These rules are removed. Fixes #3706
fniessink pushed a commit that referenced this issue Apr 13, 2022
…ist. These were kept for backwards compatibility but now cause the SonarQube web interface to "freeze". These rules are removed. Fixes #3706 (#3707)
@fniessink fniessink moved this to Released in Quality-time backlog May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant