< Summary

Class:DCL.DebugConfig
Assembly:DataStore
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DataStore/DebugConfig.cs
Covered lines:10
Uncovered lines:0
Coverable lines:10
Total lines:70
Line coverage:100% (10 of 10)
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]
 52024        public BaseVariable<bool> isDebugMode = new BaseVariable<bool>();
 25
 26        [System.NonSerialized]
 52027        public BaseVariable<bool> isFPSPanelVisible = new BaseVariable<bool>();
 28
 29        [System.NonSerialized]
 52030        public BaseDictionary<int, bool> showSceneBoundingBoxes = new BaseDictionary<int, bool>();
 31
 32        [System.NonSerialized]
 52033        public  BaseVariable<bool> isPreviewMenuActive = new BaseVariable<bool>();
 34
 35        [System.NonSerialized]
 52036        public BaseDictionary<string, SceneSpawnPointsData> showSceneSpawnPoints = new BaseDictionary<string, SceneSpawn
 37
 38        [System.NonSerialized]
 52039        public BaseVariable<bool> showSceneABDetectionLayer = new BaseVariable<bool>();
 40
 41        [System.NonSerialized]
 52042        public BaseVariable<bool> showGlobalABDetectionLayer = new BaseVariable<bool>();
 43
 44        [System.NonSerialized]
 52045        public BaseVariable<float> jsHeapSizeLimit = new BaseVariable<float>();
 46
 47        [System.NonSerialized]
 52048        public BaseVariable<float> jsTotalHeapSize = new BaseVariable<float>();
 49
 50        [System.NonSerialized]
 52051        public BaseVariable<float> jsUsedHeapSize = new BaseVariable<float>();
 52
 53        /// <summary>
 54        /// True when WSS message pipeline is enabled
 55        /// </summary>
 56        [System.NonSerialized]
 57        public bool isWssDebugMode;
 58
 59        /// <summary>
 60        /// Do not send global scenes messages (i.e. avatars)
 61        /// </summary>
 62        public bool ignoreGlobalScenes = false;
 63
 64        /// <summary>
 65        /// do Debug.Break() and log when processing each message
 66        /// </summary>
 67        public bool msgStepByStep = false;
 68        public bool logWs;
 69    }
 70}

Methods/Properties

DebugConfig()