< Summary

Information
Class: Syki.Front.Shared.SettingsMenu
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Shared/SettingsMenu.razor
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 17
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_OnLogoutClick()100%210%
Logout()100%210%

File(s)

/home/runner/work/syki/syki/Front/Shared/SettingsMenu.razor

#LineLine coverage
 1@namespace Syki.Front.Shared
 2
 3<MudNavMenu>
 4    <MudNavLink Href="setup-mfa" Match="NavLinkMatch.All" Icon="@Icons.Material.Filled.Lock" IconColor="Color.Inherit">S
 5    <MudNavLink Match="NavLinkMatch.All" Icon="@Icons.Material.Filled.Logout" OnClick="@Logout" IconColor="Color.Inherit
 6</MudNavMenu>
 7
 8@code
 9{
 10    [Parameter]
 011    public EventCallback<MouseEventArgs> OnLogoutClick { get; set; }
 12
 13    private async Task Logout()
 14    {
 015        await OnLogoutClick.InvokeAsync();
 016    }
 17}

Methods/Properties

get_OnLogoutClick()
Logout()