GCC Code Coverage Report


Directory: .
File: main.cpp
Date: 0000-00-00 00:00:00
Exec Total Coverage
Lines: 3 4 75.0%
Functions: 1 1 100.0%
Branches: 2 4 50.0%

Line Branch Exec Source
1 #include <iostream>
2 #include <cstdlib>
3
4 1 int main(int argc, char* argv[]) {
5 try {
6
2/4
✓ Branch 0 taken 1 times.
✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
✗ Branch 3 not taken.
1 std::cout << "Exit program" << std::endl;
7 1 std::exit(0);
8 }
9 catch (const std::exception& e) {
10 // Do nothing
11 }
12 }
13