< Summary - ReFlex - Library

Information
Class: ReFlex.Core.Common.Components.InteractionHistoryElement
Assembly: ReFlex.Core.Common
File(s): D:\a\reflex\reflex\library\src\Core\Common\Components\InteractionHistoryElement.cs
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
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_FrameId()100%11100%
get_Interaction()100%11100%
.ctor(...)100%11100%

File(s)

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

#LineLine coverage
 1namespace ReFlex.Core.Common.Components
 2{
 3    /// <summary>
 4    /// Data class containing a single Interaction and its associated Frame Id
 5    /// </summary>
 6    public class InteractionHistoryElement
 7    {
 8        /// <summary>
 9        /// The Id of the associated <see cref="InteractionFrame"/>
 10        /// </summary>
 14111        public int FrameId { get; }
 12
 13        /// <summary>
 14        /// The Interaction Data
 15        /// </summary>
 4916        public Interaction Interaction { get; }
 17
 18        /// <summary>
 19        /// Initializes the class with the values for FrameId and Interaction Data
 20        /// </summary>
 21        /// <param name="frameId">The Id of the associated <see cref="InteractionFrame"/></param>
 22        /// <param name="interaction">The Interaction Data</param>
 4423        public InteractionHistoryElement(int frameId, Interaction interaction)
 4424        {
 4425            FrameId = frameId;
 4426            Interaction = interaction;
 4427        }
 28    }
 29}