< Summary - Syki

Information
Class: Syki.Back.Configs.DapperConfigs
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Configs/DapperConfigs.cs
Tag: 56_26538939494
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 15
Line coverage: 100%
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
AddDapperConfigs(...)100%11100%

File(s)

/home/runner/work/syki/syki/Back/Configs/DapperConfigs.cs

#LineLine coverage
 1using Dapper;
 2using Syki.Back.Database.Mappers;
 3
 4namespace Syki.Back.Configs;
 5
 6public static class DapperConfigs
 7{
 8    public static void AddDapperConfigs(this WebApplicationBuilder _)
 9    {
 210        DefaultTypeMap.MatchNamesWithUnderscores = true;
 11
 212        SqlMapper.AddTypeHandler(new IntListTypeHandler());
 213        SqlMapper.AddTypeHandler(new StringListTypeHandler());
 214    }
 15}