< Summary

Information
Class: Syki.Back.Features.Cross.FinishUserRegister.FinishUserRegisterErrorsExamples
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Cross/FinishUserRegister/FinishUserRegisterErrorsExamples.cs
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
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
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Back/Features/Cross/FinishUserRegister/FinishUserRegisterErrorsExamples.cs

#LineLine coverage
 1namespace Syki.Back.Features.Cross.FinishUserRegister;
 2
 3public class FinishUserRegisterErrorsExamples : IMultipleExamplesProvider<ErrorOut>
 4{
 5    public IEnumerable<SwaggerExample<ErrorOut>> GetExamples()
 6    {
 07        yield return new WeakPassword().ToSwaggerExampleErrorOut();
 08        yield return new InvalidRegistrationToken().ToSwaggerExampleErrorOut();
 09        yield return new UserAlreadyRegistered().ToSwaggerExampleErrorOut();
 010    }
 11}

Methods/Properties

GetExamples()