GCC Code Coverage Report


Directory: ./
File: testApp/tmp.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%
Conditions: 1 2 50.0%

Line Branch Condition Exec Source
1 #include "lib.h"
2
3 1 int main(int argc, char** argv)
4 {
5
1/2
✗ Branch 0 (2→3) not taken.
✓ Branch 1 (2→4) taken 1 times.
1/2
✗ True not covered.
1 if ( argc > 1 )
6 print(1);
7 else
8 1 print(0);
9 1 }
10