< Summary - Combined Code Coverage

Information
Class: NLightning.Infrastructure.Node.Models.KeyFileData
Assembly: NLightning.Infrastructure
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Infrastructure/Node/Models/KeyFileData.cs
Tag: 36_15743069263
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 14
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%

File(s)

/home/runner/work/nlightning/nlightning/src/NLightning.Infrastructure/Node/Models/KeyFileData.cs

#LineLine coverage
 1using System.Text.Json.Serialization;
 2
 3namespace NLightning.Infrastructure.Node.Models;
 4
 5public class KeyFileData
 6{
 07    [JsonPropertyName("network")] public string Network { get; set; } = string.Empty;
 8
 09    [JsonPropertyName("descriptor")] public string Descriptor { get; set; } = string.Empty;
 10
 011    [JsonPropertyName("lastUsedIndex")] public uint LastUsedIndex { get; set; }
 12
 013    [JsonPropertyName("encryptedExtKey")] public string EncryptedExtKey { get; set; } = string.Empty;
 14}