GCC Code Coverage Report


Directory: Os/Posix/
Date: 2026-09-03 21:16:08
Exec Total Coverage
Lines: 487 759 64.2%
Functions: 81 95 85.3%
Branches: 197 429 45.9%

Function (File:Line) Call count Block coverage
Os::ConditionVariableInterface::getDelegate(unsigned char (&) [56]) (Os/Posix/DefaultMutex.cpp:20)called 25 times100.0%
Os::ConsoleInterface::getDelegate(unsigned char (&) [24], Os::ConsoleInterface const*) (Os/Posix/DefaultConsole.cpp:10)not called0.0%
Os::CountingSemaphoreInterface::getDelegate(unsigned char (&) [48], unsigned int) (Os/Posix/DefaultCountingSemaphore.cpp:10)called 12 times70.0%
Os::DirectoryInterface::getDelegate(unsigned char (&) [16]) (Os/Posix/DefaultFile.cpp:20)called 155 times100.0%
Os::FileInterface::getDelegate(unsigned char (&) [16], Os::FileInterface const*) (Os/Posix/DefaultFile.cpp:14)called 1614 times100.0%
Os::FileSystemInterface::getDelegate(unsigned char (&) [16]) (Os/Posix/DefaultFile.cpp:17)called 1 time100.0%
Os::MutexInterface::getDelegate(unsigned char (&) [72]) (Os/Posix/DefaultMutex.cpp:13)called 1273 times100.0%
Os::Posix::Console::PosixConsole::PosixConsole() (Os/Posix/Console.hpp:36)called 2 times100.0%
Os::Posix::Console::PosixConsole::PosixConsole(Os::Posix::Console::PosixConsole const&) (Os/Posix/Console.hpp:39)not called0.0%
Os::Posix::Console::PosixConsole::getHandle() (Os/Posix/Console.cpp:25)called 3 times100.0%
Os::Posix::Console::PosixConsole::setOutputStream(Os::Posix::Console::PosixConsole::Stream) (Os/Posix/Console.cpp:29)called 2 times86.0%
Os::Posix::Console::PosixConsole::writeMessage(char const*, unsigned long) (Os/Posix/Console.cpp:14)not called0.0%
Os::Posix::Console::PosixConsole::~PosixConsole() (Os/Posix/Console.hpp:46)called 2 times100.0%
Os::Posix::Directory::PosixDirectory::PosixDirectory() (Os/Posix/Directory.cpp:18)called 155 times100.0%
Os::Posix::Directory::PosixDirectory::close() (Os/Posix/Directory.cpp:91)called 333 times94.0%
Os::Posix::Directory::PosixDirectory::getHandle() (Os/Posix/Directory.cpp:20)not called0.0%
Os::Posix::Directory::PosixDirectory::open(char const*, Os::DirectoryInterface::OpenMode) (Os/Posix/Directory.cpp:24)called 252 times80.0%
Os::Posix::Directory::PosixDirectory::read(char*, unsigned long) (Os/Posix/Directory.cpp:59)called 922 times91.0%
Os::Posix::Directory::PosixDirectory::rewind() (Os/Posix/Directory.cpp:52)called 437 times89.0%
Os::Posix::Directory::PosixDirectory::~PosixDirectory() (Os/Posix/Directory.hpp:27)called 155 times100.0%
Os::Posix::File::PosixFile::PosixFile() (Os/Posix/File.hpp:35)called 1282 times100.0%
Os::Posix::File::PosixFile::PosixFile(Os::Posix::File::PosixFile const&) (Os/Posix/File.cpp:57)called 332 times81.0%
Os::Posix::File::PosixFile::close() (Os/Posix/File.cpp:136)called 1955 times100.0%
Os::Posix::File::PosixFile::flush() (Os/Posix/File.cpp:252)called 61 times73.0%
Os::Posix::File::PosixFile::getHandle() (Os/Posix/File.cpp:344)called 2 times100.0%
Os::Posix::File::PosixFile::map_open_create_mode(unsigned int) (Os/Posix/File.cpp:69)called 1782 times100.0%
Os::Posix::File::PosixFile::open(char const*, Os::FileInterface::Mode, Os::FileInterface::OverwriteType) (Os/Posix/File.cpp:101)called 1782 times84.0%
Os::Posix::File::PosixFile::operator=(Os::Posix::File::PosixFile const&) (Os/Posix/File.cpp:62)not called0.0%
Os::Posix::File::PosixFile::position(unsigned long&) (Os/Posix/File.cpp:164)called 7907 times77.0%
Os::Posix::File::PosixFile::preallocate(unsigned long, unsigned long) (Os/Posix/File.cpp:177)called 54 times19.0%
Os::Posix::File::PosixFile::read(unsigned char*, unsigned long&, Os::FileInterface::WaitType) (Os/Posix/File.cpp:261)called 451 times89.0%
Os::Posix::File::PosixFile::seek(long, Os::FileInterface::SeekType) (Os/Posix/File.cpp:235)called 114 times88.0%
Os::Posix::File::PosixFile::size(unsigned long&) (Os/Posix/File.cpp:144)called 3645 times84.0%
Os::Posix::File::PosixFile::write(unsigned char const*, unsigned long&, Os::FileInterface::WaitType) (Os/Posix/File.cpp:302)called 589 times84.0%
Os::Posix::File::PosixFile::~PosixFile() (Os/Posix/File.hpp:45)called 1542 times100.0%
Os::Posix::FileSystem::PosixFileSystem::PosixFileSystem() (Os/Posix/FileSystem.hpp:23)called 1 time100.0%
Os::Posix::FileSystem::PosixFileSystem::_changeWorkingDirectory(char const*) (Os/Posix/FileSystem.cpp:55)called 122 times56.0%
Os::Posix::FileSystem::PosixFileSystem::_getFreeSpace(char const*, unsigned long&, unsigned long&) (Os/Posix/FileSystem.cpp:63)called 58 times63.0%
Os::Posix::FileSystem::PosixFileSystem::_getPathType(char const*, Os::FileSystemInterface::PathType&) (Os/Posix/FileSystem.cpp:106)called 1912 times87.0%
Os::Posix::FileSystem::PosixFileSystem::_getWorkingDirectory(char*, unsigned long) (Os/Posix/FileSystem.cpp:46)called 122 times57.0%
Os::Posix::FileSystem::PosixFileSystem::_removeDirectory(char const*) (Os/Posix/FileSystem.cpp:22)called 171 times89.0%
Os::Posix::FileSystem::PosixFileSystem::_removeFile(char const*) (Os/Posix/FileSystem.cpp:30)called 638 times56.0%
Os::Posix::FileSystem::PosixFileSystem::_rename(char const*, char const*) (Os/Posix/FileSystem.cpp:38)called 146 times57.0%
Os::Posix::FileSystem::PosixFileSystem::getHandle() (Os/Posix/FileSystem.cpp:102)not called0.0%
Os::Posix::FileSystem::PosixFileSystem::~PosixFileSystem() (Os/Posix/FileSystem.hpp:26)called 1 time100.0%
Os::Posix::Mutex::PosixConditionVariable::PosixConditionVariable() (Os/Posix/ConditionVariable.cpp:14)called 25 times65.0%
Os::Posix::Mutex::PosixConditionVariable::getHandle() (Os/Posix/ConditionVariable.cpp:37)not called0.0%
Os::Posix::Mutex::PosixConditionVariable::notify() (Os/Posix/ConditionVariable.cpp:28)called 11 times75.0%
Os::Posix::Mutex::PosixConditionVariable::notifyAll() (Os/Posix/ConditionVariable.cpp:32)called 1 time75.0%
Os::Posix::Mutex::PosixConditionVariable::pend(Os::Mutex&) (Os/Posix/ConditionVariable.cpp:22)called 10 times82.0%
Os::Posix::Mutex::PosixConditionVariable::~PosixConditionVariable() (Os/Posix/ConditionVariable.cpp:18)called 25 times92.0%
Os::Posix::Mutex::PosixMutex::PosixMutex() (Os/Posix/Mutex.cpp:13)called 1273 times67.0%
Os::Posix::Mutex::PosixMutex::getHandle() (Os/Posix/Mutex.cpp:46)called 10 times100.0%
Os::Posix::Mutex::PosixMutex::release() (Os/Posix/Mutex.cpp:41)called 10064387 times88.0%
Os::Posix::Mutex::PosixMutex::take() (Os/Posix/Mutex.cpp:36)called 10783210 times88.0%
Os::Posix::Mutex::PosixMutex::~PosixMutex() (Os/Posix/Mutex.cpp:31)called 1273 times87.0%
Os::Posix::RawTime::PosixRawTime::PosixRawTime() (Os/Posix/RawTime.hpp:26)called 2181 times100.0%
Os::Posix::RawTime::PosixRawTime::deserializeFrom(Fw::SerialBufferBase&, Fw::Endianness) (Os/Posix/RawTime.cpp:57)called 701 times89.0%
Os::Posix::RawTime::PosixRawTime::getHandle() (Os/Posix/RawTime.cpp:74)called 7808 times100.0%
Os::Posix::RawTime::PosixRawTime::getTimeInterval(Os::DelegateRawTime const&, Fw::TimeInterval&) const (Os/Posix/RawTime.cpp:23)called 5026 times93.0%
Os::Posix::RawTime::PosixRawTime::now() (Os/Posix/RawTime.cpp:15)called 724 times64.0%
Os::Posix::RawTime::PosixRawTime::serializeTo(Fw::SerialBufferBase&, Fw::Endianness) const (Os/Posix/RawTime.cpp:47)called 701 times96.0%
Os::Posix::RawTime::PosixRawTime::~PosixRawTime() (Os/Posix/RawTime.hpp:29)called 2181 times100.0%
Os::Posix::Semaphore::PosixCountingSemaphore::PosixCountingSemaphore(unsigned int) (Os/Posix/CountingSemaphore.cpp:15)called 12 times71.0%
Os::Posix::Semaphore::PosixCountingSemaphore::getHandle() (Os/Posix/CountingSemaphore.cpp:69)not called0.0%
Os::Posix::Semaphore::PosixCountingSemaphore::post() (Os/Posix/CountingSemaphore.cpp:63)called 21 times56.0%
Os::Posix::Semaphore::PosixCountingSemaphore::tryWait() (Os/Posix/CountingSemaphore.cpp:57)called 4 times88.0%
Os::Posix::Semaphore::PosixCountingSemaphore::wait() (Os/Posix/CountingSemaphore.cpp:25)called 24 times55.0%
Os::Posix::Semaphore::PosixCountingSemaphore::waitTimeout(Fw::TimeInterval const&) (Os/Posix/CountingSemaphore.cpp:35)called 4 times82.0%
Os::Posix::Semaphore::PosixCountingSemaphore::~PosixCountingSemaphore() (Os/Posix/CountingSemaphore.cpp:21)called 12 times92.0%
Os::Posix::Task::PosixTask::PosixTask() (Os/Posix/Task.hpp:47)called 640 times100.0%
Os::Posix::Task::PosixTask::_delay(Fw::TimeInterval const&) (Os/Posix/Task.cpp:248)called 5728 times72.0%
Os::Posix::Task::PosixTask::create(Os::TaskInterface::Arguments const&, Os::Posix::Task::PosixTask::PermissionExpectation) (Os/Posix/Task.cpp:152)called 425 times72.0%
Os::Posix::Task::PosixTask::getHandle() (Os/Posix/Task.cpp:234)called 425 times100.0%
Os::Posix::Task::PosixTask::join() (Os/Posix/Task.cpp:223)called 425 times83.0%
Os::Posix::Task::PosixTask::onStart() (Os/Posix/Task.cpp:191)called 425 times100.0%
Os::Posix::Task::PosixTask::resume() (Os/Posix/Task.cpp:244)not called0.0%
Os::Posix::Task::PosixTask::start(Os::TaskInterface::Arguments const&) (Os/Posix/Task.cpp:193)called 425 times34.0%
Os::Posix::Task::PosixTask::suspend(Os::TaskInterface::SuspensionType) (Os/Posix/Task.cpp:240)not called0.0%
Os::Posix::Task::PosixTask::~PosixTask() (Os/Posix/Task.hpp:50)called 640 times100.0%
Os::Posix::Task::pthread_entry_wrapper(void*) (Os/Posix/Task.cpp:29)called 425 times88.0%
Os::Posix::Task::set_cpu_affinity(pthread_attr_t&, Os::TaskInterface::Arguments const&) (Os/Posix/Task.cpp:114)not called0.0%
Os::Posix::Task::set_priority_params(pthread_attr_t&, Os::TaskInterface::Arguments const&) (Os/Posix/Task.cpp:79)not called0.0%
Os::Posix::Task::set_stack_size(pthread_attr_t&, Os::TaskInterface::Arguments const&) (Os/Posix/Task.cpp:44)not called0.0%
Os::Posix::Task::set_task_name(unsigned long, char*) (Os/Posix/Task.cpp:137)called 425 times78.0%
Os::Posix::errno_to_directory_status(int) (Os/Posix/error.cpp:106)called 45 times44.0%
Os::Posix::errno_to_file_status(int) (Os/Posix/error.cpp:11)called 127 times75.0%
Os::Posix::errno_to_filesystem_status(int) (Os/Posix/error.cpp:51)called 694 times29.0%
Os::Posix::errno_to_rawtime_status(int) (Os/Posix/error.cpp:131)not called0.0%
Os::Posix::posix_status_to_conditional_status(int) (Os/Posix/error.cpp:188)called 10 times67.0%
Os::Posix::posix_status_to_mutex_status(int) (Os/Posix/error.cpp:169)called 16917598 times71.0%
Os::Posix::posix_status_to_semaphore_status(int) (Os/Posix/error.cpp:204)called 4 times57.0%
Os::Posix::posix_status_to_task_status(int) (Os/Posix/error.cpp:147)called 425 times50.0%
Os::RawTimeInterface::getDelegate(unsigned char (&) [56], Os::RawTimeInterface const*, Os::RawTimeSource) (Os/Posix/DefaultRawTime.cpp:16)called 2890 times100.0%
Os::TaskInterface::getDelegate(unsigned char (&) [40]) (Os/Posix/DefaultTask.cpp:11)called 640 times100.0%