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

Giorgi / DuckDB.NET / 22921736195

10 Mar 2026 07:24PM UTC coverage: 89.526% (+0.08%) from 89.45%
22921736195

push

github

Giorgi
Update global.json

1255 of 1463 branches covered (85.78%)

Branch coverage included in aggregate %.

2651 of 2900 relevant lines covered (91.41%)

447643.55 hits per line

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

66.67
/DuckDB.NET.Data/Connection/FileReference.cs
1
using System.IO;
2

3
namespace DuckDB.NET.Data.Connection;
4

5
/// <summary>
6
/// Holds the connection count and DuckDBDatabase structure for a FileName
7
/// </summary>
8
internal class FileReference(string filename)
37,918✔
9
{
10
    public DuckDBDatabase? Database { get; internal set; }
267,258✔
11

12
    public string FileName { get; } = filename;
129,281✔
13

14
    public long ConnectionCount { get; private set; } //don't need a long, but it is slightly faster on 64 bit systems
259,752✔
15

16
    public long Decrement()
17
    {
18
        return --ConnectionCount;
64,935✔
19
    }
20

21
    public long Increment()
22
    {
23
        return ++ConnectionCount;
64,941✔
24
    }
25

26
    public override string ToString() => $"{Path.GetFileName(FileName)}";
×
27
}
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