< Summary - Combined Code Coverage

Information
Class: NLightning.Domain.Channels.ValueObjects.ChannelBasepoints
Assembly: NLightning.Domain
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Domain/Channels/ValueObjects/ChannelBasepoints.cs
Tag: 36_15743069263
Line coverage
100%
Covered lines: 11
Uncovered lines: 0
Coverable lines: 11
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_FundingPubKey()100%11100%
get_RevocationBasepoint()100%11100%
get_PaymentBasepoint()100%11100%
get_DelayedPaymentBasepoint()100%11100%
get_HtlcBasepoint()100%11100%
.ctor(...)100%11100%

File(s)

/home/runner/work/nlightning/nlightning/src/NLightning.Domain/Channels/ValueObjects/ChannelBasepoints.cs

#LineLine coverage
 1namespace NLightning.Domain.Channels.ValueObjects;
 2
 3using Crypto.ValueObjects;
 4
 5public record struct ChannelBasepoints
 6{
 687    public CompactPubKey FundingPubKey { get; init; }
 688    public CompactPubKey RevocationBasepoint { get; init; }
 689    public CompactPubKey PaymentBasepoint { get; init; }
 6810    public CompactPubKey DelayedPaymentBasepoint { get; init; }
 6811    public CompactPubKey HtlcBasepoint { get; init; }
 12
 13    public ChannelBasepoints(CompactPubKey fundingPubKey, CompactPubKey revocationBasepoint,
 14                             CompactPubKey paymentBasepoint, CompactPubKey delayedPaymentBasepoint,
 15                             CompactPubKey htlcBasepoint)
 16    {
 6817        FundingPubKey = fundingPubKey;
 6818        RevocationBasepoint = revocationBasepoint;
 6819        PaymentBasepoint = paymentBasepoint;
 6820        DelayedPaymentBasepoint = delayedPaymentBasepoint;
 6821        HtlcBasepoint = htlcBasepoint;
 6822    }
 23}