< Summary - Combined Code Coverage

Information
Class: NLightning.Domain.Protocol.Messages.FundingCreatedMessage
Assembly: NLightning.Domain
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Domain/Protocol/Messages/FundingCreatedMessage.cs
Tag: 36_15743069263
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 23
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
get_Payload()100%11100%
.ctor(...)100%11100%

File(s)

/home/runner/work/nlightning/nlightning/src/NLightning.Domain/Protocol/Messages/FundingCreatedMessage.cs

#LineLine coverage
 1namespace NLightning.Domain.Protocol.Messages;
 2
 3using Constants;
 4using Payloads;
 5
 6/// <summary>
 7/// Represents a funding_created message.
 8/// </summary>
 9/// <remarks>
 10/// The funding_created message is sent by the funder to the fundee after the funding transaction has been created.
 11/// The message type is 34.
 12/// </remarks>
 13public sealed class FundingCreatedMessage : BaseChannelMessage
 14{
 15    /// <summary>
 16    /// The payload of the message.
 17    /// </summary>
 6418    public new FundingCreatedPayload Payload { get => (FundingCreatedPayload)base.Payload; }
 19
 2420    public FundingCreatedMessage(FundingCreatedPayload payload) : base(MessageTypes.FundingCreated, payload)
 21    {
 2422    }
 23}