< Summary

Information
Class: GistBackend.Types.DisabledGist
Assembly: GistBackend
File(s): /home/runner/work/the-gist-of-it-sec/the-gist-of-it-sec/backend/GistBackend/Types/DisabledGist.cs
Line coverage
100%
Covered lines: 14
Uncovered lines: 0
Coverable lines: 14
Total lines: 22
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%
.ctor(...)100%11100%

File(s)

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

#LineLine coverage
 1namespace GistBackend.Types;
 2
 3public record DisabledGist : Gist
 4{
 35    public DisabledGist(RssEntry entry) : base(
 36        entry.Reference,
 37        entry.FeedId,
 38        entry.Author,
 39        false,
 310        entry.Published,
 311        entry.Updated,
 312        entry.Url,
 313        "")
 14    {
 315    }
 16
 117    public DisabledGist(Gist gist) : base(gist)
 18    {
 119        IsSponsoredContent = false;
 120        Tags = "";
 121    }
 22}