< Summary - ReFlex - Library

Information
Class: ReFlex.Core.Interactivity.Components.NoInteractionObserver
Assembly: ReFlex.Core.Interactivity
File(s): D:\a\reflex\reflex\library\src\Core\Interactivity\Components\NoInteractionObserver.cs
Line coverage
37%
Covered lines: 3
Uncovered lines: 5
Coverable lines: 8
Total lines: 26
Line coverage: 37.5%
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%210%
get_PointCloud()100%210%
get_VectorField()100%210%
Analyze(...)100%210%
CheckInitialState()100%11100%

File(s)

D:\a\reflex\reflex\library\src\Core\Interactivity\Components\NoInteractionObserver.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Threading.Tasks;
 4using ReFlex.Core.Common.Components;
 5using ReFlex.Core.Common.Util;
 6
 7namespace ReFlex.Core.Interactivity.Components
 8{
 9    public class NoInteractionObserver : InteractionObserverBase
 10    {
 011        public override ObserverType Type => ObserverType.None;
 12
 013        public override PointCloud3 PointCloud { get; set; }
 014        public override VectorField2 VectorField { get; set; }
 15
 16        protected override Task<Tuple<IEnumerable<Interaction>, ProcessPerformance>> Analyze(ProcessPerformance performa
 017        {
 018          throw new NotImplementedException($"{GetType().FullName} should NEVER try to {nameof(Analyze)} anything.");
 19        }
 20
 21        protected override Task<ProcessingResult> CheckInitialState()
 222        {
 223          return Task.FromResult(new ProcessingResult());
 224        }
 25    }
 26}