< Summary

Class:DCLServices.CameraReelService.CameraReelStorageStatus
Assembly:CameraReelNetworkService
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLServices/CameraReelService/CameraReelStorageStatus.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:17
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:1
Method coverage:0% (0 of 1)

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLServices/CameraReelService/CameraReelStorageStatus.cs

#LineLine coverage
 1namespace DCLServices.CameraReelService
 2{
 3    public readonly struct CameraReelStorageStatus
 4    {
 5        public readonly int CurrentScreenshots;
 6        public readonly int MaxScreenshots;
 7        public readonly bool HasFreeSpace;
 8
 9        public CameraReelStorageStatus(int currentScreenshots, int maxScreenshots)
 10        {
 011            this.CurrentScreenshots = currentScreenshots;
 012            MaxScreenshots = maxScreenshots;
 13
 014            HasFreeSpace = CurrentScreenshots < MaxScreenshots;
 015        }
 16    }
 17}