[Go] Return nil in the default case for enum parsing methods. #10592
Annotations
10 warnings
Build and analyze:
src/Kiota.Builder/Refiners/GoRefiner.cs#L48
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Build and analyze:
src/Kiota.Builder/Refiners/GoRefiner.cs#L547
Refactor this field to reduce its Cognitive Complexity from 24 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build and analyze:
src/Kiota.Builder/Refiners/GoRefiner.cs#L185
Define a constant instead of using this literal 'Parsable' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build and analyze:
src/Kiota.Builder/Refiners/GoRefiner.cs#L242
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build and analyze:
src/Kiota.Builder/Refiners/GoRefiner.cs#L383
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
|
Build and analyze:
src/Kiota.Builder/Refiners/GoRefiner.cs#L605
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build and analyze:
src/Kiota.Builder/Refiners/GoRefiner.cs#L48
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Build and analyze:
src/Kiota.Builder/Refiners/GoRefiner.cs#L547
Refactor this field to reduce its Cognitive Complexity from 24 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build and analyze:
src/Kiota.Builder/Refiners/GoRefiner.cs#L185
Define a constant instead of using this literal 'Parsable' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build and analyze:
src/Kiota.Builder/Refiners/GoRefiner.cs#L242
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
The logs for this run have expired and are no longer available.
Loading