< Summary

Information
Class: OzonOrdersWeb.Authorization.Discovery.DiscoveredPage
Assembly: OzonOrdersWeb
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonOrdersWeb/Authorization/Discovery/DiscoveredPage.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
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_Code()100%210%
get_DisplayName()100%210%
get_Area()100%210%
get_Controller()100%210%
get_Action()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{
 08    public string Code { get; set; } = string.Empty;
 09    public string DisplayName { get; set; } = string.Empty;
 010    public string? Area { get; set; }
 011    public string Controller { get; set; } = string.Empty;
 012    public string Action { get; set; } = string.Empty;
 013    public bool ExistsInDb { get; set; }
 14}
 15
 16/// <summary>Найденное поле из помеченного [DiscoverFields] ViewModel/DTO.</summary>
 17public sealed class DiscoveredField
 18{
 19    public string EntityName { get; set; } = string.Empty;
 20    public string FieldName { get; set; } = string.Empty;
 21    public string DisplayName { get; set; } = string.Empty;
 22    public bool ExistsInDb { get; set; }
 23}