GCC Code Coverage Report


Directory: src/
File: py_phoenix_clock_backend.cpp
Date: 2026-03-03 09:43:10
Exec Total Coverage
Lines: 8 8 100.0%
Functions: 3 3 100.0%
Branches: 3 11 27.3%

Line Branch Exec Source
1 /***************************************
2 Auteur : Thibaut Oprinsen
3 Mail : thibaut.oprinsen@lapp.in2p3.fr
4 Licence : CeCILL-C
5 ****************************************/
6
7 #include <nanobind/nanobind.h>
8
9 #include "clock_backend_binding.h"
10 #include "clock_ns_binding.h"
11 #include "clock_mock_binding.h"
12 #include "clock_mock_file_binding.h"
13 #include "timer_binding.h"
14
15
1/7
✓ Branch 0 (7→8) taken 3 times.
✗ Branch 1 (7→12) not taken.
✗ Branch 2 (16→17) not taken.
✗ Branch 3 (16→18) not taken.
✗ Branch 4 (16→23) not taken.
✗ Branch 5 (25→26) not taken.
✗ Branch 6 (25→27) not taken.
12 NB_MODULE(py_phoenix_clock_backend, m) {
16
2/4
✓ Branch 0 (2→3) taken 3 times.
✗ Branch 1 (2→13) not taken.
✓ Branch 2 (3→4) taken 3 times.
✗ Branch 3 (3→11) not taken.
3 m.doc() = "Python bindings for Phoenix clock backend utilities";
17
18 3 make_clock_backend_binding(m);
19 3 make_clock_ns_binding(m);
20 3 make_clock_mock_binding(m);
21 3 make_clock_mock_file_binding(m);
22 3 make_timer_binding(m);
23 3 }
24