Skip to content

fix/port 590

fix/port 590 #397

Triggered via pull request December 24, 2024 18:07
Status Success
Total duration 6m 51s
Artifacts

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/Operation/EdmOperationOperationHandler.cs#L67
Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Microsoft.OpenApi.OData.Reader/Operation/EdmOperationOperationHandler.cs#L96
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/Operation/EdmOperationOperationHandler.cs#L203
Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/OoasGui/Program.cs#L15
This call site is reachable on all platforms. 'Application.SetCompatibleTextRenderingDefault(bool)' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build: src/OoasGui/Program.cs#L16
This call site is reachable on all platforms. 'Application.Run(Form)' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build: src/OoasGui/Program.cs#L14
This call site is reachable on all platforms. 'Application.EnableVisualStyles()' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build: src/OoasGui/MainForm.cs#L45
This call site is reachable on all platforms. 'TextBox.Text' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build: src/OoasGui/MainForm.cs#L83
This call site is reachable on all platforms. 'Control.Enabled' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build: src/OoasGui/MainForm.cs#L44
This call site is reachable on all platforms. 'RadioButton.Checked' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build: src/OoasGui/MainForm.cs#L85
This call site is reachable on all platforms. 'Control.Enabled' is only supported on: 'windows' 6.1 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)