GCC Code Coverage Report


Directory: ./
File: lib/lib.cpp
Date: 2020-09-29 20:31:17
Exec Total Coverage
Lines: 3 4 75.0%
Branches: 1 2 50.0%

Line Branch Exec Source
1 #include <iostream>
2
3 1 int print(int test)
4 {
5
1/2
✓ Branch 0 taken 1 times.
✗ Branch 1 not taken.
1 if ( ! test )
6 1 return 1;
7 else
8 return 2;
9 }
10