< Summary

Information
Class: Syki.Front.Features.Teacher.GetTeacherLessonAttendances.GetTeacherLessonAttendancesClient
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Features/Teacher/GetTeacherLessonAttendances/GetTeacherLessonAttendancesClient.cs
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 9
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 2
Branch coverage: 0%
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()0%620%

File(s)

/home/runner/work/syki/syki/Front/Features/Teacher/GetTeacherLessonAttendances/GetTeacherLessonAttendancesClient.cs

#LineLine coverage
 1namespace Syki.Front.Features.Teacher.GetTeacherLessonAttendances;
 2
 03public class GetTeacherLessonAttendancesClient(HttpClient http) : ITeacherClient
 4{
 5    public async Task<List<GetTeacherLessonAttendanceOut>> Get(Guid id)
 6    {
 07        return await http.GetFromJsonAsync<List<GetTeacherLessonAttendanceOut>>($"/teacher/lessons/{id}/attendances") ??
 08    }
 9}