< Summary

Information
Class: Syki.Daemon.Emails.BrevoEmailMessage
Assembly: Daemon
File(s): /home/runner/work/syki/syki/Daemon/Emails/BrevoEmailMessage.cs
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 10
Coverable lines: 10
Total lines: 17
Line coverage: 0%
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_Sender()100%210%
get_To()100%210%
get_Subject()100%210%
get_HtmlContent()100%210%
.ctor(...)100%210%

File(s)

/home/runner/work/syki/syki/Daemon/Emails/BrevoEmailMessage.cs

#LineLine coverage
 1namespace Syki.Daemon.Emails;
 2
 3public class BrevoEmailMessage
 4{
 05    public BrevoEmail Sender { get; set; }
 06    public List<BrevoEmail> To { get; set; }
 07    public string Subject { get; set; }
 08    public string HtmlContent { get; set; }
 9
 010    public BrevoEmailMessage(string sender, string to, string subject, string content)
 11    {
 012        Sender = new BrevoEmail { Email = sender };
 013        To = [new BrevoEmail { Email = to }];
 014        Subject = subject;
 015        HtmlContent = content;
 016    }
 17}