GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 4 / 0 / 4
Functions: 100.0% 2 / 0 / 2
Branches: 50.0% 1 / 0 / 2
Decisions: -% 0 / - / 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