< Summary

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

File(s)

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

#LineLine coverage
 1@namespace Syki.Front.Shared
 2
 3@inject NavigationManager Nav
 4
 5@code
 6{
 7    protected override async Task OnAfterRenderAsync(bool firstRender)
 8    {
 09        await base.OnAfterRenderAsync(firstRender);
 10
 011        Nav.NavigateTo("/login");
 012    }
 13}

Methods/Properties

OnAfterRenderAsync()