Skip to content

Fix ErrorMessageOverride collision with classname #11279

Fix ErrorMessageOverride collision with classname

Fix ErrorMessageOverride collision with classname #11279

Triggered via pull request July 3, 2024 12:52
Status Success
Total duration 3m 25s
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#L626
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
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#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#L160
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#L160
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#L302
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#L371
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#L415
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)