< Summary

Information
Class: Syki.Back.Health.HealthController
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Cross/Health/HealthController.cs
Tag: 22_11348620282
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 16
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
Get()100%11100%

File(s)

/home/runner/work/syki/syki/Back/Features/Cross/Health/HealthController.cs

#LineLine coverage
 1namespace Syki.Back.Health;
 2
 3/// <summary>
 4/// Retorna o Status da API.
 5/// </summary>
 6[ApiController]
 7[ApiExplorerSettings(IgnoreApi = true)]
 8[Consumes("application/json"), Produces("application/json")]
 9public class HealthController : ControllerBase
 10{
 11    [HttpGet("health")]
 12    public IActionResult Get()
 13    {
 114        return Ok(new { Status = "Healthy" });
 15    }
 16}

Methods/Properties

Get()