< Summary

Information
Class: Elsa.Labels.Endpoints.Labels.List.Response
Assembly: Elsa.Labels
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Labels/Endpoints/Labels/List/Models.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
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_Items()100%210%
get_TotalCount()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Labels/Endpoints/Labels/List/Models.cs

#LineLine coverage
 1using Elsa.Common.Models;
 2using Elsa.Labels.Entities;
 3
 4namespace Elsa.Labels.Endpoints.Labels.List;
 5
 6public class Request
 7{
 8    public int? Page { get; set; }
 9    public int? PageSize { get; set; }
 10
 11    public PageArgs ToPageArgs() => PageArgs.FromPage(Page, PageSize);
 12}
 13
 14public class Response
 15{
 016    public ICollection<Label> Items { get; set; } = default!;
 017    public long TotalCount { get; set; }
 18}

Methods/Properties

get_Items()
get_TotalCount()