< Summary - Syki

Information
Class: Syki.Back.Health.HealthController
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Cross/Health/HealthController.cs
Tag: 4_16869239191
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 15
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[ApiController]
 4[ApiExplorerSettings(IgnoreApi = true)]
 5public class HealthController : ControllerBase
 6{
 7    /// <summary>
 8    /// Retorna o health status da API.
 9    /// </summary>
 10    [HttpGet("health")]
 11    public IActionResult Get()
 12    {
 413        return Ok(new { Status = "Healthy" });
 14    }
 15}

Methods/Properties

Get()