< Summary

Information
Class: GistBackend.Types.Summary
Assembly: GistBackend
File(s): /home/runner/work/the-gist-of-it-sec/the-gist-of-it-sec/backend/GistBackend/Types/Summary.cs
Line coverage
100%
Covered lines: 9
Uncovered lines: 0
Coverable lines: 9
Total lines: 15
Line coverage: 100%
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%11100%
get_GistId()100%11100%
get_Language()100%11100%
get_IsTranslated()100%11100%
get_Title()100%11100%
get_SummaryText()100%11100%
get_Id()100%11100%

File(s)

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

#LineLine coverage
 1using System.Text.Json.Serialization;
 2
 3namespace GistBackend.Types;
 4
 5[method: JsonConstructor]
 4626public record Summary(
 3597    int GistId,
 3598    Language Language,
 3559    bool IsTranslated,
 54710    string Title,
 54611    string SummaryText,
 46212    int? Id = null
 46213){
 46614    public int? Id { get; set; } = Id;
 15}