< Summary

Information
Class: Syki.Front.Features.Teacher.GetTeacherInsights.TeacherInsightCard
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Features/Teacher/GetTeacherInsights/TeacherInsightCard.razor
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 29
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_Text()100%210%

File(s)

/home/runner/work/syki/syki/Front/Features/Teacher/GetTeacherInsights/TeacherInsightCard.razor

#LineLine coverage
 1@namespace Syki.Front.Features.Teacher.GetTeacherInsights
 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">@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 string Text { get; set; }
 29}

Methods/Properties

get_Loading()
get_Icon()
get_Text()