< Summary

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

Metrics

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

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) =>
 29            (PAGE_SIZE_PARAM_NAME, size.ToString());
 10
 11        public static (string, string) GetPageNumParam(int pageNum) =>
 212            (PAGE_NUM_PARAM_NAME, pageNum.ToString());
 13    }
 14}