Skip to content

Fix Cyclic Dependencies in Go #12546

Fix Cyclic Dependencies in Go

Fix Cyclic Dependencies in Go #12546

Triggered via pull request October 7, 2024 08:21
Status Success
Total duration 3m 37s
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/GoRefiner.cs#L49
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Kiota.Builder/Refiners/GoRefiner.cs#L751
Refactor this field to reduce its Cognitive Complexity from 27 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Refiners/GoRefiner.cs#L193
Define a constant instead of using this literal 'Parsable' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build: src/Kiota.Builder/Refiners/GoRefiner.cs#L435
Make 'MergeOverLappedStrings' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build: src/Kiota.Builder/Refiners/GoRefiner.cs#L448
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Refiners/GoRefiner.cs#L587
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/GoRefiner.cs#L807
Make 'CorrectImplements' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build: src/Kiota.Builder/Refiners/GoRefiner.cs#L812
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Refiners/GoRefiner.cs#L49
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Kiota.Builder/Refiners/GoRefiner.cs#L751
Refactor this field to reduce its Cognitive Complexity from 27 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)