< Summary - Combined Code Coverage

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

File(s)

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

#LineLine coverage
 1namespace NLightning.Domain.Node.Events;
 2
 3using Crypto.ValueObjects;
 4
 5public class PeerDisconnectedEventArgs : EventArgs
 6{
 07    public CompactPubKey PeerPubKey { get; }
 08    public Exception? Exception { get; }
 09
 010    public PeerDisconnectedEventArgs(CompactPubKey peerPubKey, Exception? exception = null)
 011    {
 012        PeerPubKey = peerPubKey;
 013        Exception = exception;
 014    }
 15}