< Summary - Combined Code Coverage

Information
Class: NLightning.Infrastructure.Persistence.Entities.Bitcoin.RevocationWatchEntity
Assembly: NLightning.Infrastructure.Persistence
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Infrastructure.Persistence/Entities/Bitcoin/RevocationWatchEntity.cs
Tag: 36_15743069263
Line coverage
0%
Covered lines: 0
Uncovered lines: 11
Coverable lines: 11
Total lines: 22
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_ChannelId()100%210%
get_CommitmentNumber()100%210%
get_CommitmentTransactionId()100%210%
get_PenaltyTransactionBytes()100%210%
get_TriggeredAtHeight()100%210%
get_IncludedInHeight()100%210%
get_CreatedAt()100%210%
get_TriggeredAt()100%210%
get_IncludedAt()100%210%
.ctor()100%210%

File(s)

/home/runner/work/nlightning/nlightning/src/NLightning.Infrastructure.Persistence/Entities/Bitcoin/RevocationWatchEntity.cs

#LineLine coverage
 1namespace NLightning.Infrastructure.Persistence.Entities.Bitcoin;
 2
 3using Domain.Bitcoin.ValueObjects;
 4using Domain.Channels.ValueObjects;
 5
 6public class RevocationWatchEntity
 7{
 08    public required ChannelId ChannelId { get; set; }
 09    public required ulong CommitmentNumber { get; set; }
 010    public required TxId CommitmentTransactionId { get; set; }
 011    public required byte[] PenaltyTransactionBytes { get; set; }
 012    public uint? TriggeredAtHeight { get; set; }
 013    public uint? IncludedInHeight { get; set; }
 014    public DateTime CreatedAt { get; set; }
 015    public DateTime? TriggeredAt { get; set; }
 016    public DateTime? IncludedAt { get; set; }
 17
 18    // Default constructor for EF Core
 019    internal RevocationWatchEntity()
 20    {
 021    }
 22}