Skip to content

Validation Code | SonarCloud #103

Validation Code | SonarCloud

Validation Code | SonarCloud #103

Manually triggered October 17, 2024 11:43
Status Success
Total duration 1m 51s
Artifacts 1

pull-request-sonar.yml

on: workflow_dispatch
build-and-sonar
1m 42s
build-and-sonar
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build-and-sonar: src/DEPLOY.Cachorro.Domain/Shared/GenericService.cs#L99
Possible null reference return.
build-and-sonar: src/DEPLOY.Cachorro.Infra.Repository/Repositories/Base/GenericRepository.cs#L41
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
build-and-sonar: src/DEPLOY.Cachorro.Infra.Repository/Migrations/API/20240511205112_InitDatabaseAPI.cs#L15
Define a constant instead of using this literal 'Tutor' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
build-and-sonar: src/DEPLOY.Cachorro.Infra.Repository/Migrations/API/20240511205112_InitDatabaseAPI.cs#L22
Define a constant instead of using this literal 'datetime' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
build-and-sonar: src/DEPLOY.Cachorro.Infra.Repository/Migrations/API/20240511205112_InitDatabaseAPI.cs#L31
Define a constant instead of using this literal 'Cachorro' 6 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
build-and-sonar: src/DEPLOY.Cachorro.Application/Dtos/TutorDto.cs#L15
Cannot convert null literal to non-nullable reference type.
build-and-sonar: src/DEPLOY.Cachorro.Application/Shared/ExpressionConverter.cs#L26
Possible null reference argument for parameter 'expression' in 'MemberExpression Expression.Property(Expression expression, string propertyName)'.
build-and-sonar: src/DEPLOY.Cachorro.Api/Controllers/PingController.cs#L13
Annotate this method with ProducesResponseType containing the return type for successful responses. (https://rules.sonarsource.com/csharp/RSPEC-6968)
build-and-sonar: src/DEPLOY.Cachorro.Domain/Shared/GenericService.cs#L99
Possible null reference return.
build-and-sonar: src/DEPLOY.Cachorro.Infra.Repository/Repositories/Base/GenericRepository.cs#L41
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)

Artifacts

Produced during runtime
Name Size
CoverageReport
4.24 MB