< Summary

Class:FeatureEncapsulatorComponentView
Assembly:ExploreV2
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ExploreV2/Scripts/Sections/FeatureEncapsulatorComponentView.cs
Covered lines:1
Uncovered lines:1
Coverable lines:2
Total lines:20
Line coverage:50% (1 of 2)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
RefreshControl()0%2100%
EncapsulateFeature(...)0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ExploreV2/Scripts/Sections/FeatureEncapsulatorComponentView.cs

#LineLine coverage
 1using UnityEngine;
 2
 3public interface IFeatureEncapsulatorComponentView
 4{
 5    /// <summary>
 6    /// Encapsulates a feature HUD into the section.
 7    /// </summary>
 8    /// <param name="featureConfiguratorFlag">Flag used to configurates the feature.</param>
 9    void EncapsulateFeature(BaseVariable<Transform> featureConfiguratorFlag);
 10}
 11
 12public class FeatureEncapsulatorComponentView : BaseComponentView, IFeatureEncapsulatorComponentView
 13{
 14    [Header("Prefab References")]
 15    [SerializeField] internal Transform featureContainer;
 16
 017    public override void RefreshControl() { }
 18
 819    public void EncapsulateFeature(BaseVariable<Transform> featureConfiguratorFlag) { featureConfiguratorFlag.Set(featur
 20}