< Summary - Estud

Information
Class: Estud.Back.Features.Courses.GetCoursePotentialDisciplines.GetCoursePotentialDisciplineItemOut
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Courses/GetCoursePotentialDisciplines/GetCoursePotentialDisciplinesOut.cs
Tag: 114_29044117136
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 17
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_Id()100%11100%
get_Name()100%11100%

File(s)

/home/runner/work/syki/syki/Back/Features/Courses/GetCoursePotentialDisciplines/GetCoursePotentialDisciplinesOut.cs

#LineLine coverage
 1namespace Estud.Back.Features.Courses.GetCoursePotentialDisciplines;
 2
 3public class GetCoursePotentialDisciplinesOut : IApiDto<GetCoursePotentialDisciplinesOut>
 4{
 5    public List<GetCoursePotentialDisciplineItemOut> Items { get; set; } = [];
 6
 7    public static IEnumerable<(string, GetCoursePotentialDisciplinesOut)> GetExamples() =>
 8    [
 9        ("Exemplo", new() { Items = [new() { Id = 1, Name = "Cálculo I" }] }),
 10    ];
 11}
 12
 13public class GetCoursePotentialDisciplineItemOut
 14{
 2615    public int Id { get; set; }
 3216    public string Name { get; set; }
 17}

Methods/Properties

get_Id()
get_Name()