< Summary

Information
Class: Despesas.GlobalException.CommonDependenceInject.GlobalExceptionMiddlewareExtensions
Assembly: Despesas.GlobalException
File(s): /src/Despesas.GlobalException/CommonDependenceInject/GlobalExceptionMiddlewareExtensions.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 11
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
UseGlobalExceptionHandler(...)100%210%

File(s)

/src/Despesas.GlobalException/CommonDependenceInject/GlobalExceptionMiddlewareExtensions.cs

#LineLine coverage
 1using Microsoft.AspNetCore.Builder;
 2
 3namespace Despesas.GlobalException.CommonDependenceInject;
 4
 5public static class GlobalExceptionMiddlewareExtensions
 6{
 7    public static IApplicationBuilder UseGlobalExceptionHandler(this IApplicationBuilder builder)
 08    {
 09        return builder.UseMiddleware<GlobalExceptionMiddleware>();
 010    }
 11}