Skip to content

Update dotnet.yml

Update dotnet.yml #30

Re-run triggered April 14, 2024 14:52
Status Success
Total duration 1m 29s
Artifacts 1

dotnet.yml

on: pull_request
build-and-sonar
1m 22s
build-and-sonar
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build-and-sonar: src/Avanade.SubTCSE.Projeto.Domain/Aggregates/EmployeeRole/Services/EmployeeRoleService.cs#L85
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
build-and-sonar: src/Avanade.SubTCSE.Projeto.Application/AutoMapperConfigs/Profiles/EmployeeRole/EmployeeRoleProfile.cs#L18
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
build-and-sonar: src/Avanade.SubTCSE.Projeto.Api/Controllers/HealthCheckController.cs#L15
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build-and-sonar: src/Avanade.SubTCSE.Projeto.Api/Swagger/SwaggerExtension.cs#L40
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
build-and-sonar: src/Avanade.SubTCSE.Projeto.Api/Swagger/SwaggerExtension.cs#L44
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
build-and-sonar: src/Avanade.SubTCSE.Projeto.Api/Swagger/SwaggerExtension.cs#L59
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
build-and-sonar: src/Avanade.SubTCSE.Projeto.Api/appsettings.json#L42
Review this hard-coded URI, which may contain a credential. (https://rules.sonarsource.com/csharp/RSPEC-2068)
build-and-sonar: src/Avanade.SubTCSE.Projeto.Api/FilterType/ExceptionFilter.cs#L9
Make this class name end with 'Attribute'. (https://rules.sonarsource.com/csharp/RSPEC-3376)
build-and-sonar: src/Avanade.SubTCSE.Projeto.Api/Controllers/v1/EmployeeRoleController.cs#L19
Remove this unread private field '_logger' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
build-and-sonar: src/Avanade.SubTCSE.Projeto.Api/Program.cs#L39
Make sure this permissive CORS policy is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5122)

Artifacts

Produced during runtime
Name Size
CoverageReport Expired
193 KB