< Summary

Information
Class: Syki.Front.Features.Adm.GetFeatureFlags.GetFeatureFlagsClient
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Features/Adm/GetFeatureFlags/GetFeatureFlagsClient.cs
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 9
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
.ctor(...)100%210%
Get()0%620%

File(s)

/home/runner/work/syki/syki/Front/Features/Adm/GetFeatureFlags/GetFeatureFlagsClient.cs

#LineLine coverage
 1namespace Syki.Front.Features.Adm.GetFeatureFlags;
 2
 03public class GetFeatureFlagsClient(HttpClient http) : IAdmClient
 4{
 5    public async Task<GetFeatureFlagsOut> Get()
 6    {
 07        return await http.GetFromJsonAsync<GetFeatureFlagsOut>("/adm/feature-flags") ?? new();
 08    }
 9}