< Summary - ReFlex - Library

Information
Class: ReFlex.Server.Data.Config.CameraConfiguration
Assembly: ReFlex.Server.Data
File(s): D:\a\reflex\reflex\library\src\Server\Data\Config\CameraConfiguration.cs
Line coverage
27%
Covered lines: 3
Uncovered lines: 8
Coverable lines: 11
Total lines: 23
Line coverage: 27.2%
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_Width()100%11100%
get_Height()100%11100%
get_Framerate()100%11100%
GetCameraDefinitionString()100%210%
GetCameraDescription()100%210%

File(s)

D:\a\reflex\reflex\library\src\Server\Data\Config\CameraConfiguration.cs

#LineLine coverage
 1namespace ReFlex.Server.Data.Config
 2{
 3    public class CameraConfiguration
 4    {
 245        public int Width { get; set; }
 6
 247        public int Height { get; set; }
 8
 249        public int Framerate { get; set; }
 10
 11        public string GetCameraDefinitionString()
 012        {
 013            var result = $"{Width} x {Height} x {Framerate}fps{Environment.NewLine}";
 014            return result;
 015        }
 16
 17        public string GetCameraDescription()
 018        {
 019            var result = $"{Width} x {Height} x {Framerate}";
 020            return result;
 021        }
 22    }
 23}