< Summary

Line coverage
100%
Covered lines: 26
Uncovered lines: 0
Coverable lines: 26
Total lines: 41
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
ToDto(...)100%11100%
ProjectToDto(...)100%11100%

File(s)

/home/runner/work/ProjectRead.ing/ProjectRead.ing/Api/obj/Debug/net10.0/generated/Riok.Mapperly/Riok.Mapperly.MapperGenerator/TagMapper.g.cs

#LineLine coverage
 1// <auto-generated />
 2#nullable enable
 3namespace Api.Works.Queries
 4{
 5    public static partial class TagMapper
 6    {
 7        [global::System.CodeDom.Compiler.GeneratedCode("Riok.Mapperly", "4.3.1.0")]
 8        public static partial global::Api.Works.Queries.Tag ToDto(global::Api.Works.Models.WorkTag w)
 19        {
 110            var target = new global::Api.Works.Queries.Tag()
 111            {
 112                TagNamespace = w.TagNamespace,
 113                TagName = w.TagName,
 114            };
 115            target.Id = w.Id;
 116            target.RowVersion = w.RowVersion;
 117            target.MetadataAddedAt = w.MetadataAddedAt;
 118            target.MetadataUpdatedAt = w.MetadataUpdatedAt;
 119            return target;
 120        }
 21
 22        [global::System.CodeDom.Compiler.GeneratedCode("Riok.Mapperly", "4.3.1.0")]
 23        public static partial global::System.Linq.IQueryable<global::Api.Works.Queries.Tag> ProjectToDto(this global::Sy
 124        {
 25#nullable disable
 126            return global::System.Linq.Queryable.Select(
 127                q,
 128                x => new global::Api.Works.Queries.Tag()
 129                {
 130                    Id = x.Id,
 131                    RowVersion = x.RowVersion,
 132                    MetadataAddedAt = x.MetadataAddedAt,
 133                    MetadataUpdatedAt = x.MetadataUpdatedAt,
 134                    TagNamespace = x.TagNamespace,
 135                    TagName = x.TagName,
 136                }
 137            );
 38#nullable enable
 139        }
 40    }
 41}