< Summary

Information
Class: Syki.Front.Features.Student.GetStudentInsights.StudentInsightCard
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Features/Student/GetStudentInsights/StudentInsightCard.razor
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 35
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_Title()100%210%
get_Text()100%210%
get_Icon()100%210%

File(s)

/home/runner/work/syki/syki/Front/Features/Student/GetStudentInsights/StudentInsightCard.razor

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