• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Giorgi / DuckDB.NET / 28017109290

23 Jun 2026 09:41AM UTC coverage: 89.361% (-0.4%) from 89.738%
28017109290

push

github

Giorgi
Merge branch 'main' into nightly-builds

1330 of 1545 branches covered (86.08%)

Branch coverage included in aggregate %.

362 of 413 new or added lines in 32 files covered. (87.65%)

4 existing lines in 3 files now uncovered.

2769 of 3042 relevant lines covered (91.03%)

434285.19 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

69.23
/DuckDB.NET.Data/DataChunk/Reader/BooleanVectorDataReader.cs
1
namespace DuckDB.NET.Data.DataChunk.Reader;
2

3
internal sealed class BooleanVectorDataReader : VectorDataReaderBase
4
{
5
    internal unsafe BooleanVectorDataReader(void* dataPointer, ulong* validityMaskPointer, DuckDBType columnType, string columnName) : base(dataPointer, validityMaskPointer, columnType, columnName)
333✔
6
    {
7
    }
333✔
8

9
    protected override T GetValidValue<T>(ulong offset)
10
    {
11
        if (DuckDBType != DuckDBType.Boolean)
90!
12
        {
NEW
13
            return base.GetValidValue<T>(offset);
×
14
        }
15

16
        var value = GetFieldData<bool>(offset);
90✔
17
        return (T)(object)value; //JIT will optimize the casts at least for not nullable T
90✔
18
    }
19

20
    internal override object GetValue(ulong offset, Type targetType)
21
    {
22
        if (DuckDBType != DuckDBType.Boolean)
1,122,862!
23
        {
24
            return base.GetValue(offset, targetType);
×
25
        }
26

27
        return GetFieldData<bool>(offset);
1,122,862✔
28
    }
29
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc