< Summary

Class:DCL.Tutorial.TutorialStep_Welcome
Assembly:Onboarding
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Tutorial/Scripts/Steps/Initial/TutorialStep_Welcome.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:24
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
OnStepStart()0%2100%
OnStepExecute()0%12300%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Tutorial/Scripts/Steps/Initial/TutorialStep_Welcome.cs

#LineLine coverage
 1using System.Collections;
 2using TMPro;
 3using UnityEngine;
 4
 5namespace DCL.Tutorial
 6{
 7    /// <summary>
 8    /// Class that represents the onboarding tutorial step related to the welcoming.
 9    /// </summary>
 10    public class TutorialStep_Welcome : TutorialStep
 11    {
 12        [SerializeField] InputAction_Hold confirmInputAction;
 13        [SerializeField] TMP_Text descriptionText;
 14
 15        public override void OnStepStart()
 16        {
 017            base.OnStepStart();
 18
 019            descriptionText.text = descriptionText.text.Replace("{userName}", UserProfile.GetOwnUserProfile().userName);
 020        }
 21
 022        public override IEnumerator OnStepExecute() { yield return new WaitUntil(() => mainSection.activeSelf && confirm
 23    }
 24}

Methods/Properties

OnStepStart()
OnStepExecute()