< Summary - Syki

Information
Class: Syki.Back.Features.Courses.GetCourseDisciplines.GetCourseDisciplineItemOut
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Courses/GetCourseDisciplines/GetCourseDisciplinesOut.cs
Tag: 56_26538939494
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 18
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
get_Id()100%210%
get_Name()100%210%

File(s)

/home/runner/work/syki/syki/Back/Features/Courses/GetCourseDisciplines/GetCourseDisciplinesOut.cs

#LineLine coverage
 1namespace Syki.Back.Features.Courses.GetCourseDisciplines;
 2
 3public class GetCourseDisciplinesOut : IApiDto<GetCourseDisciplinesOut>
 4{
 5    public int Total { get; set; }
 6    public List<GetCourseDisciplineItemOut> Items { get; set; } = [];
 7
 8    public static IEnumerable<(string, GetCourseDisciplinesOut)> GetExamples() =>
 9    [
 10        ("Exemplo", new() { Total = 1, Items = [new() { Id = 1, Name = "Geometria" }] }),
 11    ];
 12}
 13
 14public class GetCourseDisciplineItemOut
 15{
 016    public int Id { get; set; }
 017    public string Name { get; set; }
 18}

Methods/Properties

get_Id()
get_Name()