< Summary

Information
Class: Syki.Back.Program
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Program.cs
Tag: 22_11348620282
Line coverage
80%
Covered lines: 8
Uncovered lines: 2
Coverable lines: 10
Total lines: 19
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
Main(...)100%210%
CreateHostBuilder(...)100%11100%

File(s)

/home/runner/work/syki/syki/Back/Program.cs

#LineLine coverage
 1namespace Syki.Back;
 2
 3public static class Program
 4{
 5    public static void Main(string[] args)
 6    {
 07        CreateHostBuilder(args).Build().Run();
 08    }
 9
 10    private static IHostBuilder CreateHostBuilder(string[] args) =>
 111        Host.CreateDefaultBuilder(args)
 112            .ConfigureWebHostDefaults(webBuilder =>
 113            {
 114                webBuilder.UseStartup<Startup>();
 115            })
 116            .UseSerilog((context, config) =>
 117                config.ReadFrom.Configuration(context.Configuration)
 118            );
 19}