< Summary - Combined Code Coverage

Information
Class: NLightning.Infrastructure.Persistence.ValueConverters.ChannelIdConverter
Assembly: NLightning.Infrastructure.Persistence
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Infrastructure.Persistence/ValueConverters/ChannelIdConverter.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/ChannelIdConverter.cs

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

Methods/Properties

.ctor()