Validation Code | SonarCloud #52
pull-request-sonar.yml
on: workflow_dispatch
Analyze by SonarCloud
2m 12s
Annotations
11 warnings
Analyze by SonarCloud
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Analyze by SonarCloud:
src/DEPLOY.Cachorro.Repository/CachorroDbContext.cs#L22
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
Analyze by SonarCloud:
src/DEPLOY.Cachorro.Repository/EntityConfigurations/CachorroEntityConfiguration.cs#L67
Provide the "DateTimeKind" when creating this object. (https://rules.sonarsource.com/csharp/RSPEC-6562)
|
Analyze by SonarCloud:
src/DEPLOY.Cachorro.Api/Extensions/Swagger/SwaggerExtension.cs#L36
'SwaggerGenOptionsExtensions.TagActionsBy(SwaggerGenOptions, Func<ApiDescription, string>)' is obsolete: 'Deprecated: Use the overload that accepts a Func that returns a list of tags'
|
Analyze by SonarCloud:
src/DEPLOY.Cachorro.Api/Program.cs#L12
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
Analyze by SonarCloud:
src/DEPLOY.Cachorro.Api/Extensions/Telemetria/LoggingExtensions.cs#L13
Make sure that this logger's configuration is safe. (https://rules.sonarsource.com/csharp/RSPEC-4792)
|
Analyze by SonarCloud:
src/DEPLOY.Cachorro.Api/Extensions/Swagger/SwaggerExtension.cs#L56
Loop should be simplified by calling Select(description => description.GroupName)) (https://rules.sonarsource.com/csharp/RSPEC-3267)
|
Analyze by SonarCloud:
src/DEPLOY.Cachorro.Api/Extensions/Swagger/ConfigureSwaggerOptions.cs#L27
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Analyze by SonarCloud:
src/DEPLOY.Cachorro.Api/Extensions/Swagger/ConfigureSwaggerOptions.cs#L41
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
|
Analyze by SonarCloud:
src/DEPLOY.Cachorro.Repository/CachorroDbContext.cs#L22
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
Analyze by SonarCloud:
src/DEPLOY.Cachorro.Repository/EntityConfigurations/CachorroEntityConfiguration.cs#L67
Provide the "DateTimeKind" when creating this object. (https://rules.sonarsource.com/csharp/RSPEC-6562)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
CoverageReport
Expired
|
1.76 MB |
|