< Summary

Information
Class: Program
Assembly: Utility
File(s): /home/runner/work/Utility-Blazor/Utility-Blazor/src/Utility/Program.cs
Tag: 231_14069517506
Line coverage
0%
Covered lines: 0
Uncovered lines: 8
Coverable lines: 8
Total lines: 19
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/Utility-Blazor/Utility-Blazor/src/Utility/Program.cs

#LineLine coverage
 1using Microsoft.AspNetCore.Components.Web;
 2using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
 3using Microsoft.FluentUI.AspNetCore.Components;
 4
 5using Blazored.LocalStorage;
 6
 7using Utility;
 8using Utility.Infrastructure;
 9
 010var builder = WebAssemblyHostBuilder.CreateDefault(args);
 011builder.RootComponents.Add<App>("#app");
 012builder.RootComponents.Add<HeadOutlet>("head::after");
 13
 014builder.Services.AddFluentUIComponents();
 015builder.Services.AddScoped<CacheStorageAccessor>();
 016builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
 017builder.Services.AddBlazoredLocalStorage();
 18
 019await builder.Build().RunAsync();

Methods/Properties

<Main>$()