< 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: 30_15166811759
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
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
SerializeAsync(...)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 Interfaces;
 4
 5/// <summary>
 6/// Placeholder payload for messages that will be deserialized later.
 7/// </summary>
 8/// <remarks>
 9/// DON'T USE THIS PAYLOAD IN REAL MESSAGES!
 10/// </remarks>
 11internal sealed class PlaceholderPayload : IMessagePayload
 12{
 13    public Task SerializeAsync(Stream stream)
 14    {
 015        throw new NotImplementedException("This class should be just a placeholder.");
 16    }
 17}