Skip to content

Fix superfluous fields when converting composed types to wrapper types. #12787

Fix superfluous fields when converting composed types to wrapper types.

Fix superfluous fields when converting composed types to wrapper types. #12787

Triggered via pull request October 22, 2024 11:30
Status Success
Total duration 3m 47s
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/Refiners/CommonLanguageRefiner.cs#L652
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Kiota.Builder/Refiners/CommonLanguageRefiner.cs#L654
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Kiota.Builder/Refiners/CommonLanguageRefiner.cs#L39
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Kiota.Builder/Refiners/CommonLanguageRefiner.cs#L40
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Kiota.Builder/Refiners/CommonLanguageRefiner.cs#L43
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Kiota.Builder/Refiners/CommonLanguageRefiner.cs#L162
Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Refiners/CommonLanguageRefiner.cs#L162
Method has 9 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
Build: src/Kiota.Builder/Refiners/CommonLanguageRefiner.cs#L304
Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Refiners/CommonLanguageRefiner.cs#L373
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
Build: src/Kiota.Builder/Refiners/CommonLanguageRefiner.cs#L417
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)