< Summary

Information
Class: Syki.Back.Errors.SykiError
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Errors/SykiError.cs
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
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
ToSwaggerExampleErrorOut()100%210%

File(s)

/home/runner/work/syki/syki/Back/Errors/SykiError.cs

#LineLine coverage
 1namespace Syki.Back.Errors;
 2
 3public class SykiSuccess { }
 4
 5public abstract class SykiError
 6{
 7    public abstract string Code { get; set; }
 8    public abstract string Message { get; set; }
 9
 10    public SwaggerExample<ErrorOut> ToSwaggerExampleErrorOut()
 11    {
 012        return SwaggerExample.Create(Message, new ErrorOut { Message = Message });
 13    }
 14}

Methods/Properties

ToSwaggerExampleErrorOut()