< Summary

Information
Class: Elsa.Identity.Endpoints.Users.Create.Request
Assembly: Elsa.Identity
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Identity/Endpoints/Users/Create/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 18
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
get_Name()100%210%
get_Password()100%210%
get_Roles()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Identity/Endpoints/Users/Create/Models.cs

#LineLine coverage
 1namespace Elsa.Identity.Endpoints.Users.Create;
 2
 3internal class Request
 4{
 05    public string Name { get; set; } = null!;
 06    public string? Password { get; set; }
 07    public ICollection<string>? Roles { get; set; }
 8}
 9
 10internal record Response(
 11    string Id,
 12    string Name,
 13    string Password,
 14    ICollection<string> Roles,
 15    string? TenantId,
 16    string HashedPassword,
 17    string HashedPasswordSalt
 18);