Bump Microsoft.Extensions.DependencyInjection.Abstractions (#2237) #3767
sonarcloud.yml
on: push
check if SONAR_TOKEN is set in github secrets
0s
Build
3m 57s
Annotations
10 warnings
Build:
UriMatchService/UriTemplateMatcher.cs#L174
Make 'GetQueryExpression' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
Build:
UriMatchService/UriTemplateMatcher.cs#L125
Return an empty collection instead of null. (https://rules.sonarsource.com/csharp/RSPEC-1168)
|
Build:
UriMatchService/UriTemplateMatcher.cs#L200
Make 'GetExpression' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
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:
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:
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/Common/FileServiceHelper.cs#L34
Remove this array creation and simply pass the elements. (https://rules.sonarsource.com/csharp/RSPEC-3878)
|
Build:
FileService/Services/AzureBlobStorageUtility.cs#L22
Remove the field '_configuration' and declare it as a local variable in the relevant methods. (https://rules.sonarsource.com/csharp/RSPEC-1450)
|