< Summary - Combined Code Coverage

Information
Class: NLightning.Domain.Bitcoin.Transactions.Outputs.ReceivedHtlcOutputInfo
Assembly: NLightning.Domain
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Domain/Bitcoin/Transactions/Outputs/ReceivedHtlcOutputInfo.cs
Tag: 36_15743069263
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 20
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
.ctor(...)100%11100%

File(s)

/home/runner/work/nlightning/nlightning/src/NLightning.Domain/Bitcoin/Transactions/Outputs/ReceivedHtlcOutputInfo.cs

#LineLine coverage
 1using NLightning.Domain.Channels.ValueObjects;
 2using NLightning.Domain.Crypto.ValueObjects;
 3
 4namespace NLightning.Domain.Bitcoin.Transactions.Outputs;
 5
 6/// <summary>
 7/// Represents the information needed to construct a received HTLC output in a commitment transaction.
 8/// This follows the BOLT #3 specification for received HTLC outputs.
 9/// </summary>
 10public class ReceivedHtlcOutputInfo : HtlcOutputInfo
 11{
 12    /// <summary>
 13    /// Creates a new instance of ReceivedHtlcOutputInfo.
 14    /// </summary>
 15    public ReceivedHtlcOutputInfo(Htlc htlc, CompactPubKey localHtlcPubKey, CompactPubKey remoteHtlcPubKey,
 16                                  CompactPubKey revocationPubKey)
 6817        : base(htlc, localHtlcPubKey, remoteHtlcPubKey, revocationPubKey, false)
 18    {
 6819    }
 20}