GCC Code Coverage Report


Directory: Os/Posix/
Date: 2026-10-14 21:17:27
Exec Total Coverage
Lines: 554 780 71.0%
Functions: 84 96 87.5%
Branches: 228 448 50.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 156 times100.0%
Os::FileInterface::getDelegate(unsigned char (&) [16], Os::FileInterface const*) (Os/Posix/DefaultFile.cpp:14)called 1930 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 1391 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 156 times100.0%
Os::Posix::Directory::PosixDirectory::close() (Os/Posix/Directory.cpp:91)called 335 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 264 times80.0%
Os::Posix::Directory::PosixDirectory::read(char*, unsigned long) (Os/Posix/Directory.cpp:59)called 423 times91.0%
Os::Posix::Directory::PosixDirectory::rewind() (Os/Posix/Directory.cpp:52)called 423 times89.0%
Os::Posix::Directory::PosixDirectory::~PosixDirectory() (Os/Posix/Directory.hpp:27)called 156 times100.0%
Os::Posix::File::PosixFile::PosixFile() (Os/Posix/File.hpp:35)called 1578 times100.0%
Os::Posix::File::PosixFile::PosixFile(Os::Posix::File::PosixFile const&) (Os/Posix/File.cpp:57)called 352 times81.0%
Os::Posix::File::PosixFile::close() (Os/Posix/File.cpp:136)called 2322 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 2099 times100.0%
Os::Posix::File::PosixFile::open(char const*, Os::FileInterface::Mode, Os::FileInterface::OverwriteType) (Os/Posix/File.cpp:101)called 2099 times88.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 8792 times77.0%
Os::Posix::File::PosixFile::preallocate(unsigned long, unsigned long) (Os/Posix/File.cpp:177)called 67 times19.0%
Os::Posix::File::PosixFile::read(unsigned char*, unsigned long&, Os::FileInterface::WaitType) (Os/Posix/File.cpp:261)called 611 times89.0%
Os::Posix::File::PosixFile::seek(long, Os::FileInterface::SeekType) (Os/Posix/File.cpp:235)called 113 times88.0%
Os::Posix::File::PosixFile::size(unsigned long&) (Os/Posix/File.cpp:144)called 4132 times84.0%
Os::Posix::File::PosixFile::write(unsigned char const*, unsigned long&, Os::FileInterface::WaitType) (Os/Posix/File.cpp:302)called 707 times84.0%
Os::Posix::File::PosixFile::~PosixFile() (Os/Posix/File.hpp:45)called 1846 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 110 times56.0%
Os::Posix::FileSystem::PosixFileSystem::_getFreeSpace(char const*, unsigned long&, unsigned long&) (Os/Posix/FileSystem.cpp:63)called 67 times63.0%
Os::Posix::FileSystem::PosixFileSystem::_getPathType(char const*, Os::FileSystemInterface::PathType&) (Os/Posix/FileSystem.cpp:106)called 1874 times87.0%
Os::Posix::FileSystem::PosixFileSystem::_getWorkingDirectory(char*, unsigned long) (Os/Posix/FileSystem.cpp:46)called 110 times57.0%
Os::Posix::FileSystem::PosixFileSystem::_removeDirectory(char const*) (Os/Posix/FileSystem.cpp:22)called 174 times89.0%
Os::Posix::FileSystem::PosixFileSystem::_removeFile(char const*) (Os/Posix/FileSystem.cpp:30)called 668 times56.0%
Os::Posix::FileSystem::PosixFileSystem::_rename(char const*, char const*) (Os/Posix/FileSystem.cpp:38)called 127 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:39)not called0.0%
Os::Posix::Mutex::PosixConditionVariable::notify() (Os/Posix/ConditionVariable.cpp:30)called 11 times75.0%
Os::Posix::Mutex::PosixConditionVariable::notifyAll() (Os/Posix/ConditionVariable.cpp:34)called 1 time75.0%
Os::Posix::Mutex::PosixConditionVariable::pend(Os::DelegateMutex&) (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 1391 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 3601325 times88.0%
Os::Posix::Mutex::PosixMutex::take() (Os/Posix/Mutex.cpp:36)called 3548096 times88.0%
Os::Posix::Mutex::PosixMutex::~PosixMutex() (Os/Posix/Mutex.cpp:31)called 1391 times87.0%
Os::Posix::RawTime::PosixRawTime::PosixRawTime(Os::RawTimeSource) (Os/Posix/RawTime.cpp:15)called 2164 times100.0%
Os::Posix::RawTime::PosixRawTime::deserializeFrom(Fw::SerialBufferBase&, Fw::Endianness) (Os/Posix/RawTime.cpp:69)called 749 times89.0%
Os::Posix::RawTime::PosixRawTime::getHandle() (Os/Posix/RawTime.cpp:86)called 5738 times100.0%
Os::Posix::RawTime::PosixRawTime::getTimeInterval(Os::DelegateRawTime const&, Fw::TimeInterval&) const (Os/Posix/RawTime.cpp:27)called 4944 times92.0%
Os::Posix::RawTime::PosixRawTime::now() (Os/Posix/RawTime.cpp:19)called 794 times93.0%
Os::Posix::RawTime::PosixRawTime::serializeTo(Fw::SerialBufferBase&, Fw::Endianness) const (Os/Posix/RawTime.cpp:59)called 749 times96.0%
Os::Posix::RawTime::PosixRawTime::~PosixRawTime() (Os/Posix/RawTime.hpp:35)called 2165 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 11 times88.0%
Os::Posix::Semaphore::PosixCountingSemaphore::wait() (Os/Posix/CountingSemaphore.cpp:25)called 34 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:54)called 701 times100.0%
Os::Posix::Task::PosixTask::_delay(Fw::TimeInterval const&) (Os/Posix/Task.cpp:273)called 2585 times72.0%
Os::Posix::Task::PosixTask::create(Os::TaskInterface::Arguments const&, Os::Posix::Task::PosixTask::PermissionExpectation) (Os/Posix/Task.cpp:173)called 393 times80.0%
Os::Posix::Task::PosixTask::getHandle() (Os/Posix/Task.cpp:259)called 392 times100.0%
Os::Posix::Task::PosixTask::join() (Os/Posix/Task.cpp:248)called 392 times83.0%
Os::Posix::Task::PosixTask::onStart() (Os/Posix/Task.cpp:216)called 392 times100.0%
Os::Posix::Task::PosixTask::resume() (Os/Posix/Task.cpp:269)not called0.0%
Os::Posix::Task::PosixTask::start(Os::TaskInterface::Arguments const&) (Os/Posix/Task.cpp:218)called 392 times94.0%
Os::Posix::Task::PosixTask::suspend(Os::TaskInterface::SuspensionType) (Os/Posix/Task.cpp:265)not called0.0%
Os::Posix::Task::PosixTask::~PosixTask() (Os/Posix/Task.hpp:57)called 701 times100.0%
Os::Posix::Task::pthread_entry_wrapper(void*) (Os/Posix/Task.cpp:30)called 392 times88.0%
Os::Posix::Task::set_cpu_affinity(pthread_attr_t&, Os::TaskInterface::Arguments const&) (Os/Posix/Task.cpp:135)not called0.0%
Os::Posix::Task::set_non_realtime_params(pthread_attr_t&) (Os/Posix/Task.cpp:115)called 1 time73.0%
Os::Posix::Task::set_priority_params(pthread_attr_t&, Os::TaskInterface::Arguments const&) (Os/Posix/Task.cpp:80)called 1 time49.0%
Os::Posix::Task::set_stack_size(pthread_attr_t&, Os::TaskInterface::Arguments const&) (Os/Posix/Task.cpp:45)not called0.0%
Os::Posix::Task::set_task_name(unsigned long, char*) (Os/Posix/Task.cpp:158)called 392 times78.0%
Os::Posix::errno_to_directory_status(int) (Os/Posix/error.cpp:106)called 52 times44.0%
Os::Posix::errno_to_file_status(int) (Os/Posix/error.cpp:11)called 123 times75.0%
Os::Posix::errno_to_filesystem_status(int) (Os/Posix/error.cpp:51)called 659 times29.0%
Os::Posix::errno_to_rawtime_status(int) (Os/Posix/error.cpp:131)called 1 time67.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 5923828 times71.0%
Os::Posix::posix_status_to_semaphore_status(int) (Os/Posix/error.cpp:204)called 8 times57.0%
Os::Posix::posix_status_to_task_status(int) (Os/Posix/error.cpp:147)called 393 times62.0%
Os::RawTimeInterface::getDelegate(unsigned char (&) [56], Os::RawTimeInterface const*, Os::RawTimeSource) (Os/Posix/DefaultRawTime.cpp:16)called 2846 times100.0%
Os::TaskInterface::getDelegate(unsigned char (&) [40]) (Os/Posix/DefaultTask.cpp:11)called 701 times100.0%