< Summary

Information
Class: Syki.Front.Features.Adm.GetFeatureFlags.FeatureFlagCard
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Features/Adm/GetFeatureFlags/FeatureFlagCard.razor
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 33
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_Loading()100%210%
get_Value()100%210%
get_ValueChanged()100%210%
get_Text()100%210%

File(s)

/home/runner/work/syki/syki/Front/Features/Adm/GetFeatureFlags/FeatureFlagCard.razor

#LineLine coverage
 1@namespace Syki.Front.Features.Adm.GetFeatureFlags
 2
 3<MudItem xs="12">
 4    <MudPaper Class="d-flex mud-width-full py-2">
 5        <MudStack Row="true" Class="px-4" Spacing="1" AlignItems="AlignItems.Center">
 6            <MudCheckBox
 7                T="bool"
 8                Dense="true"
 9                Disabled="@Loading"
 10                Size="Size.Medium"
 11                Color="Color.Success"
 12                Value="@Value"
 13                ValueChanged="@ValueChanged"
 14            />
 15            <MudText Typo="Typo.body1">@Text</MudText>
 16        </MudStack>
 17    </MudPaper>
 18</MudItem>
 19
 20@code
 21{
 22    [Parameter]
 023    public bool Loading { get; set; }
 24
 25    [Parameter]
 026    public bool Value { get; set; }
 27
 28    [Parameter]
 029    public EventCallback<bool> ValueChanged { get; set; }
 30
 31    [Parameter]
 032    public string Text { get; set; }
 33}