< Summary

Information
Class: GistBackend.Types.RelatedGistInfo
Assembly: GistBackend
File(s): /home/runner/work/the-gist-of-it-sec/the-gist-of-it-sec/backend/GistBackend/Types/RecapAIResponse.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 21
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
get_Id()100%210%

File(s)

/home/runner/work/the-gist-of-it-sec/the-gist-of-it-sec/backend/GistBackend/Types/RecapAIResponse.cs

#LineLine coverage
 1using System.Text.Json.Serialization;
 2
 3namespace GistBackend.Types;
 4
 5
 6[method: JsonConstructor]
 7public record RecapAIResponse(
 8    IEnumerable<RecapSection> RecapSectionsEnglish,
 9    IEnumerable<RecapSection> RecapSectionsGerman
 10);
 11
 12[method: JsonConstructor]
 13public record RecapSection(string Heading, string Recap, IEnumerable<int> Related);
 14
 15public record SerializedRecap(DateTime Created, string RecapEn, string RecapDe, int? Id = null);
 16
 017public record RelatedGistInfo(int Id, string Title);
 18
 19public record DeserializedRecapSection(string Heading, string Recap, IEnumerable<RelatedGistInfo> Related);
 20
 21public record DeserializedRecap(DateTime Created, IEnumerable<DeserializedRecapSection> RecapSections, int Id);

Methods/Properties

get_Id()