< Summary

Class:DCL.PluginSystemFactory
Assembly:PluginSystem
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/PluginSystem/PluginSystemFactory.cs
Covered lines:0
Uncovered lines:17
Coverable lines:17
Total lines:34
Line coverage:0% (0 of 17)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Create()0%2401500%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/PluginSystem/PluginSystemFactory.cs

#LineLine coverage
 1using DCL.Emotes;
 2using DCL.Tutorial;
 3using DCL.Skybox;
 4using DCL.ExperiencesViewer;
 5
 6namespace DCL
 7{
 8    public static class PluginSystemFactory
 9    {
 10        public static PluginSystem Create()
 11        {
 012            var pluginSystem = new PluginSystem();
 13
 014            pluginSystem.Register(() => new DebugPluginFeature());
 015            pluginSystem.Register(() => new ShortcutsFeature());
 016            pluginSystem.Register(() => new ExploreV2Feature());
 017            pluginSystem.Register(() => new DebugShapesBoundingBoxDisplayer());
 018            pluginSystem.Register(() => new TransactionFeature());
 019            pluginSystem.Register(() => new PreviewMenuPlugin());
 020            pluginSystem.Register(() => new SkyboxController());
 021            pluginSystem.Register(() => new GotoPanelPlugin());
 022            pluginSystem.Register(() => new ExperiencesViewerFeature());
 023            pluginSystem.Register(() => new EmoteAnimationsPlugin(DataStore.i.emotes));
 024            pluginSystem.RegisterWithFlag(() => new BuilderInWorldPlugin(), "builder_in_world");
 025            pluginSystem.RegisterWithFlag(() => new TutorialController(), "tutorial");
 026            pluginSystem.RegisterWithFlag(() => new PlacesAndEventsFeature(), "explorev2");
 027            pluginSystem.RegisterWithFlag(() => new SkyboxController(), "procedural_skybox");
 28
 029            pluginSystem.SetFeatureFlagsData(DataStore.i.featureFlags.flags);
 30
 031            return pluginSystem;
 32        }
 33    }
 34}

Methods/Properties

Create()