< Summary

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

Metrics

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

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;
 100510        public IMessagingControllersManager manager => serviceLocator.Get<IMessagingControllersManager>();
 11
 012        public MessagingContext (ServiceLocator serviceLocator)
 13        {
 014            this.serviceLocator = serviceLocator;
 015        }
 16    }
 17}