Skip to content

fix/port 590

fix/port 590 #411

Triggered via pull request January 2, 2025 13:22
@baywetbaywet
synchronize #630
fix/port-590
Status Success
Total duration 5m 45s
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#L231
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#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/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/MainForm.cs#L92
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#L84
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#L54
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)
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)