< Summary

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

Metrics

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

File(s)

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

#LineLine coverage
 1using DCL.Tutorial;
 2using DCL.Skybox;
 3
 4namespace DCL
 5{
 6    public static class PluginSystemFactory
 7    {
 8        public static PluginSystem Create()
 9        {
 010            var pluginSystem = new PluginSystem();
 11
 012            pluginSystem.Register(() => new DebugPluginFeature());
 013            pluginSystem.Register(() => new ShortcutsFeature());
 014            pluginSystem.Register(() => new ExploreV2Feature());
 015            pluginSystem.Register(() => new DebugShapesBoundingBoxDisplayer());
 016            pluginSystem.Register(() => new TransactionFeature());
 017            pluginSystem.Register(() => new PreviewMenuPlugin());
 018            pluginSystem.Register(() => new SkyboxController());
 019            pluginSystem.RegisterWithFlag(() => new BuilderInWorldPlugin(), "builder_in_world");
 020            pluginSystem.RegisterWithFlag(() => new TutorialController(), "tutorial");
 021            pluginSystem.RegisterWithFlag(() => new PlacesAndEventsFeature(), "explorev2");
 22
 023            pluginSystem.SetFeatureFlagsData(DataStore.i.featureFlags.flags);
 24
 025            return pluginSystem;
 26        }
 27    }
 28}

Methods/Properties

Create()