< Summary

Class:ExploreV2FeatureDesktop
Assembly:ExploreV2Desktop
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Desktop/Scripts/MainScripts/DCL/Controllers/HUD/ExploreV2/ExploreV2FeatureDesktop.cs
Covered lines:0
Uncovered lines:7
Coverable lines:7
Total lines:27
Line coverage:0% (0 of 7)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:3
Method coverage:0% (0 of 3)

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Desktop/Scripts/MainScripts/DCL/Controllers/HUD/ExploreV2/ExploreV2FeatureDesktop.cs

#LineLine coverage
 1using DCL;
 2using DCLServices.PlacesAPIService;
 3using DCLServices.WorldsAPIService;
 4
 5/// <summary>
 6/// Plugin feature that initialize the ExploreV2 Desktop feature.
 7/// </summary>
 8public class ExploreV2FeatureDesktop : IPlugin
 9{
 10    public IExploreV2MenuComponentController exploreV2MenuComponentController;
 11
 012    public ExploreV2FeatureDesktop()
 13    {
 014        exploreV2MenuComponentController = CreateController();
 015        exploreV2MenuComponentController.Initialize();
 016    }
 17
 18    internal virtual IExploreV2MenuComponentController CreateController() =>
 019        new ExploreV2MenuComponentControllerDesktop(Environment.i.serviceLocator.Get<IPlacesAPIService>(),
 20            Environment.i.serviceLocator.Get<IWorldsAPIService>(), new PlacesAnalytics(),
 21            RealmsInfoBridge.i);
 22
 23    public void Dispose()
 24    {
 025        exploreV2MenuComponentController.Dispose();
 026    }
 27}