GCC Code Coverage Report


Directory: ./
Date: 2026-01-26 14:45:44
Exec Total Coverage
Lines: 296 298 99.3%
Functions: 77 84 91.7%
Branches: 197 200 98.5%

Function (File:Line) Call count Line coverage Branch coverage Condition coverage Block coverage
testPtimer() (TESTS/TEST_PTIMER/main.cpp:12)called 1 time100.0%100.0%-%80.0%
testPClockNs() (TESTS/TEST_PCLOCKNS/main.cpp:15)called 1 time100.0%100.0%-%51.4%
createMockFile() (TESTS/TEST_CLOCK_MOCK_FILE/main.cpp:13)called 1 time100.0%100.0%-%61.9%
phoenix_dateNs[abi:cxx11](long) (src/PClockNs.cpp:30)called 102 times100.0%-%-%100.0%
phoenix_dateNs[abi:cxx11](long, char const*) (src/PClockNs.cpp:15)called 103 times100.0%100.0%-%88.2%
testCopyPtimer() (TESTS/TEST_PTIMER/main.cpp:21)called 1 time100.0%100.0%-%68.4%
testGenericClock() (TESTS/TEST_GENERIC_CLOCK/main.cpp:59)called 1 time100.0%-%-%100.0%
testClockMockFile() (TESTS/TEST_CLOCK_MOCK_FILE/main.cpp:22)called 1 time100.0%100.0%-%49.7%
testCreateClockMock() (TESTS/TEST_GENERIC_CLOCK/main.cpp:22)called 2 times100.0%100.0%-%56.0%
void testSpecialisedClock<PGenericClock<PClockBackend, PClockMock> >() (TESTS/TEST_GENERIC_CLOCK/main.cpp:28)called 1 time100.0%-%-%51.3%
void testSpecialisedClock<PGenericClock<PClockNs, PClockMock> >() (TESTS/TEST_GENERIC_CLOCK/main.cpp:28)called 1 time100.0%100.0%-%51.3%
phoenix_dateCompactNs[abi:cxx11](long) (src/PClockNs.cpp:38)called 1 time100.0%-%-%100.0%
void phoenix_fillClockMock<PClockMock>(PClockMock&, unsigned long, long, long) (src/PClockMockFile.h:44)called 2 times100.0%-%-%100.0%
void phoenix_fillClockMock<PClockMockFile>(PClockMockFile&, unsigned long, long, long) (src/PClockMockFile.h:44)called 2 times100.0%100.0%-%100.0%
testPClockNsCoherence() (TESTS/TEST_PCLOCKNS/main.cpp:32)called 1 time100.0%100.0%-%82.1%
phoenix_createClockMock(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, long, long) (src/PClockMockFile.cpp:27)called 4 times100.0%100.0%-%76.2%
phoenix_createMockBackend(PClockMock&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/PClockMock.cpp:15)called 2 times100.0%-%-%100.0%
phoenix_createMockBackend(PClockMockFile&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/PClockMockFile.cpp:15)called 2 times100.0%-%-%100.0%
PClockMock::resetIndex() (src/PClockMock.cpp:66)called 2 times100.0%-%-%100.0%
PClockMock::setMockPrefix(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/PClockMock.cpp:59)called 4 times100.0%100.0%-%64.3%
PClockMock::setCurrentTime(long) (src/PClockMock.cpp:50)called 8 times100.0%-%-%100.0%
PClockMock::initialisationPClockMock() (src/PClockMock.cpp:76)called 4 times100.0%-%-%100.0%
PClockMock::now() (src/PClockMock.cpp:33)called 16 times100.0%100.0%-%100.0%
PClockMock::close() (src/PClockMock.cpp:71)called 6 times100.0%-%-%100.0%
PClockMock::PClockMock() (src/PClockMock.cpp:21)called 4 times100.0%100.0%-%56.2%
PClockMock::~PClockMock() (src/PClockMock.cpp:26)not called100.0%-%-%0.0%
PClockMock::~PClockMock() (src/PClockMock.cpp:26)called 4 times100.0%-%-%100.0%
PClockBackend::now() (src/PClockBackend.h:19)called 2 times100.0%-%-%100.0%
PClockBackend::sleep(long) (src/PClockBackend.h:26)called 1 time100.0%100.0%-%100.0%
PGenericClock<PClockBackend, PClockMock>::setMockPrefix(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/PGenericClock_impl.h:92)called 1 time100.0%-%-%100.0%
PGenericClock<PClockBackend, PClockMock>::resetMockIndex() (src/PGenericClock_impl.h:98)called 1 time100.0%-%-%100.0%
PGenericClock<PClockBackend, PClockMock>::initialisationPGenericClock() (src/PGenericClock_impl.h:114)called 1 time100.0%-%-%100.0%
PGenericClock<PClockBackend, PClockMock>::now() (src/PGenericClock_impl.h:64)called 10 times100.0%-%-%100.0%
PGenericClock<PClockBackend, PClockMock>::setMode(PClockMode::PClockMode) (src/PGenericClock_impl.h:48)called 4 times100.0%-%-%100.0%
PGenericClock<PClockBackend, PClockMock>::PGenericClock() (src/PGenericClock_impl.h:16)called 1 time100.0%-%-%100.0%
PGenericClock<PClockBackend, PClockMock>::~PGenericClock() (src/PGenericClock_impl.h:30)not called100.0%-%-%0.0%
PGenericClock<PClockBackend, PClockMock>::~PGenericClock() (src/PGenericClock_impl.h:30)called 1 time100.0%-%-%100.0%
PGenericClock<PClockNs, PClockMock>::setMockPrefix(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/PGenericClock_impl.h:92)called 1 time100.0%-%-%100.0%
PGenericClock<PClockNs, PClockMock>::resetMockIndex() (src/PGenericClock_impl.h:98)called 1 time100.0%50.0%-%100.0%
PGenericClock<PClockNs, PClockMock>::initialisationPGenericClock() (src/PGenericClock_impl.h:114)called 1 time100.0%-%-%100.0%
PGenericClock<PClockNs, PClockMock>::now() (src/PGenericClock_impl.h:64)called 10 times100.0%100.0%-%100.0%
PGenericClock<PClockNs, PClockMock>::setMode(PClockMode::PClockMode) (src/PGenericClock_impl.h:48)called 4 times100.0%-%-%100.0%
PGenericClock<PClockNs, PClockMock>::PGenericClock() (src/PGenericClock_impl.h:16)called 1 time100.0%100.0%-%83.3%
PGenericClock<PClockNs, PClockMock>::~PGenericClock() (src/PGenericClock_impl.h:30)not called100.0%-%-%0.0%
PGenericClock<PClockNs, PClockMock>::~PGenericClock() (src/PGenericClock_impl.h:30)called 1 time100.0%-%-%100.0%
PClockMockFile::setMockPrefix(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/PClockMockFile.cpp:81)called 4 times100.0%100.0%-%64.3%
PClockMockFile::setCurrentTime(long) (src/PClockMockFile.cpp:72)called 4003 times100.0%-%-%100.0%
PClockMockFile::initialisationPClockMockFile() (src/PClockMockFile.cpp:93)called 4 times100.0%-%-%100.0%
PClockMockFile::now() (src/PClockMockFile.cpp:55)called 4 times100.0%100.0%-%100.0%
PClockMockFile::close() (src/PClockMockFile.cpp:88)called 6 times100.0%-%-%100.0%
PClockMockFile::PClockMockFile() (src/PClockMockFile.cpp:43)called 4 times100.0%100.0%-%56.2%
PClockMockFile::~PClockMockFile() (src/PClockMockFile.cpp:48)not called100.0%-%-%0.0%
PClockMockFile::~PClockMockFile() (src/PClockMockFile.cpp:48)called 4 times100.0%-%-%100.0%
PTimer::copyPTimer(PTimer const&) (src/PTimer.cpp:87)called 2 times100.0%-%-%100.0%
PTimer::setStartTime(long) (src/PTimer.cpp:43)called 2 times100.0%-%-%100.0%
PTimer::setEllapsedTime(long) (src/PTimer.cpp:50)called 1 time100.0%-%-%100.0%
PTimer::initialisationPTimer() (src/PTimer.cpp:93)called 3 times100.0%-%-%100.0%
PTimer::isTime(long&, long) (src/PTimer.cpp:75)called 2 times100.0%100.0%-%100.0%
PTimer::isTime(long) (src/PTimer.cpp:65)called 2 times100.0%100.0%-%100.0%
PTimer::PTimer(PTimer const&) (src/PTimer.cpp:22)called 1 time100.0%-%-%100.0%
PTimer::PTimer(long) (src/PTimer.cpp:12)called 3 times100.0%-%-%100.0%
PTimer::~PTimer() (src/PTimer.cpp:27)not called100.0%-%-%0.0%
PTimer::~PTimer() (src/PTimer.cpp:27)called 4 times100.0%-%-%100.0%
PTimer::operator=(PTimer const&) (src/PTimer.cpp:35)called 1 time100.0%-%-%100.0%
PClockNs::setOffsetTimeNs(long) (src/PClockNs.cpp:55)called 1 time100.0%-%-%100.0%
PClockNs::initialisationPClockNs() (src/PClockNs.cpp:106)called 4 times100.0%-%-%100.0%
PClockNs::PClockNs() (src/PClockNs.cpp:43)called 4 times100.0%-%-%100.0%
PClockNs::~PClockNs() (src/PClockNs.cpp:48)not called100.0%-%-%0.0%
PClockNs::~PClockNs() (src/PClockNs.cpp:48)called 5 times100.0%-%-%100.0%
PClockMock::sleep(long) const (src/PClockMock.cpp:43)called 4 times100.0%-%-%100.0%
PGenericClock<PClockBackend, PClockMock>::sleep(long) const (src/PGenericClock_impl.h:80)called 3 times100.0%-%-%100.0%
PGenericClock<PClockNs, PClockMock>::sleep(long) const (src/PGenericClock_impl.h:80)called 3 times100.0%66.7%-%100.0%
PClockMockFile::sleep(long) const (src/PClockMockFile.cpp:65)not called0.0%-%-%0.0%
PTimer::getEllapsedTime() const (src/PTimer.cpp:57)called 2 times100.0%-%-%100.0%
PClockNs::getFullTimeNs() const (src/PClockNs.cpp:69)called 107 times100.0%100.0%-%85.7%
PClockNs::getOffsetTimeNs() const (src/PClockNs.cpp:62)called 3 times100.0%-%-%100.0%
PClockNs::getDateCompactNs[abi:cxx11]() const (src/PClockNs.cpp:87)called 1 time100.0%-%-%100.0%
PClockNs::now() const (src/PClockNs.cpp:94)called 2 times100.0%-%-%100.0%
PClockNs::sleep(long) const (src/PClockNs.cpp:101)called 1 time100.0%100.0%-%100.0%
PClockNs::getDateNs[abi:cxx11]() const (src/PClockNs.cpp:80)called 2 times100.0%-%-%100.0%
main (TESTS/TEST_CLOCK_MOCK_FILE/main.cpp:33)called 1 time100.0%-%-%100.0%
main (TESTS/TEST_GENERIC_CLOCK/main.cpp:65)called 1 time100.0%-%-%100.0%
main (TESTS/TEST_PCLOCKNS/main.cpp:41)called 1 time100.0%-%-%100.0%
main (TESTS/TEST_PTIMER/main.cpp:33)called 1 time100.0%-%-%100.0%