GCC Code Coverage Report


Directory: src/
File: py_phoenix_clock_backend.cpp
Date: 2026-09-18 12:31:20
Exec Total Coverage
Lines: 8 8 100.0%
Functions: 3 3 100.0%
Branches: 4 13 30.8%

Line Branch Exec Source
1 /***************************************
2 Auteur : Thibaut Oprinsen
3 Mail : thibaut.oprinsen@lapp.in2p3.fr
4 Licence : LGPL-3.0-only
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
2/9
✗ Branch 0 (5→6) not taken.
✓ Branch 1 (5→7) taken 2 times.
✓ Branch 2 (7→8) taken 2 times.
✗ Branch 3 (7→10) not taken.
✗ Branch 4 (18→19) not taken.
✗ Branch 5 (18→20) not taken.
✗ Branch 6 (18→25) not taken.
✗ Branch 7 (27→28) not taken.
✗ Branch 8 (27→29) not taken.
5 NB_MODULE(py_phoenix_clock_backend, m) {
16
2/4
✓ Branch 0 (2→3) taken 1 times.
✗ Branch 1 (2→13) not taken.
✓ Branch 2 (3→4) taken 1 times.
✗ Branch 3 (3→11) not taken.
1 m.doc() = "Python bindings for Phoenix clock backend utilities";
17
18 1 make_clock_backend_binding(m);
19 1 make_clock_ns_binding(m);
20 1 make_clock_mock_binding(m);
21 1 make_clock_mock_file_binding(m);
22 1 make_timer_binding(m);
23 1 }
24