< Summary - Syki

Information
Class: Syki.Shared.NotificationOut
Assembly: Shared
File(s): /home/runner/work/syki/syki/Shared/Features/Academic/CreateNotification/NotificationOut.cs
Tag: 4_16869239191
Line coverage
70%
Covered lines: 7
Uncovered lines: 3
Coverable lines: 10
Total lines: 17
Line coverage: 70%
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_Title()100%11100%
get_Description()100%11100%
get_Target()100%11100%
get_Timeless()100%11100%
get_CreatedAt()100%11100%
get_Views()100%11100%
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Shared/Features/Academic/CreateNotification/NotificationOut.cs

#LineLine coverage
 1namespace Syki.Shared;
 2
 3public class NotificationOut
 4{
 945    public Guid Id { get; set; }
 886    public string Title { get; set; }
 887    public string Description { get; set; }
 888    public UsersGroup Target { get; set; }
 889    public bool Timeless { get; set; }
 8810    public DateTime CreatedAt { get; set; }
 8811    public string Views { get; set; }
 12
 13    public static IEnumerable<(string, NotificationOut)> GetExamples() =>
 014    [
 015        ("Exemplo", new() { }),
 016    ];
 17}