< Summary

Class:DCL.MessagingContext
Assembly:Environment
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Environment/MessagingContext.cs
Covered lines:4
Uncovered lines:0
Coverable lines:4
Total lines:17
Line coverage:100% (4 of 4)
Covered branches:0
Total branches:0

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Environment/MessagingContext.cs

#LineLine coverage
 1namespace DCL
 2{
 3    /// <summary>
 4    /// Context related to enqueueing and processing of world runtime scene messages.
 5    /// </summary>
 6    [System.Obsolete("This is kept for retrocompatibilty and will be removed in the future. Use Environment.i.serviceLoc
 7    public class MessagingContext
 8    {
 9        private ServiceLocator serviceLocator;
 169510        public IMessagingControllersManager manager => serviceLocator.Get<IMessagingControllersManager>();
 11
 71512        public MessagingContext (ServiceLocator serviceLocator)
 13        {
 71514            this.serviceLocator = serviceLocator;
 71515        }
 16    }
 17}