< Summary - Combined Code Coverage

Information
Class: NLightning.Application.NLTG.Models.KeyFileData
Assembly: NLightning.Application.NLTG
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Application.NLTG/Models/KeyFileData.cs
Tag: 30_15166811759
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
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_Network()100%210%
get_Descriptor()100%210%
get_LastUsedIndex()100%210%
get_EncryptedExtKey()100%210%
get_Nonce()100%210%
get_Salt()100%210%

File(s)

/home/runner/work/nlightning/nlightning/src/NLightning.Application.NLTG/Models/KeyFileData.cs

#LineLine coverage
 1using System.Text.Json.Serialization;
 2
 3namespace NLightning.Application.NLTG.Models;
 4
 5public class KeyFileData
 6{
 7    [JsonPropertyName("network")]
 08    public string Network { get; set; } = string.Empty;
 9
 10    [JsonPropertyName("descriptor")]
 011    public string Descriptor { get; set; } = string.Empty;
 12
 13    [JsonPropertyName("lastUsedIndex")]
 014    public uint LastUsedIndex { get; set; }
 15
 16    [JsonPropertyName("encryptedExtKey")]
 017    public string EncryptedExtKey { get; set; } = string.Empty;
 18
 19    [JsonPropertyName("nonce")]
 020    public string Nonce { get; set; } = string.Empty;
 21
 22    [JsonPropertyName("salt")]
 023    public string Salt { get; set; } = string.Empty;
 24}