< Summary

Information
Class: Chronicis.Api.Services.ExternalLinks.CategoryItem
Assembly: Chronicis.Api
File(s): /home/runner/work/chronicis/chronicis/src/Chronicis.Api/Services/ExternalLinks/CategoryItem.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 6
Coverable lines: 6
Total lines: 16
Line coverage: 0%
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
.ctor(...)100%210%
get_Id()100%210%
get_Title()100%210%
get_BlobName()100%210%
get_Pk()100%210%

File(s)

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

#LineLine coverage
 1namespace Chronicis.Api.Services.ExternalLinks;
 2
 3/// <summary>
 4/// Represents an indexed item within a category.
 5/// Used for efficient lookup and search without scanning blob storage.
 6/// </summary>
 7/// <param name="Id">Unique identifier in format "category/slug" (e.g., "spells/fireball").</param>
 8/// <param name="Title">Display title from fields.name or prettified slug.</param>
 9/// <param name="BlobName">Full blob path for content retrieval (e.g., "2014/spells/srd-2014_fireball.json").</param>
 10/// <param name="Pk">Optional primary key from JSON for debugging.</param>
 011public record CategoryItem(
 012    string Id,
 013    string Title,
 014    string BlobName,
 015    string? Pk = null
 016);