< Summary - Combined Code Coverage

Information
Class: NLightning.Infrastructure.Persistence.Entities.Bitcoin.WatchedTransactionEntity
Assembly: NLightning.Infrastructure.Persistence
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Infrastructure.Persistence/Entities/Bitcoin/WatchedTransactionEntity.cs
Tag: 36_15743069263
Line coverage
0%
Covered lines: 0
Uncovered lines: 9
Coverable lines: 9
Total lines: 20
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_TransactionId()100%210%
get_ChannelId()100%210%
get_RequiredDepth()100%210%
get_FirstSeenAtHeight()100%210%
get_TransactionIndex()100%210%
get_CreatedAt()100%210%
get_CompletedAt()100%210%
.ctor()100%210%

File(s)

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

#LineLine coverage
 1namespace NLightning.Infrastructure.Persistence.Entities.Bitcoin;
 2
 3using Domain.Bitcoin.ValueObjects;
 4using Domain.Channels.ValueObjects;
 5
 6public class WatchedTransactionEntity
 7{
 08    public required TxId TransactionId { get; set; }
 09    public required ChannelId ChannelId { get; set; }
 010    public required uint RequiredDepth { get; set; }
 011    public uint? FirstSeenAtHeight { get; set; }
 012    public ushort? TransactionIndex { get; set; }
 013    public DateTime CreatedAt { get; set; }
 014    public DateTime? CompletedAt { get; set; }
 15
 16    // Default constructor for EF Core
 017    internal WatchedTransactionEntity()
 18    {
 019    }
 20}