< Summary - Combined Code Coverage

Information
Class: NLightning.Daemon.Contracts.Control.ConnectPeerResponse
Assembly: NLightning.Daemon.Contracts
File(s): /home/runner/work/NLightning/NLightning/src/NLightning.Daemon.Contracts/Control/ConnectPeerResponse.cs
Tag: 57_24045730253
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
Total lines: 14
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_Id()100%210%
get_Features()100%210%
get_IsInitiator()100%210%
get_Address()100%210%
get_Type()100%210%
get_Port()100%210%

File(s)

/home/runner/work/NLightning/NLightning/src/NLightning.Daemon.Contracts/Control/ConnectPeerResponse.cs

#LineLine coverage
 1namespace NLightning.Daemon.Contracts.Control;
 2
 3/// <summary>
 4/// Transport-agnostic response for ConnectPeer command.
 5/// </summary>
 6public sealed class ConnectPeerResponse
 7{
 08    public string Id { get; set; } = string.Empty;
 09    public string Features { get; set; } = string.Empty;
 010    public bool IsInitiator { get; set; }
 011    public string Address { get; set; } = string.Empty;
 012    public string Type { get; set; } = string.Empty;
 013    public uint Port { get; set; }
 14}