< Summary - ReFlex - Library

Information
Class: ReFlex.Core.Common.Components.ExtremumDescription
Assembly: ReFlex.Core.Common
File(s): D:\a\reflex\reflex\library\src\Core\Common\Components\ExtremumDescription.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 29
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_Type()100%11100%
get_NumFittingPoints()100%11100%
get_PercentageFittingPoints()100%11100%

File(s)

D:\a\reflex\reflex\library\src\Core\Common\Components\ExtremumDescription.cs

#LineLine coverage
 1using ReFlex.Core.Common.Util;
 2
 3namespace ReFlex.Core.Common.Components
 4{
 5    /// <summary>
 6    /// describes the type of the extremum for an <see cref="Interaction"/>
 7    /// contains the  <see cref="ExtremumType"/> and the percentage of neighbor points that are
 8    /// closer to the surface / farther away and thus serve as discriminator for the associated type
 9    /// </summary>
 10    public class ExtremumDescription
 11    {
 12        /// <summary>
 13        /// Describing the type of the extremum. Relative to the surface, that means, a maximum is surrounded by points 
 14        /// </summary>
 373115        public ExtremumType Type { get; set; }
 16
 17        /// <summary>
 18        /// The type of the Extremum is computed by checking the Z-position of neighboring points. This value describes,
 19        /// how many points are in the correct depth range (closer to the surface for a maximum, farther away for a mini
 20        /// </summary>
 373121        public int NumFittingPoints { get; set; }
 22
 23        /// <summary>
 24        /// The type of the Extremum is computed by checking the Z-position of neighboring points. This value describes
 25        /// the percentage of points that are in the correct depth range (closer to the surface for a maximum, farther a
 26        /// </summary>
 373127        public float PercentageFittingPoints { get; set; }
 28    }
 29}