Skip to content

Validation Code | SonarCloud #120

Validation Code | SonarCloud

Validation Code | SonarCloud #120

Manually triggered December 13, 2024 14:23
Status Cancelled
Total duration 6m 33s
Artifacts 2

pull-request-sonar.yml

on: workflow_dispatch
quality-gitleaks
3s
quality-gitleaks
quality-zaproxy
6m 24s
quality-zaproxy
quality-sonarqube
2m 7s
quality-sonarqube
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 12 warnings
quality-zaproxy
The run was canceled by @felipementel.
quality-zaproxy
The operation was canceled.
quality-gitleaks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
quality-sonarqube
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
quality-sonarqube: src/DEPLOY.Cachorro.Domain/Shared/GenericService.cs#L99
Possible null reference return.
quality-sonarqube: src/DEPLOY.Cachorro.Application/Dtos/TutorDto.cs#L15
Cannot convert null literal to non-nullable reference type.
quality-sonarqube: src/DEPLOY.Cachorro.Application/Shared/ExpressionConverter.cs#L26
Possible null reference argument for parameter 'expression' in 'MemberExpression Expression.Property(Expression expression, string propertyName)'.
quality-sonarqube: src/DEPLOY.Cachorro.Infra.Repository/Repositories/Base/GenericRepository.cs#L41
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
quality-sonarqube: 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)
quality-sonarqube: 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)
quality-sonarqube: 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)
quality-sonarqube: 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)
quality-sonarqube: src/DEPLOY.Cachorro.Api/Controllers/TestsResourcesController.cs#L19
This controller has multiple responsibilities and could be split into 3 smaller controllers. (https://rules.sonarsource.com/csharp/RSPEC-6960)
quality-sonarqube: src/DEPLOY.Cachorro.Domain/Shared/GenericService.cs#L99
Possible null reference return.

Artifacts

Produced during runtime
Name Size Digest
CoverageReport Expired
4.24 MB
sha256:4a46f5e570782387ee505e9dc147a4e4d64fdbac3d996ac11a9cfc7c0a5ee5a7
gitleaks-results.sarif Expired
4.57 KB
sha256:0e81e54229bc82d7d54fdb772820b87233db06660da08e5b74cfc32af69ac88a