GCC Code Coverage Report


./
Coverage:
low: ≥ 0%
medium: ≥ 75.0%
high: ≥ 90.0%
Lines:
4 / 4
100.0%
Branches:
1 / 2
50.0%
Decisions:
-
-%
Functions:
2 / 2
100.0%

switch_test.cpp
Line Branch Decision Exec Source
1
2 #if (defined __GNUC__ && (__GNUC__ >= 6)) || (defined __clang_major__)
3 #include "switch_test.h"
4
5
1/2
✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
1 SwitchTestIssue783::SwitchTestIssue783() : _name("test") {}
6
7 1 void SwitchTestIssue783::checkSwitch() {
8 1 doSomething(EnumNamespace::EnumValue_1);
9 1 }
10 #endif
11