< Summary - SonghayCore

Information
Class: Songhay.Models.ProgramGlyph
Assembly: SonghayCore
File(s): /home/rasx/sourceRoot/SonghayCore/SonghayCore/Models/ProgramGlyph.cs
Line coverage
100%
Covered lines: 9
Uncovered lines: 0
Coverable lines: 9
Total lines: 52
Line coverage: 100%
Branch coverage
50%
Covered branches: 1
Total branches: 2
Branch coverage: 50%
Method coverage

Method coverage is only available for sponsors.

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_UnicodePoint()100%1100%
get_UnicodeInteger()50%2100%
get_UnicodeGroup()100%1100%
get_UnicodeName()100%1100%
get_Character()100%1100%
get_Windows1252UrlEncoding()100%1100%
get_Utf8UrlEncoding()100%1100%
get_HtmlEntityName()100%1100%
get_XmlEntityNumber()100%1100%

File(s)

/home/rasx/sourceRoot/SonghayCore/SonghayCore/Models/ProgramGlyph.cs

#LineLine coverage
 1namespace Songhay.Models;
 2
 3/// <summary>
 4/// Defines a Unicode glyphic character
 5/// </summary>
 6public readonly struct ProgramGlyph
 7{
 8    /// <summary>
 9    /// Gets or sets the unicode point.
 10    /// </summary>
 67811    public string UnicodePoint { get; init; }
 12
 13    /// <summary>
 14    /// Gets or sets the unicode integer.
 15    /// </summary>
 22616    public int UnicodeInteger => string.IsNullOrWhiteSpace(UnicodePoint) ? 0 : Convert.ToInt32(UnicodePoint, 16);
 17
 18    /// <summary>
 19    /// Gets or sets the unicode group.
 20    /// </summary>
 22621    public string UnicodeGroup { get; init; }
 22
 23    /// <summary>
 24    /// Gets or sets the name of the unicode.
 25    /// </summary>
 22626    public string UnicodeName { get; init; }
 27
 28    /// <summary>
 29    /// Gets or sets the character, usually the Unicode Point.
 30    /// </summary>
 24531    public string Character { get; init; }
 32
 33    /// <summary>
 34    /// Gets or sets the windows1252 URL encoding.
 35    /// </summary>
 22636    public string Windows1252UrlEncoding { get; init; }
 37
 38    /// <summary>
 39    /// Gets or sets the UTF8 URL encoding.
 40    /// </summary>
 54841    public string Utf8UrlEncoding { get; init; }
 42
 43    /// <summary>
 44    /// Gets or sets the name of the HTML entity.
 45    /// </summary>
 52546    public string HtmlEntityName { get; init; }
 47
 48    /// <summary>
 49    /// Gets or sets the XML entity number.
 50    /// </summary>
 46051    public string XmlEntityNumber { get; init; }
 52}