< Summary - Combined Code Coverage

Information
Class: NLightning.Domain.Node.Events.AttentionMessageEventArgs
Assembly: NLightning.Domain
File(s): /home/runner/work/NLightning/NLightning/src/NLightning.Domain/Node/Events/AttentionMessageEventArgs.cs
Tag: 57_24045730253
Line coverage
0%
Covered lines: 0
Uncovered lines: 8
Coverable lines: 8
Total lines: 18
Line coverage: 0%
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_Message()100%210%
get_PeerPubKey()100%210%
get_ChannelId()100%210%
.ctor(...)100%210%

File(s)

/home/runner/work/NLightning/NLightning/src/NLightning.Domain/Node/Events/AttentionMessageEventArgs.cs

#LineLine coverage
 1namespace NLightning.Domain.Node.Events;
 2
 3using Channels.ValueObjects;
 4using Crypto.ValueObjects;
 5
 6public class AttentionMessageEventArgs : EventArgs
 7{
 08    public string Message { get; }
 09    public CompactPubKey PeerPubKey { get; }
 010    public ChannelId? ChannelId { get; }
 11
 012    public AttentionMessageEventArgs(string message, CompactPubKey peerPubKey, ChannelId? channelId = null)
 13    {
 014        Message = message;
 015        PeerPubKey = peerPubKey;
 016        ChannelId = channelId;
 017    }
 18}