< Summary

Class:ExploreV2Feature
Assembly:ExploreV2
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ExploreV2/Scripts/ExploreV2Feature.cs
Covered lines:0
Uncovered lines:7
Coverable lines:7
Total lines:28
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
ExploreV2Feature()0%2100%
CreateController()0%2100%
Dispose()0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/ExploreV2/Scripts/ExploreV2Feature.cs

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