< Summary

Class:GDX.DataTables.RowDescription
Assembly:GDX
File(s):./Packages/com.dotbunny.gdx/GDX/DataTables/RowDescription.cs
Covered lines:0
Uncovered lines:3
Coverable lines:3
Total lines:36
Line coverage:0% (0 of 3)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:1
Method coverage:0% (0 of 1)

Coverage History

Metrics

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

File(s)

./Packages/com.dotbunny.gdx/GDX/DataTables/RowDescription.cs

#LineLine coverage
 1// Copyright (c) 2020-2024 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
 5namespace GDX.DataTables
 6{
 7    /// <summary>
 8    ///     A description of a row in a <see cref="DataTableBase" />.
 9    /// </summary>
 10    public struct RowDescription
 11    {
 12        /// <summary>
 13        ///     The given name of the row.
 14        /// </summary>
 15        public string Name;
 16
 17        /// <summary>
 18        ///     The unique identifier for the row.
 19        /// </summary>
 20        public int Identifier;
 21
 22        /// <summary>
 23        ///     The current sort order.
 24        /// </summary>
 25        public int SortOrder;
 26
 27        /// <summary>
 28        ///     Generates a custom string based on the row.
 29        /// </summary>
 30        /// <returns>A user-friendly string representation of the <see cref="RowDescription" />.</returns>
 31        public override string ToString()
 032        {
 033            return Name;
 034        }
 35    }
 36}

Methods/Properties

ToString()