< Summary - Estud

Information
Class: Estud.Back.Features.Notifications.MarkNotificationsAsViewed.MarkNotificationsAsViewedIn
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Notifications/MarkNotificationsAsViewed/MarkNotificationsAsViewedIn.cs
Tag: 114_29044117136
Line coverage
25%
Covered lines: 2
Uncovered lines: 6
Coverable lines: 8
Total lines: 15
Line coverage: 25%
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_MarkAll()100%11100%
get_NotificationId()100%11100%
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Back/Features/Notifications/MarkNotificationsAsViewed/MarkNotificationsAsViewedIn.cs

#LineLine coverage
 1namespace Estud.Back.Features.Notifications.MarkNotificationsAsViewed;
 2
 3public class MarkNotificationsAsViewedIn : IApiDto<MarkNotificationsAsViewedIn>
 4{
 505    public bool MarkAll { get; set; }
 426    public int? NotificationId { get; set; }
 7
 8    public static IEnumerable<(string, MarkNotificationsAsViewedIn)> GetExamples() =>
 09    [
 010        ("Exemplo", new MarkNotificationsAsViewedIn()
 011        {
 012            NotificationId = 1,
 013        }),
 014    ];
 15}