< Summary - Combined Code Coverage

Information
Class: NLightning.Infrastructure.Persistence.Entities.Node.PeerEntity
Assembly: NLightning.Infrastructure.Persistence
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Infrastructure.Persistence/Entities/Node/PeerEntity.cs
Tag: 36_15743069263
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
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_NodeId()100%210%
get_Host()100%210%
get_Port()100%210%
get_LastSeenAt()100%210%
get_Channels()100%210%
.ctor()100%210%

File(s)

/home/runner/work/nlightning/nlightning/src/NLightning.Infrastructure.Persistence/Entities/Node/PeerEntity.cs

#LineLine coverage
 1namespace NLightning.Infrastructure.Persistence.Entities.Node;
 2
 3using Channel;
 4using Domain.Crypto.ValueObjects;
 5
 6public class PeerEntity
 7{
 08    public required CompactPubKey NodeId { get; set; }
 09    public required string Host { get; set; }
 010    public required uint Port { get; set; }
 011    public required DateTime LastSeenAt { get; set; }
 12
 013    public virtual ICollection<ChannelEntity>? Channels { get; set; }
 14
 015    internal PeerEntity() { }
 16}