< Summary - Estud

Information
Class: Estud.Back.Features.Students.GetStudentAgenda.GetStudentAgendaController
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Students/GetStudentAgenda/GetStudentAgendaController.cs
Tag: 114_29044117136
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 21
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/Students/GetStudentAgenda/GetStudentAgendaController.cs

#LineLine coverage
 1namespace Estud.Back.Features.Students.GetStudentAgenda;
 2
 3[ApiController, Authorize(Policies.GetStudentAgenda)]
 04public class GetStudentAgendaController(GetStudentAgendaService service) : ControllerBase
 5{
 6    /// <summary>
 7    /// Agenda
 8    /// </summary>
 9    /// <remarks>
 10    /// Retorna a agenda do aluno.
 11    /// </remarks>
 12    [HttpGet("students/agenda")]
 13    [SwaggerResponseExample(200, typeof(ResponseExamples))]
 14    public async Task<IActionResult> Get()
 15    {
 016        var agenda = await service.Get();
 017        return Ok(agenda);
 018    }
 19}
 20
 21internal class ResponseExamples : ExamplesProvider<GetStudentAgendaOut>;