< Summary

Class:GDX.Developer.ConsoleCommands.VersionConsoleCommand
Assembly:GDX
File(s):./Packages/com.dotbunny.gdx/GDX/Developer/ConsoleCommands/VersionConsoleCommand.cs
Covered lines:3
Uncovered lines:10
Coverable lines:13
Total lines:37
Line coverage:23% (3 of 13)
Covered branches:0
Total branches:0
Covered methods:1
Total methods:4
Method coverage:25% (1 of 4)

Coverage History

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Evaluate(...)0%2100%
GetAccessLevel()0%2100%
GetKeyword()0%110100%
GetHelpMessage()0%2100%

File(s)

./Packages/com.dotbunny.gdx/GDX/Developer/ConsoleCommands/VersionConsoleCommand.cs

#LineLine coverage
 1// Copyright (c) 2020-2022 dotBunny Inc.
 2// dotBunny licenses this file to you under the BSL-1.0 license.
 3// See the LICENSE file in the project root for more information.
 4
 5using UnityEngine;
 6
 7namespace GDX.Developer.ConsoleCommands
 8{
 9#if UNITY_2022_2_OR_NEWER
 10    public class VersionConsoleCommand : ConsoleCommandBase
 11    {
 12        /// <inheritdoc />
 13        public override bool Evaluate(float deltaTime)
 014        {
 015            Debug.Log("TODO: Version Information");
 016            return true;
 017        }
 18
 19        /// <inheritdoc />
 20        public override Console.ConsoleAccessLevel GetAccessLevel()
 021        {
 022            return Console.ConsoleAccessLevel.Anonymous;
 023        }
 24
 25        public override string GetKeyword()
 726        {
 727            return "version";
 728        }
 29
 30        /// <inheritdoc />
 31        public override string GetHelpMessage()
 032        {
 033            return "Display all versions of assemblies and libraries used by the project.";
 034        }
 35    }
 36#endif // UNITY_2022_2_OR_NEWER
 37}

Coverage by test methods







Methods/Properties

Evaluate(System.Single)
GetAccessLevel()
GetKeyword()
GetHelpMessage()