GCC Code Coverage Report


Directory: ./
File: A/file4.cpp
Date: 2022-03-25 19:56:36
Exec Total Coverage
Lines: 3 4 75.0%
Functions: 1 1 100.0%
Branches: 1 2 50.0%

Line Branch Exec Source
1 1 int foobar(int param)
2 {
3
1/2
✓ Branch 0 taken 1 times.
✗ Branch 1 not taken.
1 if (param) {
4 1 return 1;
5 } else {
6 return 0;
7 }
8 }
9