< Summary

Information
Class: Program
Assembly: Pomodoro.Web
File(s): /home/runner/work/Pomodoro/Pomodoro/src/Pomodoro.Web/Program.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 15
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
<Main>$()100%210%

File(s)

/home/runner/work/Pomodoro/Pomodoro/src/Pomodoro.Web/Program.cs

#LineLine coverage
 1using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
 2using Pomodoro.Web;
 3using Pomodoro.Web.Services;
 4
 05var builder = WebAssemblyHostBuilder.CreateDefault(args);
 6
 7// Register application startup service
 08builder.Services.AddScoped<IApplicationStartupService, ApplicationStartupService>();
 9
 10// Configure host builder without early service provider build
 011var startupService = new ApplicationStartupService(null);
 012startupService.ConfigureHostBuilder(builder);
 13
 14// Initialize and run host
 015await startupService.InitializeAndRunHostAsync(builder);

Methods/Properties

<Main>$()