SonarSource / sonar-dotnet

Code analyzer for C# and VB.NET projects
https://redirect.sonarsource.com/plugins/csharp.html
GNU Lesser General Public License v3.0
755 stars 223 forks source link

S3247 cleanup #9478

Closed pavel-mikula-sonarsource closed 1 week ago

pavel-mikula-sonarsource commented 1 week ago

Preparation for #223

Review per commit will be easier due to file-scoped namespaces

Those uncovered cases are not coverable. Roslyn is introducing fake intermediate nodes into the tree for the switch labels and arms to work.

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed for 'Sonar .NET Java Plugin'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

sonarcloud[bot] commented 1 week ago

Quality Gate Failed Quality Gate failed for 'SonarAnalyzer for .NET'

Failed conditions
90.0% Coverage on New Code (required ≥ 95%)

See analysis details on SonarCloud