GCC Code Coverage Report


Directory: ./
File: TESTS/TEST_HEADER_GENERATOR/main.cpp
Date: 2025-12-15 11:32:44
Exec Total Coverage
Lines: 7 7 100.0%
Functions: 2 2 100.0%
Branches: 10 10 100.0%

Line Branch Exec Source
1 /***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5 ****************************************/
6
7
8 #include <iostream>
9 #include "header_generator.h"
10
11 ///Test the header generator
12 1 void testHeaderGenerator(){
13
5/5
✓ Branch 0 (2→3) taken 1 times.
✓ Branch 2 (3→4) taken 1 times.
✓ Branch 4 (4→5) taken 1 times.
✓ Branch 6 (5→6) taken 1 times.
✓ Branch 8 (6→7) taken 1 times.
1 saveHeaderSourceFile(PPath(""), PPath(""));
14
5/5
✓ Branch 0 (11→12) taken 1 times.
✓ Branch 2 (12→13) taken 1 times.
✓ Branch 4 (13→14) taken 1 times.
✓ Branch 6 (14→15) taken 1 times.
✓ Branch 8 (15→16) taken 1 times.
1 saveHeaderSourceFile(PPath("file.h"), PPath("file.cpp"));
15 1 }
16
17 1 int main(int argc, char ** argv){
18 1 testHeaderGenerator();
19 1 return 0;
20 }
21
22
23