< Summary - Combined Code Coverage

Information
Class: NLightning.Infrastructure.Persistence.Entities.Bitcoin.UtxoEntity
Assembly: NLightning.Infrastructure.Persistence
File(s): /home/runner/work/NLightning/NLightning/src/NLightning.Infrastructure.Persistence/Entities/Bitcoin/UtxoEntity.cs
Tag: 57_24045730253
Line coverage
0%
Covered lines: 0
Uncovered lines: 11
Coverable lines: 11
Total lines: 23
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_Index()100%210%
get_AmountSats()100%210%
get_BlockHeight()100%210%
get_AddressIndex()100%210%
get_IsAddressChange()100%210%
get_AddressType()100%210%
get_LockedToChannelId()100%210%
get_UsedInTransactionId()100%210%
get_WalletAddress()100%210%
.ctor()100%210%

File(s)

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

#LineLine coverage
 1namespace NLightning.Infrastructure.Persistence.Entities.Bitcoin;
 2
 3using Domain.Bitcoin.Enums;
 4using Domain.Bitcoin.ValueObjects;
 5using Domain.Channels.ValueObjects;
 6
 7public class UtxoEntity
 8{
 09    public required TxId TransactionId { get; set; }
 010    public uint Index { get; set; }
 011    public long AmountSats { get; set; }
 012    public uint BlockHeight { get; set; }
 013    public uint AddressIndex { get; set; }
 014    public bool IsAddressChange { get; set; }
 015    public AddressType AddressType { get; set; }
 016    public ChannelId? LockedToChannelId { get; set; }
 017    public TxId? UsedInTransactionId { get; set; }
 18
 019    public virtual WalletAddressEntity? WalletAddress { get; set; }
 20
 21    // Default constructor for EF Core
 022    internal UtxoEntity() { }
 23}