Skip to content

Aligns Enum serialization across packages and pass relevant JsonWriterOptions from the KiotaJsonSerializationContext #561

Aligns Enum serialization across packages and pass relevant JsonWriterOptions from the KiotaJsonSerializationContext

Aligns Enum serialization across packages and pass relevant JsonWriterOptions from the KiotaJsonSerializationContext #561

Triggered via pull request August 1, 2024 12:45
Status Success
Total duration 4m 15s
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/abstractions/Helpers/EnumHelpers.cs#L26
All 'GetEnumValue' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/abstractions/Helpers/EnumHelpers.cs#L26
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/abstractions/Helpers/EnumHelpers.cs#L110
Handle the exception or explain in a comment why it can be ignored. (https://rules.sonarsource.com/csharp/RSPEC-2486)
Build: src/abstractions/Helpers/EnumHelpers.cs#L82
Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/abstractions/Helpers/EnumHelpers.cs#L110
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
Build: src/abstractions/Helpers/EnumHelpers.cs#L26
All 'GetEnumValue' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/abstractions/Helpers/EnumHelpers.cs#L26
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/abstractions/Helpers/EnumHelpers.cs#L110
Handle the exception or explain in a comment why it can be ignored. (https://rules.sonarsource.com/csharp/RSPEC-2486)
Build: src/abstractions/Helpers/EnumHelpers.cs#L82
Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/abstractions/Helpers/EnumHelpers.cs#L110
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)