< Summary

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

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DataStore/DebugConfig.cs

#LineLine coverage
 1using UnityEngine;
 2using UnityEngine.Serialization;
 3
 4namespace DCL
 5{
 6    [System.Serializable]
 7    public class DebugConfig
 8    {
 9        /// <summary>
 10        /// If enabled, filters all scene messages that are not soloSceneCoords
 11        /// </summary>
 12        public bool soloScene;
 13
 14        /// <summary>
 15        /// Used in conjunction with soloScene
 16        /// </summary>
 17        public Vector2Int soloSceneCoords;
 18
 19        /// <summary>
 20        /// Enabled when SetDebug() is sent by kernel. Usually coupled with the DEBUG_MODE url param.
 21        /// </summary>
 22        [System.NonSerialized]
 69223        public BaseVariable<bool> isDebugMode = new BaseVariable<bool>();
 24
 25        [System.NonSerialized]
 69226        public BaseVariable<bool> isFPSPanelVisible = new BaseVariable<bool>();
 27
 28        [System.NonSerialized]
 69229        public BaseDictionary<string, bool> showSceneBoundingBoxes = new BaseDictionary<string, bool>();
 30
 31        [System.NonSerialized]
 69232        public  BaseVariable<bool> isPreviewMenuActive = new BaseVariable<bool>();
 33
 34        /// <summary>
 35        /// True when WSS message pipeline is enabled
 36        /// </summary>
 37        [System.NonSerialized]
 38        public bool isWssDebugMode;
 39
 40        /// <summary>
 41        /// Do not send global scenes messages (i.e. avatars)
 42        /// </summary>
 43        public bool ignoreGlobalScenes = false;
 44
 45        /// <summary>
 46        /// do Debug.Break() and log when processing each message
 47        /// </summary>
 48        public bool msgStepByStep = false;
 49    }
 50}

Methods/Properties

DebugConfig()