GCC Code Coverage Report


Directory: ./
File: lib/lib.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 #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 1 }
10