< Summary

Information
Class: Infrastructure.DependencyInjectionContainer
Assembly: Infrastructure
File(s): /home/runner/work/CleanArchitectureTemplate/CleanArchitectureTemplate/src/Infrastructure/DependencyInjectionContainer.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 15
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
AddInfrastructure(...)100%11100%

File(s)

/home/runner/work/CleanArchitectureTemplate/CleanArchitectureTemplate/src/Infrastructure/DependencyInjectionContainer.cs

#LineLine coverage
 1using System;
 2using Infrastructure.Context;
 3using Infrastructure.Service;
 4using Microsoft.EntityFrameworkCore;
 5using Microsoft.EntityFrameworkCore.Diagnostics;
 6using Microsoft.Extensions.DependencyInjection;
 7using Microsoft.Extensions.Logging;
 8
 9namespace Infrastructure;
 10
 11public static class DependencyInjectionContainer {
 112  public static IServiceCollection AddInfrastructure(this IServiceCollection services) {
 113    return services;
 114  }
 15}