< Summary

Class:DCLServices.Lambdas.LambdaPaginatedResponseHelper
Assembly:LambdasService
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLServices/Lambdas/LambdaPaginatedResponseHelper.cs
Covered lines:0
Uncovered lines:2
Coverable lines:2
Total lines:14
Line coverage:0% (0 of 2)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
GetPageSizeParam(...)0%2100%
GetPageNumParam(...)0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLServices/Lambdas/LambdaPaginatedResponseHelper.cs

#LineLine coverage
 1namespace DCLServices.Lambdas
 2{
 3    public static class LambdaPaginatedResponseHelper
 4    {
 5        private const string PAGE_SIZE_PARAM_NAME = "pageSize";
 6        private const string PAGE_NUM_PARAM_NAME = "pageNum";
 7
 8        public static (string, string) GetPageSizeParam(int size) =>
 09            (PAGE_SIZE_PARAM_NAME, size.ToString());
 10
 11        public static (string, string) GetPageNumParam(int pageNum) =>
 012            (PAGE_NUM_PARAM_NAME, pageNum.ToString());
 13    }
 14}