< Summary

Information
Class: FLP.Application.Requests.Bugs.CreateBugRequest
Assembly: FLP.Application
File(s): /home/runner/work/FLP.AzureFunctions/FLP.AzureFunctions/FLP.Application/Requests/Bugs/CreateBugRequest.cs
Line coverage
90%
Covered lines: 9
Uncovered lines: 1
Coverable lines: 10
Total lines: 18
Line coverage: 90%
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%210%
get_Title()100%11100%
get_Description()100%11100%
get_AssignedToUserId()100%11100%
.ctor(...)100%11100%

File(s)

/home/runner/work/FLP.AzureFunctions/FLP.AzureFunctions/FLP.Application/Requests/Bugs/CreateBugRequest.cs

#LineLine coverage
 1using FLP.Application.Responses.Bugs;
 2using FLP.Core.Context.Shared;
 3using MediatR;
 4
 5namespace FLP.Application.Requests.Bugs;
 6
 07public record CreateBugRequest : IRequest<BaseResponse<GetBugByIdResponse>>
 8{
 229    public string Title { get; set; }
 1910    public string Description { get; set; }
 1611    public Guid? AssignedToUserId { get; set; } // Nullable to allow for unassigned bugs
 712    public CreateBugRequest(string title, string description, Guid? assignedToUserId = null)
 713    {
 714        Title = title;
 715        Description = description;
 716        AssignedToUserId = assignedToUserId;
 717    }
 18}