< Summary - Syki

Information
Class: Syki.Shared.UpdateCampusIn
Assembly: Shared
File(s): /home/runner/work/syki/syki/Shared/Features/Academic/UpdateCampus/UpdateCampusIn.cs
Tag: 4_16869239191
Line coverage
20%
Covered lines: 5
Uncovered lines: 20
Coverable lines: 25
Total lines: 32
Line coverage: 20%
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%
get_State()100%11100%
get_City()100%11100%
get_Capacity()100%11100%
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Shared/Features/Academic/UpdateCampus/UpdateCampusIn.cs

#LineLine coverage
 1namespace Syki.Shared;
 2
 3public class UpdateCampusIn
 4{
 405    public Guid Id { get; set; }
 366    public string Name { get; set; }
 367    public BrazilState State { get; set; }
 368    public string City { get; set; }
 369    public int Capacity { get; set; }
 10
 11    public static IEnumerable<(string, UpdateCampusIn)> GetExamples() =>
 012    [
 013        ("Agreste",
 014        new UpdateCampusIn
 015        {
 016            Id = Guid.CreateVersion7(),
 017            Name = "Agreste",
 018            State = BrazilState.PE,
 019            City = "Caruaru",
 020            Capacity = 300,
 021        }),
 022        ("Suassuna",
 023        new UpdateCampusIn
 024        {
 025            Id = Guid.CreateVersion7(),
 026            Name = "Suassuna",
 027            State = BrazilState.PE,
 028            City = "Recife",
 029            Capacity = 820,
 030        }),
 031    ];
 32}