< Summary - Syki

Information
Class: Syki.Shared.CreateNotificationIn
Assembly: Shared
File(s): /home/runner/work/syki/syki/Shared/Features/Academic/CreateNotification/CreateNotificationIn.cs
Tag: 4_16869239191
Line coverage
84%
Covered lines: 16
Uncovered lines: 3
Coverable lines: 19
Total lines: 28
Line coverage: 84.2%
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_Title()100%11100%
get_Description()100%11100%
get_TargetUsers()100%11100%
get_Timeless()100%11100%
.ctor()100%11100%
.ctor(...)100%11100%
GetExamples()100%210%

File(s)

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

#LineLine coverage
 1namespace Syki.Shared;
 2
 3public class CreateNotificationIn
 4{
 1205    public string Title { get; set; }
 1206    public string Description { get; set; }
 1687    public UsersGroup TargetUsers { get; set; }
 1208    public bool Timeless { get; set; }
 9
 4810    public CreateNotificationIn() {}
 11
 2412    public CreateNotificationIn(
 2413        string title,
 2414        string description,
 2415        UsersGroup targetUsers,
 2416        bool timeless
 2417    ) {
 2418        Title = title;
 2419        Description = description;
 2420        TargetUsers = targetUsers;
 2421        Timeless = timeless;
 2422    }
 23
 24    public static IEnumerable<(string, CreateNotificationIn)> GetExamples() =>
 025    [
 026        ("Exemplo", new() { }),
 027    ];
 28}