Branch Coverage

t/test.cc
Criterion Covered Total %
branch 96 236 40.6


line true false branch
6 3 0 REQUIRE(1);
3 0 REQUIRE(1);
3 0 REQUIRE(1);
3 0 REQUIRE(1);
0 0 REQUIRE(1);
0 0 REQUIRE(1);
10 2 0 REQUIRE(1);
2 0 REQUIRE(1);
2 0 REQUIRE(1);
2 0 REQUIRE(1);
0 0 REQUIRE(1);
0 0 REQUIRE(1);
14 2 0 REQUIRE(1);
2 0 REQUIRE(1);
2 0 REQUIRE(1);
2 0 REQUIRE(1);
0 0 REQUIRE(1);
0 0 REQUIRE(1);
15 2 0 REQUIRE(1);
2 0 REQUIRE(1);
2 0 REQUIRE(1);
2 0 REQUIRE(1);
0 0 REQUIRE(1);
0 0 REQUIRE(1);
16 2 0 REQUIRE(1);
2 0 REQUIRE(1);
2 0 REQUIRE(1);
2 0 REQUIRE(1);
0 0 REQUIRE(1);
0 0 REQUIRE(1);
20 6 0 SECTION("subtest1") {
6 0 SECTION("subtest1") {
6 0 SECTION("subtest1") {
6 0 SECTION("subtest1") {
3 3 SECTION("subtest1") {
21 3 0 std::string s = "hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world";
22 3 0 REQUIRE(s == "hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world");
3 0 REQUIRE(s == "hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world");
3 0 REQUIRE(s == "hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world");
3 0 REQUIRE(s == "hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world");
3 0 REQUIRE(s == "hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world");
0 0 REQUIRE(s == "hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world");
0 0 REQUIRE(s == "hello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello worldhello world");
23 3 0 REQUIRE(1);
3 0 REQUIRE(1);
3 0 REQUIRE(1);
3 0 REQUIRE(1);
0 0 REQUIRE(1);
0 0 REQUIRE(1);
25 6 0 SECTION("subtest2") {
6 0 SECTION("subtest2") {
6 0 SECTION("subtest2") {
6 0 SECTION("subtest2") {
3 3 SECTION("subtest2") {
26 3 0 REQUIRE(1);
3 0 REQUIRE(1);
3 0 REQUIRE(1);
3 0 REQUIRE(1);
0 0 REQUIRE(1);
0 0 REQUIRE(1);
33 9 0 REQUIRE(cnt);
9 0 REQUIRE(cnt);
9 0 REQUIRE(cnt);
9 0 REQUIRE(cnt);
0 0 REQUIRE(cnt);
0 0 REQUIRE(cnt);
34 9 0 SECTION("subtest1") {
9 0 SECTION("subtest1") {
9 0 SECTION("subtest1") {
9 0 SECTION("subtest1") {
6 3 SECTION("subtest1") {
35 6 0 SECTION("sst1") {
6 0 SECTION("sst1") {
6 0 SECTION("sst1") {
6 0 SECTION("sst1") {
3 3 SECTION("sst1") {
36 3 0 REQUIRE(cnt);
3 0 REQUIRE(cnt);
3 0 REQUIRE(cnt);
3 0 REQUIRE(cnt);
0 0 REQUIRE(cnt);
0 0 REQUIRE(cnt);
38 6 0 SECTION("sst2") {
6 0 SECTION("sst2") {
6 0 SECTION("sst2") {
6 0 SECTION("sst2") {
3 3 SECTION("sst2") {
39 3 0 REQUIRE(cnt);
3 0 REQUIRE(cnt);
3 0 REQUIRE(cnt);
3 0 REQUIRE(cnt);
0 0 REQUIRE(cnt);
0 0 REQUIRE(cnt);
42 9 0 SECTION("subtest2") {
9 0 SECTION("subtest2") {
9 0 SECTION("subtest2") {
9 0 SECTION("subtest2") {
3 6 SECTION("subtest2") {
43 3 0 REQUIRE(cnt);
3 0 REQUIRE(cnt);
3 0 REQUIRE(cnt);
3 0 REQUIRE(cnt);
0 0 REQUIRE(cnt);
0 0 REQUIRE(cnt);
44 3 0 REQUIRE(cnt);
3 0 REQUIRE(cnt);
3 0 REQUIRE(cnt);
3 0 REQUIRE(cnt);
0 0 REQUIRE(cnt);
0 0 REQUIRE(cnt);
46 9 0 REQUIRE(cnt);
9 0 REQUIRE(cnt);
9 0 REQUIRE(cnt);
9 0 REQUIRE(cnt);
0 0 REQUIRE(cnt);
0 0 REQUIRE(cnt);
47 1 0 }
1 0 }