< Summary

Information
Class: Syki.Back.Features.Cross.SetupFeatureFlags.FeatureFlags
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Adm/SetupFeatureFlags/FeatureFlags.cs
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 16
Coverable lines: 16
Total lines: 28
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_Id()100%210%
get_Settings()100%210%
.ctor()100%210%
.ctor(...)100%210%
ToOut()100%210%

File(s)

/home/runner/work/syki/syki/Back/Features/Adm/SetupFeatureFlags/FeatureFlags.cs

#LineLine coverage
 1namespace Syki.Back.Features.Cross.SetupFeatureFlags;
 2
 3public class FeatureFlags
 4{
 05    public Guid Id { get; set; }
 06    public FeaturesSettings Settings { get; set; }
 7
 08    public FeatureFlags() {}
 9
 010    public FeatureFlags(SetupFeatureFlagsIn data)
 11    {
 012        Id = Guid.Empty;
 013        Settings = new()
 014        {
 015            SkipUserRegister = data.SkipUserRegister,
 016            CrossLogin = data.CrossLogin,
 017        };
 018    }
 19
 20    public GetFeatureFlagsOut ToOut()
 21    {
 022        return new()
 023        {
 024            SkipUserRegister = Settings.SkipUserRegister,
 025            CrossLogin = Settings.CrossLogin,
 026        };
 27    }
 28}