Skip to content

fix/error message missing #12140

fix/error message missing

fix/error message missing #12140

Triggered via pull request September 4, 2024 12:41
Status Success
Total duration 3m 30s
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#L628
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Kiota.Builder/Refiners/CommonLanguageRefiner.cs#L630
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)