< Summary - Syki

Information
Class: Syki.Back.Errors.SykiSuccess
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Errors/SykiError.cs
Tag: 97_27801654829
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 19
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
.cctor()100%11100%

File(s)

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

#LineLine coverage
 1namespace Syki.Back.Errors;
 2
 3public abstract class SykiError
 4{
 5    public abstract string Code { get; set; }
 6    public abstract string Message { get; set; }
 7
 8    public override string ToString() => $"{Code}: {Message}";
 9
 10    public SwaggerExample<ErrorOut> ToSwaggerExampleErrorOut()
 11    {
 12        return SwaggerExample.Create(Message, new ErrorOut { Code = Code, Message = Message });
 13    }
 14}
 15
 16public class SykiSuccess
 17{
 218    public static readonly SykiSuccess I = new();
 19}

Methods/Properties

.cctor()