< Summary

Information
Class: Services.ApiServices.MoskvorechieApi.MoskvorechieIstraConfig
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/MoskvorechieApi/MoskvorechieIstraConfig.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 12
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_BaseUrl()100%11100%
get_Login()100%11100%
get_ApiKey()100%11100%
get_PortalPassword()100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/MoskvorechieApi/MoskvorechieIstraConfig.cs

#LineLine coverage
 1namespace Services.ApiServices.MoskvorechieApi;
 2
 3/// <summary>Учётные данные API Москворечья; задаются только в secrets/env.</summary>
 4public sealed class MoskvorechieIstraConfig
 5{
 6    public const string SectionName = "MoskvorechieIstra";
 3147    public string BaseUrl { get; set; } = "https://portal.moskvorechie.ru/portal.api";
 3938    public string Login { get; set; } = string.Empty;
 3679    public string ApiKey { get; set; } = string.Empty;
 10    /// <summary>Пароль портала нужен только для расширенной read-only проценки show_price.aj.</summary>
 13111    public string PortalPassword { get; set; } = string.Empty;
 12}