< Summary - Combined Code Coverage

Information
Class: NLightning.Domain.Protocol.Messages.TxAddInputMessage
Assembly: NLightning.Domain
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Domain/Protocol/Messages/TxAddInputMessage.cs
Tag: 30_15166811759
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%
get_Payload()100%11100%

File(s)

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

#LineLine coverage
 1namespace NLightning.Domain.Protocol.Messages;
 2
 3using Constants;
 4using Payloads;
 5
 6/// <summary>
 7/// Represents an tx_add_input message.
 8/// </summary>
 9/// <remarks>
 10/// The tx_add_input message is used to add an input to the transaction.
 11/// The message type is 66.
 12/// </remarks>
 13/// <param name="payload">The tx_add_input payload.</param>
 814public sealed class TxAddInputMessage(TxAddInputPayload payload) : BaseMessage(MessageTypes.TX_ADD_INPUT, payload)
 15{
 16    /// <summary>
 17    /// The payload of the message.
 18    /// </summary>
 2019    public new TxAddInputPayload Payload { get => (TxAddInputPayload)base.Payload; }
 20}