< Summary - Syki

Information
Class: Syki.Front.Features.Adm.ReprocessCommand.ReprocessCommandClient
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Features/Adm/ReprocessCommand/ReprocessCommandClient.cs
Tag: 4_16869239191
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
.ctor(...)100%210%
Reprocess()100%210%

File(s)

/home/runner/work/syki/syki/Front/Features/Adm/ReprocessCommand/ReprocessCommandClient.cs

#LineLine coverage
 1namespace Syki.Front.Features.Adm.ReprocessCommand;
 2
 03public class ReprocessCommandClient(HttpClient http) : IAdmClient
 4{
 5    public async Task<OneOf<SuccessOut, ErrorOut>> Reprocess(Guid id)
 6    {
 07        var response = await http.PostAsJsonAsync($"/adm/commands/{id}/reprocess", new {});
 8
 09        return await response.Resolve<SuccessOut>();
 010    }
 11}