< Summary - Combined Code Coverage

Information
Class: NLightning.Domain.Protocol.Payloads.PlaceholderPayload
Assembly: NLightning.Domain
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Domain/Protocol/Payloads/PlaceholderPayload.cs
Tag: 36_15743069263
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 21
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_ChannelId()100%210%

File(s)

/home/runner/work/nlightning/nlightning/src/NLightning.Domain/Protocol/Payloads/PlaceholderPayload.cs

#LineLine coverage
 1namespace NLightning.Domain.Protocol.Payloads;
 2
 3using Channels.ValueObjects;
 4using Interfaces;
 5
 6/// <summary>
 7/// Placeholder payload for messages that will be deserialized later.
 8/// </summary>
 9/// <remarks>
 10/// DON'T USE THIS PAYLOAD IN REAL MESSAGES!
 11/// </remarks>
 12internal sealed class PlaceholderPayload : IChannelMessagePayload
 13{
 14    public ChannelId ChannelId
 15    {
 16        get
 17        {
 018            throw new NotImplementedException("This class should be just a placeholder.");
 19        }
 20    }
 21}

Methods/Properties

get_ChannelId()