Skip to content

SONARRUBY-98 Transform complex use of Collect to ToList

8b00ba3
Select commit
Loading
Failed to load commit list.
Merged

SONARRUBY-98 clean sonar issues #89

SONARRUBY-98 Transform complex use of Collect to ToList
8b00ba3
Select commit
Loading
Failed to load commit list.
SonarQube-Next / [Ruby] SonarQube Code Analysis succeeded Dec 5, 2025 in 1m 34s

Annotations

Check warning on line 157 in sonar-ruby-plugin/src/main/java/org/sonarsource/ruby/converter/RubyVisitor.java

See this annotation in the file changed.

@sonarqube-next sonarqube-next / [Ruby] SonarQube Code Analysis

Reduce the number of non-empty switch cases from 32 to at most 30.

[S1479] "switch" statements should not have too many "case" clauses
 See more on https://next.sonarqube.com/sonarqube/project/issues?id=SonarSource_sonar-ruby&pullRequest=89&issues=3a871038-18ba-4583-be8c-6a2e51484b7f&open=3a871038-18ba-4583-be8c-6a2e51484b7f

Check warning on line 253 in sonar-ruby-plugin/src/test/java/org/sonarsource/ruby/converter/RubyConverterTest.java

See this annotation in the file changed.

@sonarqube-next sonarqube-next / [Ruby] SonarQube Code Analysis

Replace these 10 tests with a single Parameterized one.

[S5976] Similar tests should be grouped in a single Parameterized test
 See more on https://next.sonarqube.com/sonarqube/project/issues?id=SonarSource_sonar-ruby&pullRequest=89&issues=62a35896-f3f1-424e-9c4e-68a011b5dda2&open=62a35896-f3f1-424e-9c4e-68a011b5dda2