< Summary

Class:DCL.ExperiencesViewer.ExperiencesViewerPlugin
Assembly:ExperiencesViewer
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ExperiencesViewer/Scripts/ExperiencesViewerPlugin.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:21
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
ExperiencesViewerPlugin()0%2100%
Dispose()0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/ExperiencesViewer/Scripts/ExperiencesViewerPlugin.cs

#LineLine coverage
 1namespace DCL.ExperiencesViewer
 2{
 3    /// <summary>
 4    /// Plugin feature that initialize the Experiences Viewer feature.
 5    /// </summary>
 6    public class ExperiencesViewerPlugin : IPlugin
 7    {
 8        private readonly ExperiencesViewerController controller;
 9
 010        public ExperiencesViewerPlugin()
 11        {
 012            controller = new ExperiencesViewerController(ExperiencesViewerComponentView.Create(),
 13                DataStore.i, Environment.i.world.state, new WebInterfacePortableExperiencesBridge());
 014        }
 15
 16        public void Dispose()
 17        {
 018            controller.Dispose();
 019        }
 20    }
 21}