Branch Coverage

t/traits.cc
Criterion Covered Total %
branch 62 168 36.9


line true false branch
10 1 0 REQUIRE(bool_or(nullptr, true) == false);
1 0 REQUIRE(bool_or(nullptr, true) == false);
1 0 REQUIRE(bool_or(nullptr, true) == false);
1 0 REQUIRE(bool_or(nullptr, true) == false);
1 0 REQUIRE(bool_or(nullptr, true) == false);
0 0 REQUIRE(bool_or(nullptr, true) == false);
0 0 REQUIRE(bool_or(nullptr, true) == false);
11 1 0 REQUIRE(bool_or(1, false) == true);
1 0 REQUIRE(bool_or(1, false) == true);
1 0 REQUIRE(bool_or(1, false) == true);
1 0 REQUIRE(bool_or(1, false) == true);
1 0 REQUIRE(bool_or(1, false) == true);
0 0 REQUIRE(bool_or(1, false) == true);
0 0 REQUIRE(bool_or(1, false) == true);
12 1 0 REQUIRE(bool_or(string(""), true) == false);
1 0 REQUIRE(bool_or(string(""), true) == false);
1 0 REQUIRE(bool_or(string(""), true) == false);
1 0 REQUIRE(bool_or(string(""), true) == false);
1 0 REQUIRE(bool_or(string(""), true) == false);
1 0 REQUIRE(bool_or(string(""), true) == false);
0 0 REQUIRE(bool_or(string(""), true) == false);
0 0 REQUIRE(bool_or(string(""), true) == false);
13 1 0 REQUIRE(bool_or(string("1"), false) == true);
1 0 REQUIRE(bool_or(string("1"), false) == true);
1 0 REQUIRE(bool_or(string("1"), false) == true);
1 0 REQUIRE(bool_or(string("1"), false) == true);
1 0 REQUIRE(bool_or(string("1"), false) == true);
1 0 REQUIRE(bool_or(string("1"), false) == true);
0 0 REQUIRE(bool_or(string("1"), false) == true);
0 0 REQUIRE(bool_or(string("1"), false) == true);
15 1 0 REQUIRE(bool_or(N{}, true) == true);
1 0 REQUIRE(bool_or(N{}, true) == true);
1 0 REQUIRE(bool_or(N{}, true) == true);
1 0 REQUIRE(bool_or(N{}, true) == true);
1 0 REQUIRE(bool_or(N{}, true) == true);
0 0 REQUIRE(bool_or(N{}, true) == true);
0 0 REQUIRE(bool_or(N{}, true) == true);
16 1 0 REQUIRE(bool_or(N{}, false) == false);
1 0 REQUIRE(bool_or(N{}, false) == false);
1 0 REQUIRE(bool_or(N{}, false) == false);
1 0 REQUIRE(bool_or(N{}, false) == false);
1 0 REQUIRE(bool_or(N{}, false) == false);
0 0 REQUIRE(bool_or(N{}, false) == false);
0 0 REQUIRE(bool_or(N{}, false) == false);
20 1 0 REQUIRE(bool_or(ref, false) == true);
1 0 REQUIRE(bool_or(ref, false) == true);
1 0 REQUIRE(bool_or(ref, false) == true);
1 0 REQUIRE(bool_or(ref, false) == true);
1 0 REQUIRE(bool_or(ref, false) == true);
0 0 REQUIRE(bool_or(ref, false) == true);
0 0 REQUIRE(bool_or(ref, false) == true);
24 1 0 REQUIRE(bool_or(sref, true) == false);
1 0 REQUIRE(bool_or(sref, true) == false);
1 0 REQUIRE(bool_or(sref, true) == false);
1 0 REQUIRE(bool_or(sref, true) == false);
1 0 REQUIRE(bool_or(sref, true) == false);
1 0 REQUIRE(bool_or(sref, true) == false);
0 0 REQUIRE(bool_or(sref, true) == false);
0 0 REQUIRE(bool_or(sref, true) == false);
25 1 0 s = "123";
26 1 0 REQUIRE(bool_or(sref, false) == true);
1 0 REQUIRE(bool_or(sref, false) == true);
1 0 REQUIRE(bool_or(sref, false) == true);
1 0 REQUIRE(bool_or(sref, false) == true);
1 0 REQUIRE(bool_or(sref, false) == true);
1 0 REQUIRE(bool_or(sref, false) == true);
0 0 REQUIRE(bool_or(sref, false) == true);
0 0 REQUIRE(bool_or(sref, false) == true);
30 1 0 REQUIRE(bool_or(nref, true) == true);
1 0 REQUIRE(bool_or(nref, true) == true);
1 0 REQUIRE(bool_or(nref, true) == true);
1 0 REQUIRE(bool_or(nref, true) == true);
1 0 REQUIRE(bool_or(nref, true) == true);
0 0 REQUIRE(bool_or(nref, true) == true);
0 0 REQUIRE(bool_or(nref, true) == true);
31 1 0 REQUIRE(bool_or(nref, false) == false);
1 0 REQUIRE(bool_or(nref, false) == false);
1 0 REQUIRE(bool_or(nref, false) == false);
1 0 REQUIRE(bool_or(nref, false) == false);
1 0 REQUIRE(bool_or(nref, false) == false);
0 0 REQUIRE(bool_or(nref, false) == false);
0 0 REQUIRE(bool_or(nref, false) == false);
32 18 0 }
18 0 }