< Summary - Combined Code Coverage

Information
Class: NLightning.Domain.Bitcoin.Wallet.Models.WalletAddressModel
Assembly: NLightning.Domain
File(s): /home/runner/work/NLightning/NLightning/src/NLightning.Domain/Bitcoin/Wallet/Models/WalletAddressModel.cs
Tag: 57_24045730253
Line coverage
0%
Covered lines: 0
Uncovered lines: 11
Coverable lines: 11
Total lines: 24
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_AddressType()100%210%
get_Index()100%210%
get_IsChange()100%210%
get_Address()100%210%
.ctor(...)100%210%
ToString()100%210%

File(s)

/home/runner/work/NLightning/NLightning/src/NLightning.Domain/Bitcoin/Wallet/Models/WalletAddressModel.cs

#LineLine coverage
 1namespace NLightning.Domain.Bitcoin.Wallet.Models;
 2
 3using Enums;
 4
 5public sealed class WalletAddressModel
 6{
 07    public AddressType AddressType { get; }
 08    public uint Index { get; }
 09    public bool IsChange { get; }
 010    public string Address { get; }
 11
 012    public WalletAddressModel(AddressType addressType, uint index, bool isChange, string address)
 13    {
 014        AddressType = addressType;
 015        Index = index;
 016        IsChange = isChange;
 017        Address = address;
 018    }
 19
 20    public override string ToString()
 21    {
 022        return Address;
 23    }
 24}