< Summary

Information
Class: OzonOrdersWeb.Authorization.Discovery.DiscoveredField
Assembly: OzonOrdersWeb
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonOrdersWeb/Authorization/Discovery/DiscoveredPage.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 23
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
get_EntityName()100%210%
get_FieldName()100%210%
get_DisplayName()100%210%
get_ExistsInDb()100%210%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/OzonOrdersWeb/Authorization/Discovery/DiscoveredPage.cs

#LineLine coverage
 1namespace OzonOrdersWeb.Authorization.Discovery;
 2
 3/// <summary>
 4/// Найденная в коде страница (контроллер/действие), ещё не зарегистрированная в AppPage.
 5/// </summary>
 6public sealed class DiscoveredPage
 7{
 8    public string Code { get; set; } = string.Empty;
 9    public string DisplayName { get; set; } = string.Empty;
 10    public string? Area { get; set; }
 11    public string Controller { get; set; } = string.Empty;
 12    public string Action { get; set; } = string.Empty;
 13    public bool ExistsInDb { get; set; }
 14}
 15
 16/// <summary>Найденное поле из помеченного [DiscoverFields] ViewModel/DTO.</summary>
 17public sealed class DiscoveredField
 18{
 019    public string EntityName { get; set; } = string.Empty;
 020    public string FieldName { get; set; } = string.Empty;
 021    public string DisplayName { get; set; } = string.Empty;
 022    public bool ExistsInDb { get; set; }
 23}