< Summary

Class:DCL.Controllers.LoadingScreenV2.Hint
Assembly:DCL.LoadingScreenV2.Interfaces
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/LoadingScreenV2/Interfaces/Hint.cs
Covered lines:0
Uncovered lines:10
Coverable lines:10
Total lines:35
Line coverage:0% (0 of 10)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:5
Method coverage:0% (0 of 5)

Metrics

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

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/LoadingScreenV2/Interfaces/Hint.cs

#LineLine coverage
 1using System;
 2using UnityEngine;
 3
 4namespace DCL.Controllers.LoadingScreenV2
 5{
 6    [Serializable]
 7    public enum SourceTag
 8    {
 9        Scene = 0,
 10        Dcl = 1,
 11        Event = 2,
 12    }
 13
 14    [Serializable]
 15    public class Hint
 16    {
 17        [SerializeField] private string textureUrl;
 18        [SerializeField] private string title;
 19        [SerializeField] private string body;
 20        [SerializeField] private SourceTag sourceTag;
 21
 022        public Hint(string textureUrl, string title, string body, SourceTag sourceTag)
 23        {
 024            this.textureUrl = textureUrl;
 025            this.title = title;
 026            this.body = body;
 027            this.sourceTag = sourceTag;
 028        }
 29
 030        public string TextureUrl => textureUrl;
 031        public string Title => title;
 032        public string Body => body;
 033        public SourceTag SourceTag => sourceTag;
 34    }
 35}