< Summary

Information
Class: Services.ApiServices.AvdApi.AvdApiException
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/AvdApi/AvdApiException.cs
Line coverage
50%
Covered lines: 1
Uncovered lines: 1
Coverable lines: 2
Total lines: 8
Line coverage: 50%
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
get_StatusCode()100%210%
.ctor(...)100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/AvdApi/AvdApiException.cs

#LineLine coverage
 1namespace Services.ApiServices.AvdApi;
 2
 3public sealed class AvdApiException : Exception
 4{
 05    public int? StatusCode { get; }
 6    public AvdApiException(string message, int? statusCode = null, Exception? innerException = null)
 227        : base(message, innerException) => StatusCode = statusCode;
 8}