Skip to content

Merge pull request #2030 from microsoftgraph/shem/releas_python_path_… #3220

Merge pull request #2030 from microsoftgraph/shem/releas_python_path_…

Merge pull request #2030 from microsoftgraph/shem/releas_python_path_… #3220

Triggered via push April 24, 2024 11:12
Status Success
Total duration 5m 4s
Artifacts

sonarcloud.yml

on: push
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: UriMatchService/UriTemplateMatcher.cs#L125
Return an empty collection instead of null. (https://rules.sonarsource.com/csharp/RSPEC-1168)
Build: UtilityService/UtilityExtensions.cs#L86
Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: CodeSnippetsReflection/SnippetBaseModel.cs#L52
"StartsWith" overloads that take a "char" should be used (https://rules.sonarsource.com/csharp/RSPEC-6610)
Build: CodeSnippetsReflection/SnippetBaseModel.cs#L34
This line will not be executed conditionally; only the first line of this 3-line block will be. The rest will execute unconditionally. (https://rules.sonarsource.com/csharp/RSPEC-2681)
Build: KnownIssuesService/Services/KnownIssuesService.cs#L79
Add logic to this catch clause or eliminate it and rethrow the exception automatically. (https://rules.sonarsource.com/csharp/RSPEC-2737)
Build: KnownIssuesService/Services/KnownIssuesService.cs#L142
Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: FileService/Services/AzureBlobStorageUtility.cs#L21
Remove the field '_configuration' and declare it as a local variable in the relevant methods. (https://rules.sonarsource.com/csharp/RSPEC-1450)
Build: FileService/Common/FileServiceHelper.cs#L34
Remove this array creation and simply pass the elements. (https://rules.sonarsource.com/csharp/RSPEC-3878)
Build: FileService/Services/HttpClientUtility.cs#L39
'_httpClient?.SendAsync(requestMessage)' is null on at least one execution path. (https://rules.sonarsource.com/csharp/RSPEC-2259)
Build: FileService/Services/HttpClientUtility.cs#L45
'httpResponseMessage.Content?.ReadAsStringAsync()' is null on at least one execution path. (https://rules.sonarsource.com/csharp/RSPEC-2259)