< Summary - Combined Code Coverage

Information
Class: NLightning.Daemon.Contracts.Control.NodeInfoResponse
Assembly: NLightning.Daemon.Contracts
File(s): /home/runner/work/NLightning/NLightning/src/NLightning.Daemon.Contracts/Control/NodeInfoResponse.cs
Tag: 57_24045730253
Line coverage
0%
Covered lines: 0
Uncovered lines: 8
Coverable lines: 8
Total lines: 16
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_PubKey()100%210%
get_ListeningTo()100%210%
get_Network()100%210%
get_BestBlockHash()100%210%
get_BestBlockHeight()100%210%
get_BestBlockTime()100%210%
get_Implementation()100%210%
get_Version()100%210%

File(s)

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

#LineLine coverage
 1namespace NLightning.Daemon.Contracts.Control;
 2
 3/// <summary>
 4/// Transport-agnostic response for NodeInfo command.
 5/// </summary>
 6public sealed class NodeInfoResponse
 7{
 08    public required string PubKey { get; init; }
 09    public required string ListeningTo { get; init; }
 010    public string Network { get; init; } = string.Empty;
 011    public string BestBlockHash { get; init; } = string.Empty;
 012    public long BestBlockHeight { get; init; }
 013    public DateTimeOffset? BestBlockTime { get; init; }
 014    public string? Implementation { get; init; } = "NLightning";
 015    public string? Version { get; init; }
 16}