Skip to content

feat: corrigindo erros e melhorando a leitura #33

feat: corrigindo erros e melhorando a leitura

feat: corrigindo erros e melhorando a leitura #33

Triggered via pull request June 19, 2024 16:21
Status Success
Total duration 1m 54s
Artifacts 1

dotnet.yml

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

Annotations

10 warnings
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/Controllers/Test/KeyVaultController.cs#L19
Annotate this method with ProducesResponseType containing the return type for successful responses. (https://rules.sonarsource.com/csharp/RSPEC-6968)
build-and-sonar: src/Avanade.SubTCSE.Projeto.Api/Controllers/Test/ResourcesController.cs#L21
Annotate this method with ProducesResponseType containing the return type for successful responses. (https://rules.sonarsource.com/csharp/RSPEC-6968)
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