< Summary

Class:DCL.HelpAndSupportHUD.HelpAndSupportHUDController
Assembly:HelpAndSupportHUD
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/HelpAndSupportHUD/HelpAndSupportHUDController.cs
Covered lines:5
Uncovered lines:1
Coverable lines:6
Total lines:17
Line coverage:83.3% (5 of 6)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
HelpAndSupportHUDController()0%110100%
SetVisibility(...)0%110100%
Dispose()0%220100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/HelpAndSupportHUD/HelpAndSupportHUDController.cs

#LineLine coverage
 1namespace DCL.HelpAndSupportHUD
 2{
 3    public class HelpAndSupportHUDController : IHUD
 4    {
 05        public HelpAndSupportHUDView view { private set; get; }
 6
 127        public HelpAndSupportHUDController() { view = HelpAndSupportHUDView.Create(); }
 8
 69        public void SetVisibility(bool visible) { view.SetVisibility(visible); }
 10
 11        public void Dispose()
 12        {
 413            if (view != null)
 414                UnityEngine.Object.Destroy(view.gameObject);
 415        }
 16    }
 17}