< Summary

Information
Class: Elsa.Secrets.Models.SecretPayload
Assembly: Elsa.Secrets
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Secrets/Models/SecretPayload.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 10
Line coverage: 100%
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_Value()100%11100%
get_Metadata()100%11100%
FromValue(...)100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Secrets/Models/SecretPayload.cs

#LineLine coverage
 1namespace Elsa.Secrets.Models;
 2
 3public class SecretPayload
 4{
 2615    public string? Value { get; set; }
 6    [System.Text.Json.Serialization.JsonConverter(typeof(OrdinalIgnoreCaseDictionaryConverter))]
 5467    public IDictionary<string, string> Metadata { get; set; } = new Dictionary<string, string>(StringComparer.OrdinalIgn
 8
 59    public static SecretPayload FromValue(string? value) => new() { Value = value };
 10}