Skip to content

Adds nullable to double schema conversions (#589) #393

Adds nullable to double schema conversions (#589)

Adds nullable to double schema conversions (#589) #393

Triggered via pull request December 24, 2024 17:24
Status Success
Total duration 6m 15s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

sonarcloud.yml

on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
check if SONAR_TOKEN is set in github secrets
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
check if SONAR_TOKEN is set in github secrets
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build: src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L636
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L762
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiEdmTypeSchemaGenerator.cs#L136
Remove the unnecessary Boolean literal(s). (https://rules.sonarsource.com/csharp/RSPEC-1125)
Build: src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiEdmTypeSchemaGenerator.cs#L90
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiEdmTypeSchemaGenerator.cs#L268
Either merge this case with the identical one on line 163 or change one of the implementations. (https://rules.sonarsource.com/csharp/RSPEC-1871)
Build: src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L35
Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L57
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L480
Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L583
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/OoasGui/MainForm.cs#L53
This call site is reachable on all platforms. 'TextBoxBase.WordWrap' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)