< Summary

Information
Class: RoleRadar.Application.Reading.Models.PostingReadModel
Assembly: RoleRadar.Application
File(s): /home/runner/work/roleradar/roleradar/src/RoleRadar.Application/Reading/Models/PostingReadModel.cs
Line coverage
100%
Covered lines: 16
Uncovered lines: 0
Coverable lines: 16
Total lines: 26
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
get_Id()100%11100%
get_CompanyId()100%11100%
get_CompanyName()100%11100%
get_Title()100%11100%
get_RequisitionId()100%11100%
get_Location()100%11100%
get_Disposition()100%11100%
get_ResurfacePolicy()100%11100%
get_Score()100%11100%
get_CreatedAt()100%11100%
get_FirstSeenAt()100%11100%
get_HasApplication()100%11100%
get_UpdatedAt()100%11100%
get_OwnerId()100%11100%
get_DispositionRank()100%11100%
get_HasScore()100%11100%

File(s)

/home/runner/work/roleradar/roleradar/src/RoleRadar.Application/Reading/Models/PostingReadModel.cs

#LineLine coverage
 1namespace RoleRadar.Application.Reading.Models;
 2
 3public sealed class PostingReadModel
 4{
 146125    public Guid Id { get; init; }
 114566    public Guid CompanyId { get; init; }
 199847    public string CompanyName { get; init; } = string.Empty;
 200168    public string Title { get; init; } = string.Empty;
 113829    public string? RequisitionId { get; init; }
 1138210    public string? Location { get; init; }
 1876411    public string Disposition { get; init; } = string.Empty;
 1869012    public string ResurfacePolicy { get; init; } = string.Empty;
 1146013    public decimal? Score { get; init; }
 1145614    public DateTimeOffset CreatedAt { get; init; }
 15
 16    /// <summary>When RoleRadar first recorded the posting (stored <c>first_seen_at</c>). Filterable, not sortable.</sum
 651217    public DateTimeOffset FirstSeenAt { get; init; }
 18
 19    /// <summary>True when an application exists for the posting. Derived, written only at the repository choke point (A
 643820    public bool HasApplication { get; init; }
 1145621    public DateTimeOffset UpdatedAt { get; init; }
 22
 1461623    internal string OwnerId { get; init; } = string.Empty;
 730824    internal int DispositionRank { get; init; }
 730825    internal bool HasScore { get; init; }
 26}