< Summary

Information
Class: Syki.Back.Settings.DatabaseSettings
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Settings/DatabaseSettings.cs
Tag: 22_11348620282
Line coverage
80%
Covered lines: 4
Uncovered lines: 1
Coverable lines: 5
Total lines: 13
Line coverage: 80%
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_ConnectionString()100%11100%
.ctor()100%210%
.ctor(...)100%11100%

File(s)

/home/runner/work/syki/syki/Back/Settings/DatabaseSettings.cs

#LineLine coverage
 1namespace Syki.Back.Settings;
 2
 3public class DatabaseSettings
 4{
 75275    public string ConnectionString { get; set; }
 6
 07    public DatabaseSettings() { }
 8
 8009    public DatabaseSettings(IConfiguration configuration)
 10    {
 80011        configuration.GetSection("Database").Bind(this);
 80012    }
 13}