Skip to content

chore: reduces allocs for path parameters sanitation #12809

chore: reduces allocs for path parameters sanitation

chore: reduces allocs for path parameters sanitation #12809

Triggered via pull request October 23, 2024 18:55
Status Success
Total duration 3m 34s
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

10 warnings
Build: src/Kiota.Builder/Extensions/OpenApiUrlTreeNodeExtensions.cs#L16
Extract this nested ternary operation into an independent statement. (https://rules.sonarsource.com/csharp/RSPEC-3358)
Build: src/Kiota.Builder/Extensions/OpenApiUrlTreeNodeExtensions.cs#L24
Extract this nested ternary operation into an independent statement. (https://rules.sonarsource.com/csharp/RSPEC-3358)
Build: src/Kiota.Builder/Extensions/OpenApiUrlTreeNodeExtensions.cs#L95
Method has 8 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
Build: src/Kiota.Builder/Extensions/OpenApiUrlTreeNodeExtensions.cs#L100
Method has 8 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
Build: src/Kiota.Builder/Extensions/OpenApiUrlTreeNodeExtensions.cs#L109
Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Extensions/OpenApiUrlTreeNodeExtensions.cs#L114
Extract this nested ternary operation into an independent statement. (https://rules.sonarsource.com/csharp/RSPEC-3358)
Build: src/Kiota.Builder/Extensions/OpenApiUrlTreeNodeExtensions.cs#L114
Extract this nested ternary operation into an independent statement. (https://rules.sonarsource.com/csharp/RSPEC-3358)
Build: src/Kiota.Builder/Extensions/OpenApiUrlTreeNodeExtensions.cs#L116
Extract this nested ternary operation into an independent statement. (https://rules.sonarsource.com/csharp/RSPEC-3358)
Build: src/Kiota.Builder/Extensions/OpenApiUrlTreeNodeExtensions.cs#L116
Extract this nested ternary operation into an independent statement. (https://rules.sonarsource.com/csharp/RSPEC-3358)
Build: src/Kiota.Builder/Extensions/OpenApiUrlTreeNodeExtensions.cs#L109
Method has 10 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)