< Summary

Information
Class: Chronicis.Api.Services.ExternalLinks.ExternalLinkContent
Assembly: Chronicis.Api
File(s): /home/runner/work/chronicis/chronicis/src/Chronicis.Api/Services/ExternalLinks/ExternalLinkContent.cs
Line coverage
62%
Covered lines: 5
Uncovered lines: 3
Coverable lines: 8
Total lines: 18
Line coverage: 62.5%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Source()100%11100%
get_Id()100%11100%
get_Title()100%11100%
get_Kind()100%11100%
get_Markdown()100%11100%
get_Attribution()100%210%
get_ExternalUrl()100%210%
get_JsonData()100%210%

File(s)

/home/runner/work/chronicis/chronicis/src/Chronicis.Api/Services/ExternalLinks/ExternalLinkContent.cs

#LineLine coverage
 1namespace Chronicis.Api.Services.ExternalLinks;
 2
 3public class ExternalLinkContent
 4{
 25    public string Source { get; set; } = string.Empty;
 26    public string Id { get; set; } = string.Empty;
 37    public string Title { get; set; } = string.Empty;
 28    public string Kind { get; set; } = string.Empty;
 29    public string Markdown { get; set; } = string.Empty;
 010    public string? Attribution { get; set; }
 011    public string? ExternalUrl { get; set; }
 12
 13    /// <summary>
 14    /// Raw JSON data for client-side structured rendering.
 15    /// Populated by blob-backed providers. Null for API-backed providers.
 16    /// </summary>
 017    public string? JsonData { get; set; }
 18}