< Summary

Information
Class: ProjectTemplate.Web.Models.ExternalAuthenticationProviderViewModel
Assembly: ProjectTemplate.Web
File(s): /home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Web/Models/ExternalAuthenticationProviderViewModel.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 17
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_Scheme()100%11100%
get_DisplayName()100%11100%

File(s)

/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Web/Models/ExternalAuthenticationProviderViewModel.cs

#LineLine coverage
 1namespace ProjectTemplate.Web.Models;
 2
 3/// <summary>
 4/// Represents an available external authentication provider.
 5/// </summary>
 6public sealed class ExternalAuthenticationProviderViewModel
 7{
 8    /// <summary>
 9    /// Gets or sets the authentication scheme name.
 10    /// </summary>
 611    public string Scheme { get; set; } = string.Empty;
 12
 13    /// <summary>
 14    /// Gets or sets the provider display name.
 15    /// </summary>
 616    public string DisplayName { get; set; } = string.Empty;
 17}

Methods/Properties

get_Scheme()
get_DisplayName()