GCC Code Coverage Report


Directory: ./
File: TESTS/TEST_DAEMONS/TEST_DAEMON_WORKFLOW/StatManager/main_stat_manager.cpp
Date: 2026-01-15 15:35:36
Exec Total Coverage
Lines: 5 5 100.0%
Functions: 1 1 100.0%
Branches: 7 7 100.0%

Line Branch Exec Source
1 /***************************************
2 Auteur : Thibaut Oprinsen
3 Mail : thibaut.oprinsen@lapp.in2p3.fr
4 Licence : CeCILL-C
5 ****************************************/
6
7 #include "StatManager_override.h"
8 #include "DaemonBackend.h"
9 #include "phoenix_assert.h"
10 #include <thread>
11 #include <future>
12 #include <chrono>
13
14 void checkStatsReceived(StatDaemonManager<DaemonBackend> & statManager, PLog & log);
15
16 1 int main(int argc, char **argv){
17
1/1
✓ Branch 0 (2→3) taken 1 times.
1 StatManagerOverride statManager;
18
5/5
✓ Branch 0 (5→6) taken 1 times.
✓ Branch 2 (8→9) taken 1 times.
✓ Branch 4 (11→12) taken 1 times.
✓ Branch 6 (12→13) taken 1 times.
✓ Branch 8 (13→14) taken 1 times.
5 phoenix_assert(statManager.parseArgument(argc, argv));
19
1/1
✓ Branch 0 (20→21) taken 1 times.
1 return (!statManager.run());
20 1 }
21