< Summary - ReFlex - Library

Information
Class: ReFlex.Server.Data.Config.PointCloudSettings
Assembly: ReFlex.Server.Data
File(s): D:\a\reflex\reflex\library\src\Server\Data\Config\PointCloudSettings.cs
Line coverage
30%
Covered lines: 3
Uncovered lines: 7
Coverable lines: 10
Total lines: 19
Line coverage: 30%
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_FullResolution()100%11100%
get_UpdateInterval()100%11100%
get_PointCloudSize()100%11100%
GetPointCloudSettingsString()100%210%

File(s)

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

#LineLine coverage
 1namespace ReFlex.Server.Data.Config;
 2
 3public class PointCloudSettings
 4{
 645  public bool FullResolution { get; set; } = false;
 6
 647  public int UpdateInterval { get; set; } = 100;
 8
 649  public int PointCloudSize { get; set; } = 40000;
 10
 11  public string GetPointCloudSettingsString()
 012  {
 013    var result = $"=====  {nameof(PointCloudSettings)}  ====={Environment.NewLine}";
 014    result += $"  {nameof(FullResolution)}: {FullResolution}{Environment.NewLine}";
 015    result += $"  {nameof(UpdateInterval)}: {UpdateInterval}ms{Environment.NewLine}";
 016    result += $"  {nameof(PointCloudSize)}: {PointCloudSize}{Environment.NewLine}";
 017    return result;
 018  }
 19}