< Summary - Combined Code Coverage

Information
Class: NLightning.Infrastructure.Persistence.ValueConverters.CompactPubKeyConverter
Assembly: NLightning.Infrastructure.Persistence
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Infrastructure.Persistence/ValueConverters/CompactPubKeyConverter.cs
Tag: 36_15743069263
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 11
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
.ctor()100%210%

File(s)

/home/runner/work/nlightning/nlightning/src/NLightning.Infrastructure.Persistence/ValueConverters/CompactPubKeyConverter.cs

#LineLine coverage
 1using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
 2
 3namespace NLightning.Infrastructure.Persistence.ValueConverters;
 4
 5using Domain.Crypto.ValueObjects;
 6
 7/// <summary>
 8/// EF Core value converter for CompactPubKey value object
 9/// </summary>
 10public class CompactPubKeyConverter()
 011    : ValueConverter<CompactPubKey, byte[]>(compactPubKey => compactPubKey, bytes => new CompactPubKey(bytes));

Methods/Properties

.ctor()