bar.cpp

100.0% Lines (0 / 0, 4 excl) -% Branches (0 / 0, 2 excl) -% Functions (0 / 0, 1 excl)
bar.cpp
f(x) Functions (1)
Function Calls Lines Branches Blocks
bar(int) :14 – – – –
Line Branch TLA Hits Source Code
1
2 class Bar
3 {
4 public:
5 Bar() : m_param(1)
6 {}
7 virtual ~Bar()
8 {} // possible compiler-generated destruction code - auto-detected and excluded
9
10 private:
11 int m_param;
12 };
13
14 − int bar(int param) { // never called, GCOV_EXCL_START
15 − if (param) {
16 − return 1;
17 }
18 − return 0;
19 } // GCOV_EXCL_STOP
20