GCC Code Coverage Report


Directory: .subdir/
File: A/file1.cpp
Date: 0000-00-00 00:00:00
Exec Total Coverage
Lines: 4 5 80.0%
Functions: 1 1 100.0%
Branches: 1 2 50.0%

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