< Summary

Information
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
Total lines: 14
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/needlr/needlr/src/Examples/MultiProjectApp/MultiProjectApp.WorkerApp/Program.cs

#LineLine coverage
 1using NexusLabs.Needlr.Hosting;
 2using NexusLabs.Needlr.Injection;
 3using NexusLabs.Needlr.Injection.SourceGen;
 4
 5// All plugins from Bootstrap and feature projects are discovered via the source-generated
 6// TypeRegistry. NotificationWorker (a BackgroundService) is auto-discovered and registered
 7// as a hosted service by Needlr from the WorkerApp assembly's TypeRegistry.
 08var host = new Syringe()
 09    .UsingSourceGen()
 010    .ForHost()
 011    .UsingOptions(() => CreateHostOptions.Default.UsingArgs(args))
 012    .BuildHost();
 13
 014await host.RunAsync();

Methods/Properties

<Main>$()