< Summary - Estud

Information
Class: Estud.Back.Features.Webhooks.GetWebhookCalls.GetWebhookCallsMapper
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Webhooks/GetWebhookCalls/GetWebhookCallsMapper.cs
Tag: 114_29044117136
Line coverage
100%
Covered lines: 8
Uncovered lines: 0
Coverable lines: 8
Total lines: 21
Line coverage: 100%
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
ToGetWebhookCallsItemOut(...)100%11100%

File(s)

/home/runner/work/syki/syki/Back/Features/Webhooks/GetWebhookCalls/GetWebhookCallsMapper.cs

#LineLine coverage
 1using Estud.Back.Domain.Webhooks;
 2
 3namespace Estud.Back.Features.Webhooks.GetWebhookCalls;
 4
 5public static class GetWebhookCallsMapper
 6{
 7    extension(WebhookCall call)
 8    {
 9        public GetWebhookCallsItemOut ToGetWebhookCallsItemOut()
 10        {
 1011            return new()
 1012            {
 1013                Id = call.Id,
 1014                EventType = call.EventType,
 1015                Status = call.Status,
 1016                AttemptsCount = call.AttemptsCount,
 1017                CreatedAt = call.CreatedAt,
 1018            };
 19        }
 20    }
 21}