< Summary

Class:DCL.DebugConfig
Assembly:DataStore
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DataStore/DebugConfig.cs
Covered lines:7
Uncovered lines:0
Coverable lines:7
Total lines:60
Line coverage:100% (7 of 7)
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;
 3using Variables.SpawnPoints;
 4
 5namespace DCL
 6{
 7    [System.Serializable]
 8    public class DebugConfig
 9    {
 10        /// <summary>
 11        /// If enabled, filters all scene messages that are not soloSceneCoords
 12        /// </summary>
 13        public bool soloScene;
 14
 15        /// <summary>
 16        /// Used in conjunction with soloScene
 17        /// </summary>
 18        public Vector2Int soloSceneCoords;
 19
 20        /// <summary>
 21        /// Enabled when SetDebug() is sent by kernel. Usually coupled with the DEBUG_MODE url param.
 22        /// </summary>
 23        [System.NonSerialized]
 70724        public BaseVariable<bool> isDebugMode = new BaseVariable<bool>();
 25
 26        [System.NonSerialized]
 70727        public BaseVariable<bool> isFPSPanelVisible = new BaseVariable<bool>();
 28
 29        [System.NonSerialized]
 70730        public BaseDictionary<string, bool> showSceneBoundingBoxes = new BaseDictionary<string, bool>();
 31
 32        [System.NonSerialized]
 70733        public  BaseVariable<bool> isPreviewMenuActive = new BaseVariable<bool>();
 34
 35        [System.NonSerialized]
 70736        public BaseDictionary<string, SceneSpawnPointsData> showSceneSpawnPoints = new BaseDictionary<string, SceneSpawn
 37
 38        [System.NonSerialized]
 70739        public BaseVariable<bool> showSceneABDetectionLayer = new BaseVariable<bool>();
 40
 41        [System.NonSerialized]
 70742        public BaseVariable<bool> showGlobalABDetectionLayer = new BaseVariable<bool>();
 43
 44        /// <summary>
 45        /// True when WSS message pipeline is enabled
 46        /// </summary>
 47        [System.NonSerialized]
 48        public bool isWssDebugMode;
 49
 50        /// <summary>
 51        /// Do not send global scenes messages (i.e. avatars)
 52        /// </summary>
 53        public bool ignoreGlobalScenes = false;
 54
 55        /// <summary>
 56        /// do Debug.Break() and log when processing each message
 57        /// </summary>
 58        public bool msgStepByStep = false;
 59    }
 60}

Methods/Properties

DebugConfig()