< Summary - Syki

Information
Class: Syki.Back.Features.Adm.GetCommands.GetCommandsController
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Adm/GetCommands/GetCommandsController.cs
Tag: 4_16869239191
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 19
Line coverage: 0%
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
.ctor(...)100%210%
Get()100%210%

File(s)

/home/runner/work/syki/syki/Back/Features/Adm/GetCommands/GetCommandsController.cs

#LineLine coverage
 1namespace Syki.Back.Features.Adm.GetCommands;
 2
 3[ApiController, AuthAdm]
 04public class GetCommandsController(GetCommandsService service) : ControllerBase
 5{
 6    /// <summary>
 7    /// Comandos
 8    /// </summary>
 9    /// <remarks>
 10    /// Retorna todos os comandos.
 11    /// </remarks>
 12    [HttpGet("adm/commands")]
 13    public async Task<IActionResult> Get([FromQuery] CommandTableFilterIn filters)
 14    {
 015        var commands = await service.Get(filters);
 16
 017        return Ok(commands);
 018    }
 19}