< 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:5
Uncovered lines:0
Coverable lines:5
Total lines:25
Line coverage:100% (5 of 5)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
OnStepStart()0%110100%
OnStepExecute()0%330100%

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] internal InputAction_Hold confirmInputAction;
 13        [SerializeField] TMP_Text descriptionText;
 14
 15        public override void OnStepStart()
 16        {
 117            base.OnStepStart();
 18
 119            confirmInputAction.RaiseOnFinished();
 120            descriptionText.text = descriptionText.text.Replace("{userName}", UserProfile.GetOwnUserProfile().userName);
 121        }
 22
 523        public override IEnumerator OnStepExecute() { yield return new WaitUntil(() => mainSection.activeSelf && confirm
 24    }
 25}

Methods/Properties

OnStepStart()
OnStepExecute()