< Summary

Class:DCLServices.MapRendererV2.ComponentsFactory.MapRendererComponents
Assembly:MapRendererV2
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLServices/MapRendererV2/ComponentsFactory/MapRendererComponents.cs
Covered lines:6
Uncovered lines:0
Coverable lines:6
Total lines:27
Line coverage:100% (6 of 6)
Covered branches:0
Total branches:0
Covered methods:1
Total methods:1
Method coverage:100% (1 of 1)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
MapRendererComponents(...)0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLServices/MapRendererV2/ComponentsFactory/MapRendererComponents.cs

#LineLine coverage
 1using DCLServices.MapRendererV2.Culling;
 2using DCLServices.MapRendererV2.MapCameraController;
 3using DCLServices.MapRendererV2.MapLayers;
 4using System.Collections.Generic;
 5using UnityEngine.Pool;
 6
 7namespace DCLServices.MapRendererV2.ComponentsFactory
 8{
 9    internal readonly struct MapRendererComponents
 10    {
 11        public readonly MapRendererConfiguration ConfigurationInstance;
 12        public readonly IReadOnlyDictionary<MapLayer, IMapLayerController> Layers;
 13        public readonly IReadOnlyList<IZoomScalingLayer> ZoomScalingLayers;
 14        public readonly IMapCullingController CullingController;
 15        public readonly IObjectPool<IMapCameraControllerInternal> MapCameraControllers;
 16
 17        public MapRendererComponents(MapRendererConfiguration configurationInstance, IReadOnlyDictionary<MapLayer, IMapL
 18            IReadOnlyList<IZoomScalingLayer> zoomScalingLayers, IMapCullingController cullingController, IObjectPool<IMa
 19        {
 8820            ConfigurationInstance = configurationInstance;
 8821            Layers = layers;
 8822            CullingController = cullingController;
 8823            MapCameraControllers = mapCameraControllers;
 8824            ZoomScalingLayers = zoomScalingLayers;
 8825        }
 26    }
 27}