< Summary

Class:DCL.DebugConfig
Assembly:DataStore
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DataStore/DebugConfig.cs
Covered lines:5
Uncovered lines:0
Coverable lines:5
Total lines:53
Line coverage:100% (5 of 5)
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]
 69323        public BaseVariable<bool> isDebugMode = new BaseVariable<bool>();
 24
 25        [System.NonSerialized]
 69326        public BaseVariable<bool> isFPSPanelVisible = new BaseVariable<bool>();
 27
 28        [System.NonSerialized]
 69329        public BaseDictionary<string, bool> showSceneBoundingBoxes = new BaseDictionary<string, bool>();
 30
 31        [System.NonSerialized]
 69332        public  BaseVariable<bool> isPreviewMenuActive = new BaseVariable<bool>();
 33
 69334        public BaseVariable<string> versions = new BaseVariable<string>();
 35
 36        /// <summary>
 37        /// True when WSS message pipeline is enabled
 38        /// </summary>
 39        [System.NonSerialized]
 40        public bool isWssDebugMode;
 41
 42        /// <summary>
 43        /// Do not send global scenes messages (i.e. avatars)
 44        /// </summary>
 45        public bool ignoreGlobalScenes = false;
 46
 47        /// <summary>
 48        /// do Debug.Break() and log when processing each message
 49        /// </summary>
 50        public bool msgStepByStep = false;
 51
 52    }
 53}

Methods/Properties

DebugConfig()