< Summary - ReFlex - Library

Information
Class: ReFlex.Server.Data.Config.PredictionSettings
Assembly: ReFlex.Server.Data
File(s): D:\a\reflex\reflex\library\src\Server\Data\Config\PredictionSettings.cs
Line coverage
100%
Covered lines: 5
Uncovered lines: 0
Coverable lines: 5
Total lines: 12
Line coverage: 100%
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_PredictionHorizonSeconds()100%11100%
get_UseVelocityPrediction()100%11100%
get_NumFramesForPrediction()100%11100%
get_UseSecondDerivation()100%11100%
get_SecondDerivationMagnitude()100%11100%

File(s)

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

#LineLine coverage
 1namespace ReFlex.Server.Data.Config;
 2
 3/// <summary>Motion uses raster units per second on a monotonic observation-time axis.</summary>
 4public class PredictionSettings
 5{
 646    public double PredictionHorizonSeconds { get; set; } = .05;
 647    public bool UseVelocityPrediction { get; set; } = true;
 8    /// <summary>Requested capacity, preserved even when history currently permits fewer samples.</summary>
 649    public int NumFramesForPrediction { get; set; } = 3;
 2410    public bool UseSecondDerivation { get; set; }
 6411    public float SecondDerivationMagnitude { get; set; } = .5f;
 12}