< Summary

Class:DCL.ExperiencesViewer.ExperiencesViewerFeature
Assembly:ExperiencesViewer
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ExperiencesViewer/Scripts/ExperiencesViewerFeature.cs
Covered lines:0
Uncovered lines:7
Coverable lines:7
Total lines:23
Line coverage:0% (0 of 7)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ExperiencesViewer/Scripts/ExperiencesViewerFeature.cs

#LineLine coverage
 1namespace DCL.ExperiencesViewer
 2{
 3    /// <summary>
 4    /// Plugin feature that initialize the Experiences Viewer feature.
 5    /// </summary>
 6    public class ExperiencesViewerFeature : IPlugin
 7    {
 8        public IExperiencesViewerComponentController experiencesViewerComponentController;
 9
 010        public ExperiencesViewerFeature()
 11        {
 012            experiencesViewerComponentController = CreateController();
 013            experiencesViewerComponentController.Initialize(Environment.i.world.sceneController);
 014        }
 15
 016        internal virtual IExperiencesViewerComponentController CreateController() => new ExperiencesViewerComponentContr
 17
 18        public void Dispose()
 19        {
 020            experiencesViewerComponentController.Dispose();
 021        }
 22    }
 23}