denizzzka / dpq2
Showing 1 of 3 files from the diff.
Other files ignored by Codecov
.travis.yml has changed.
dub.json has changed.

@@ -8,25 +8,29 @@
Loading
8 8
import derelict.pq.pq;
9 9
debug import std.experimental.logger;
10 10
11 -
static __gshared bool __initialized;
12 -
13 -
static this()
11 +
version(DerelictPQ_Static){}
12 +
else
14 13
{
15 -
    import std.concurrency : initOnce;
16 -
    initOnce!__initialized({
17 -
        debug
18 -
        {
19 -
            trace("DerelictPQ loading...");
20 -
        }
14 +
    static __gshared bool __initialized;
15 +
16 +
    static this()
17 +
    {
18 +
        import std.concurrency : initOnce;
19 +
        initOnce!__initialized({
20 +
            debug
21 +
            {
22 +
                trace("DerelictPQ loading...");
23 +
            }
21 24
22 -
        DerelictPQ.load();
25 +
            DerelictPQ.load();
23 26
24 -
        debug
25 -
        {
26 -
            trace("...DerelictPQ loading finished");
27 -
        }
28 -
        return true;
29 -
    }());
27 +
            debug
28 +
            {
29 +
                trace("...DerelictPQ loading finished");
30 +
            }
31 +
            return true;
32 +
        }());
33 +
    }
30 34
}
31 35
32 36
public
Files Coverage
src/dpq2 91.88%
integration_tests/integration_tests.d 100.00%
Project Totals (19 files) 91.92%
1158.17
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading