< Summary

Class:DCLPlugins.ECS6.HidePortableExperiencesUiFeatureToggle.HidePortableExperiencesUiPlugin
Assembly:ECS6Plugin.HidePortableExperiencesUiFeatureToggle
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS6/HidePortableExperiencesUiFeatureToggle/HidePortableExperiencesUiPlugin.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:22
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:2
Method coverage:0% (0 of 2)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
HidePortableExperiencesUiPlugin()0%2100%
Dispose()0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ECS6/HidePortableExperiencesUiFeatureToggle/HidePortableExperiencesUiPlugin.cs

#LineLine coverage
 1using DCL;
 2
 3namespace DCLPlugins.ECS6.HidePortableExperiencesUiFeatureToggle
 4{
 5    public class HidePortableExperiencesUiPlugin : IPlugin
 6    {
 7        private readonly HidePortableExperiencesUiController controller;
 8
 09        public HidePortableExperiencesUiPlugin()
 10        {
 011            controller = new HidePortableExperiencesUiController(
 12                Environment.i.world.state,
 13                DataStore.i.HUDs.isSceneUiEnabled,
 14                DataStore.i.world.portableExperienceIds);
 015        }
 16
 17        public void Dispose()
 18        {
 019            controller.Dispose();
 020        }
 21    }
 22}