< Summary

Class:DCLPlugins.LoadingScreenPlugin.LoadingScreenPlugin
Assembly:DCLPlugins.LoadingScreenPlugin
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/LoadingScreenPlugin/LoadingScreenPlugin.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:24
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/LoadingScreenPlugin/LoadingScreenPlugin.cs

#LineLine coverage
 1using DCL;
 2using DCL.LoadingScreen;
 3
 4namespace DCLPlugins.LoadingScreenPlugin
 5{
 6    /// <summary>
 7    /// Plugin controller for the decoupled Loading Screen
 8    /// </summary>
 9    public class LoadingScreenPlugin : IPlugin
 10    {
 11        private readonly LoadingScreenController loadingScreenController;
 12        private readonly DataStoreRef<DataStore_LoadingScreen> dataStoreLoadingScreen;
 13
 014        public LoadingScreenPlugin()
 15        {
 016            dataStoreLoadingScreen.Ref.decoupledLoadingHUD.visible.Set(true);
 017            loadingScreenController = new LoadingScreenController(LoadingScreenView.Create(), Environment.i.world.sceneC
 18                DataStore.i.common, dataStoreLoadingScreen.Ref, DataStore.i.realm);
 019        }
 20
 21        public void Dispose() =>
 022            loadingScreenController.Dispose();
 23    }
 24}

Methods/Properties

LoadingScreenPlugin()
Dispose()