< Summary

Information
Class: Syki.Back.Startup
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Startup.cs
Tag: 22_11348620282
Line coverage
100%
Covered lines: 26
Uncovered lines: 0
Coverable lines: 26
Total lines: 44
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
.ctor()100%11100%
ConfigureServices(...)100%11100%
Configure(...)100%11100%

File(s)

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

#LineLine coverage
 1namespace Syki.Back;
 2
 13public class Startup()
 4{
 5    public void ConfigureServices(IServiceCollection services)
 6    {
 17        services.AddSettingsConfigs();
 18        services.AddServicesConfigs();
 9
 110        services.AddIdentityConfigs();
 111        services.AddAuthenticationConfigs();
 112        services.AddAuthorizationConfigs();
 13
 114        services.AddHttpConfigs();
 115        services.AddRateLimiterConfigs();
 16
 117        services.AddAuditConfigs();
 118        services.AddDapperConfigs();
 119        services.AddEfCoreConfigs();
 20
 121        services.AddDocsConfigs();
 122        services.AddCorsConfigs();
 123    }
 24
 25    public static void Configure(IApplicationBuilder app)
 26    {
 127        app.UseLogs();
 28
 129        app.UseCors();
 30
 131        app.UseRouting();
 132        app.UseRateLimiter();
 133        app.UseExceptions();
 134        app.UseCustomHeaders();
 35
 136        app.UseAuthentication();
 137        app.UseAuthorization();
 38
 139        app.UseAudit();
 140        app.UseDocs();
 41
 142        app.UseControllers();
 143    }
 44}