< Summary - Envilder .NET SDK

Information
Class: Envilder.Domain.ParsedMapFile
Assembly: Envilder
File(s): /home/runner/work/envilder/envilder/src/sdks/dotnet/Domain/ParsedMapFile.cs
Tag: 299_25910610327
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 27
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
.ctor(...)100%11100%

File(s)

/home/runner/work/envilder/envilder/src/sdks/dotnet/Domain/ParsedMapFile.cs

#LineLine coverage
 1namespace Envilder.Domain;
 2
 3using System.Collections.Generic;
 4
 5/// <summary>
 6/// Result of parsing a map file. Contains provider configuration and
 7/// the environment-variable-name → secret-path mappings.
 8/// </summary>
 9public class ParsedMapFile
 10{
 111  public ParsedMapFile(MapFileConfig config, Dictionary<string, string> mappings)
 12  {
 113    Config = config;
 114    Mappings = mappings;
 115  }
 16
 17  /// <summary>
 18  /// Provider configuration read from the <c>$config</c> section.
 19  /// </summary>
 20  public MapFileConfig Config { get; }
 21
 22  /// <summary>
 23  /// Dictionary mapping environment variable names to secret paths/names
 24  /// (e.g. <c>"DB_URL" → "/app/db-url"</c>).
 25  /// </summary>
 26  public Dictionary<string, string> Mappings { get; }
 27}