< Summary

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

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
OnStepExecute()0%220100%

File(s)

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

#LineLine coverage
 1using System.Collections;
 2using UnityEngine;
 3
 4namespace DCL.Tutorial
 5{
 6    /// <summary>
 7    /// Class that represents the onboarding tutorial step related to the end of the tutorial.
 8    /// </summary>
 9    public class TutorialStep_TutorialCompleted : TutorialStep
 10    {
 11        [SerializeField] AudioEvent audioEventSuccess;
 12
 13        public override IEnumerator OnStepExecute()
 14        {
 115            audioEventSuccess.Play(true);
 116            yield break;
 17        }
 18    }
 19}

Methods/Properties

OnStepExecute()