< Summary - SonghayCore

Information
Class: Songhay.Models.OpmlBody
Assembly: SonghayCore
File(s): /home/rasx/sourceRoot/SonghayCore/SonghayCore/Models/OpmlBody.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 18
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Method coverage is only available for sponsors.

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_Outlines()100%1100%

File(s)

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

#LineLine coverage
 1namespace Songhay.Models;
 2
 3/// <summary>
 4/// Defines a managed representation of the OPML body element.
 5/// </summary>
 6[Serializable]
 7[DataContract(Name = "head")]
 8public class OpmlBody
 9{
 10    /// <summary>
 11    /// Gets or sets the outlines.
 12    /// </summary>
 13    [XmlElement(ElementName = "outline")]
 14    [SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays",
 15        Justification = "Used for XML serialization.")]
 16    [JsonPropertyName("outline")]
 1717    public OpmlOutline[] Outlines { get; set; } = Enumerable.Empty<OpmlOutline>().ToArray();
 18}

Methods/Properties

get_Outlines()