< Summary

Information
Class: Elsa.Persistence.EFCore.Converters.JsonValueConverter<T>
Assembly: Elsa.Persistence.EFCore.Common
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Persistence.EFCore.Common/Converters/JsonValueConverter.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 6
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/elsa-core/elsa-core/src/modules/Elsa.Persistence.EFCore.Common/Converters/JsonValueConverter.cs

#LineLine coverage
 1using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
 2
 3namespace Elsa.Persistence.EFCore.Converters;
 4
 05public class JsonValueConverter<T>() : ValueConverter<T, string>(v => JsonValueConverterHelper.Serialize(v), v => JsonVa
 6    where T : class;

Methods/Properties

.ctor()