< Summary - Combined Code Coverage

Information
Class: NLightning.Domain.Protocol.Tlv.NextFundingTlv
Assembly: NLightning.Domain
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Domain/Protocol/Tlv/NextFundingTlv.cs
Tag: 30_15166811759
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 25
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_NextFundingTxId()100%11100%
.ctor(...)100%11100%

File(s)

/home/runner/work/nlightning/nlightning/src/NLightning.Domain/Protocol/Tlv/NextFundingTlv.cs

#LineLine coverage
 1namespace NLightning.Domain.Protocol.Tlv;
 2
 3using Constants;
 4
 5/// <summary>
 6/// Blinded Path TLV.
 7/// </summary>
 8/// <remarks>
 9/// The blinded path TLV is used in the UpdateAddHtlcMessage to communicate the blinded path key.
 10/// </remarks>
 11public class NextFundingTlv : BaseTlv
 12{
 13    /// <summary>
 14    /// The blinded path key
 15    /// </summary>
 2016    public byte[] NextFundingTxId { get; }
 17
 2018    public NextFundingTlv(byte[] nextFundingTxId) : base(TlvConstants.NEXT_FUNDING)
 19    {
 2020        NextFundingTxId = nextFundingTxId;
 21
 2022        Value = NextFundingTxId;
 2023        Length = Value.Length;
 2024    }
 25}