< Summary

Information
Class: Syki.Front.Components.Indexes.IndexCard
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Components/Indexes/IndexCard.razor
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 32
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 2
Branch coverage: 0%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Loading()100%210%
get_Icon()100%210%
get_Value()100%210%
get_Text()100%210%

File(s)

/home/runner/work/syki/syki/Front/Components/Indexes/IndexCard.razor

#LineLine coverage
 1@namespace Syki.Front.Components.Indexes
 2
 3<MudItem xs="12" sm="6" md="4" lg="4">
 4    <MudPaper Class="d-flex align-center justify-center mud-width-full py-4">
 5        <MudStack AlignItems="AlignItems.Center">
 6            <MudIcon Icon="@Icon" Size="Size.Large" Color="Color.Primary"/>
 07            @if (Loading)
 8            {
 9                <MudText Typo="Typo.h5" Style="font-weight: bold">...</MudText>
 10            }
 11            else
 12            {
 13                <MudText Typo="Typo.h5" Style="font-weight: bold">@Value @Text</MudText>
 14            }
 15        </MudStack>
 16    </MudPaper>
 17</MudItem>
 18
 19@code
 20{
 21    [Parameter]
 022    public bool Loading { get; set; }
 23
 24    [Parameter]
 025    public string Icon { get; set; }
 26
 27    [Parameter]
 028    public int Value { get; set; }
 29
 30    [Parameter]
 031    public string Text { get; set; }
 32}