< Summary

Information
Class: Api.Works.DTOs.AuthorGetDTO
Assembly: Api
File(s): /home/runner/work/ProjectRead.ing/ProjectRead.ing/Api/Works/DTOs/AuthorDTO.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 11
Coverable lines: 11
Total lines: 27
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%

File(s)

/home/runner/work/ProjectRead.ing/ProjectRead.ing/Api/Works/DTOs/AuthorDTO.cs

#LineLine coverage
 1// SPDX-FileCopyrightText: 2026 Alper Çelik <[email protected]>
 2//
 3// SPDX-License-Identifier: AGPL-3.0-or-later
 4
 5using Api.Works.Models;
 6
 7using Riok.Mapperly.Abstractions;
 8
 9namespace Api.Works.DTOs;
 10
 011public record AuthorGetDTO(
 012        Guid Id,
 013        int RowVersion,
 014        NodaTime.Instant MetadataAddedAt,
 015        NodaTime.Instant MetadataUpdatedAt,
 016
 017        string? FirstName,
 018        string? LastName,
 019        string DisplayName,
 020        string[] PenNames
 021        ) : IEntityMetadata;
 22
 23[Mapper]
 24public static partial class AuthorGetDTOMapper
 25{
 26    public static partial IQueryable<AuthorGetDTO> ProjectToDTO(IQueryable<Author> q);
 27}