< Summary

Information
Class: Server.Commands.CreateUserCommand
Assembly: Server
File(s): /home/runner/work/NGql/NGql/src/Server/Commands/CreateUserCommand.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 11
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
.ctor(...)100%11100%
get_Name()100%11100%

File(s)

/home/runner/work/NGql/NGql/src/Server/Commands/CreateUserCommand.cs

#LineLine coverage
 1using MediatR;
 2using Server.Data.Entities;
 3
 4namespace Server.Commands;
 5
 6public class CreateUserCommand : IRequest<User>
 7{
 128    public CreateUserCommand(string name) => Name = name;
 9
 610    public string Name { get; }
 11}

Methods/Properties

.ctor(System.String)
get_Name()