< Summary

Information
Class: ArturRios.Data.Export.Abstractions.ExcelExporterRegistration
Assembly: ArturRios.Data.Export
File(s): D:\Repositories\dotnet-data\src\ArturRios.Data.Export\Abstractions\ExcelExporterRegistration.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 12
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage
100%
Covered methods: 2
Fully covered methods: 2
Total methods: 2
Method coverage: 100%
Full method coverage: 100%

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
get_ExporterType()100%11100%

File(s)

D:\Repositories\dotnet-data\src\ArturRios.Data.Export\Abstractions\ExcelExporterRegistration.cs

#LineLine coverage
 1namespace ArturRios.Data.Export.Abstractions;
 2
 3/// <summary>
 4///     Marker registered by the Excel add-on so the core factory can resolve the Excel exporter without a
 5///     compile-time reference to it. Carries the open-generic exporter type.
 6/// </summary>
 7/// <param name="exporterType">The open-generic Excel exporter type, e.g. <c>typeof(ExcelExporter&lt;&gt;)</c>.</param>
 18public sealed class ExcelExporterRegistration(Type exporterType)
 9{
 10    /// <summary>The open-generic Excel exporter type.</summary>
 211    public Type ExporterType { get; } = exporterType;
 12}