GCC Code Coverage Report


Directory: ./
File: src/main.cpp
Date: 2026-12-03 12:28:13
Exec Total Coverage
Lines: 0 8 0.0%
Functions: 0 1 0.0%
Branches: 0 6 0.0%
Decisions: 0 2 0.0%

Line Branch Decision Exec Source
1 #include "system.hpp"
2
3 System* s1;
4
5 ✗ int main(int argc, char* argv[])
6 {
7 std::cout << std::fixed;
8 std::cout << std::setprecision(3);
9 ✗ time_t start_time = time(nullptr);
10
11 ✗ s1 = new System(argv[1]);
12
13 // run the simulation (else show the mesh statistics)
14 ✗ s1->run(s1->p.stop_time, s1->p.output_dir, s1->p.movie_dir);
15
16
0/2
✗ Decision 'true' not taken.
✗ Decision 'false' not taken.
✗ if (s1->p.show_output == 1)
17 {
18 std::cout << "corticalSim v" << PROGRAM_VERSION << std::endl;
19 ✗ std::cout << "Total running time: " << static_cast<int>(time(nullptr)) - start_time << " seconds.\n";
20 std::cout << "stochastic events: " << s1->total_s_event_count
21 ✗ << ", deterministic events: " << s1->total_valid_d_event_count << ".\n";
22 #ifndef CROSS_SEV
23 std::cout << "No severing at corners possible. If desired, #define CROSS_SEV.\n";
24 #endif
25 }
26
27 ✗ delete s1;
28 return 0;
29 }
30