GCC Code Coverage Report


Directory: Os/Posix/
Date: 2026-09-23 21:12:59
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 174 times100.0%
Os::FileInterface::getDelegate(unsigned char (&) [16], Os::FileInterface const*) (Os/Posix/DefaultFile.cpp:14)called 1514 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 1357 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 174 times100.0%
Os::Posix::Directory::PosixDirectory::close() (Os/Posix/Directory.cpp:91)called 363 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 282 times80.0%
Os::Posix::Directory::PosixDirectory::read(char*, unsigned long) (Os/Posix/Directory.cpp:59)called 480 times91.0%
Os::Posix::Directory::PosixDirectory::rewind() (Os/Posix/Directory.cpp:52)called 452 times89.0%
Os::Posix::Directory::PosixDirectory::~PosixDirectory() (Os/Posix/Directory.hpp:27)called 174 times100.0%
Os::Posix::File::PosixFile::PosixFile() (Os/Posix/File.hpp:35)called 1198 times100.0%
Os::Posix::File::PosixFile::PosixFile(Os::Posix::File::PosixFile const&) (Os/Posix/File.cpp:57)called 316 times81.0%
Os::Posix::File::PosixFile::close() (Os/Posix/File.cpp:136)called 1870 times100.0%
Os::Posix::File::PosixFile::flush() (Os/Posix/File.cpp:252)called 70 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 1693 times100.0%
Os::Posix::File::PosixFile::open(char const*, Os::FileInterface::Mode, Os::FileInterface::OverwriteType) (Os/Posix/File.cpp:101)called 1693 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 8590 times77.0%
Os::Posix::File::PosixFile::preallocate(unsigned long, unsigned long) (Os/Posix/File.cpp:177)called 57 times19.0%
Os::Posix::File::PosixFile::read(unsigned char*, unsigned long&, Os::FileInterface::WaitType) (Os/Posix/File.cpp:261)called 476 times89.0%
Os::Posix::File::PosixFile::seek(long, Os::FileInterface::SeekType) (Os/Posix/File.cpp:235)called 131 times88.0%
Os::Posix::File::PosixFile::size(unsigned long&) (Os/Posix/File.cpp:144)called 3880 times84.0%
Os::Posix::File::PosixFile::write(unsigned char const*, unsigned long&, Os::FileInterface::WaitType) (Os/Posix/File.cpp:302)called 604 times84.0%
Os::Posix::File::PosixFile::~PosixFile() (Os/Posix/File.hpp:45)called 1425 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 148 times56.0%
Os::Posix::FileSystem::PosixFileSystem::_getFreeSpace(char const*, unsigned long&, unsigned long&) (Os/Posix/FileSystem.cpp:63)called 60 times63.0%
Os::Posix::FileSystem::PosixFileSystem::_getPathType(char const*, Os::FileSystemInterface::PathType&) (Os/Posix/FileSystem.cpp:106)called 1824 times87.0%
Os::Posix::FileSystem::PosixFileSystem::_getWorkingDirectory(char*, unsigned long) (Os/Posix/FileSystem.cpp:46)called 148 times57.0%
Os::Posix::FileSystem::PosixFileSystem::_removeDirectory(char const*) (Os/Posix/FileSystem.cpp:22)called 190 times89.0%
Os::Posix::FileSystem::PosixFileSystem::_removeFile(char const*) (Os/Posix/FileSystem.cpp:30)called 631 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 1357 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 3608803 times88.0%
Os::Posix::Mutex::PosixMutex::take() (Os/Posix/Mutex.cpp:36)called 3613690 times88.0%
Os::Posix::Mutex::PosixMutex::~PosixMutex() (Os/Posix/Mutex.cpp:31)called 1357 times87.0%
Os::Posix::RawTime::PosixRawTime::PosixRawTime(Os::RawTimeSource) (Os/Posix/RawTime.cpp:15)called 2249 times100.0%
Os::Posix::RawTime::PosixRawTime::deserializeFrom(Fw::SerialBufferBase&, Fw::Endianness) (Os/Posix/RawTime.cpp:69)called 733 times89.0%
Os::Posix::RawTime::PosixRawTime::getHandle() (Os/Posix/RawTime.cpp:86)called 5818 times100.0%
Os::Posix::RawTime::PosixRawTime::getTimeInterval(Os::DelegateRawTime const&, Fw::TimeInterval&) const (Os/Posix/RawTime.cpp:27)called 5089 times92.0%
Os::Posix::RawTime::PosixRawTime::now() (Os/Posix/RawTime.cpp:19)called 729 times93.0%
Os::Posix::RawTime::PosixRawTime::serializeTo(Fw::SerialBufferBase&, Fw::Endianness) const (Os/Posix/RawTime.cpp:59)called 733 times96.0%
Os::Posix::RawTime::PosixRawTime::~PosixRawTime() (Os/Posix/RawTime.hpp:35)called 2250 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 684 times100.0%
Os::Posix::Task::PosixTask::_delay(Fw::TimeInterval const&) (Os/Posix/Task.cpp:273)called 9210 times72.0%
Os::Posix::Task::PosixTask::create(Os::TaskInterface::Arguments const&, Os::Posix::Task::PosixTask::PermissionExpectation) (Os/Posix/Task.cpp:173)called 447 times80.0%
Os::Posix::Task::PosixTask::getHandle() (Os/Posix/Task.cpp:259)called 446 times100.0%
Os::Posix::Task::PosixTask::join() (Os/Posix/Task.cpp:248)called 446 times83.0%
Os::Posix::Task::PosixTask::onStart() (Os/Posix/Task.cpp:216)called 446 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 446 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 684 times100.0%
Os::Posix::Task::pthread_entry_wrapper(void*) (Os/Posix/Task.cpp:30)called 446 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 446 times78.0%
Os::Posix::errno_to_directory_status(int) (Os/Posix/error.cpp:106)called 47 times44.0%
Os::Posix::errno_to_file_status(int) (Os/Posix/error.cpp:11)called 139 times75.0%
Os::Posix::errno_to_filesystem_status(int) (Os/Posix/error.cpp:51)called 697 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 6715076 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 447 times62.0%
Os::RawTimeInterface::getDelegate(unsigned char (&) [56], Os::RawTimeInterface const*, Os::RawTimeSource) (Os/Posix/DefaultRawTime.cpp:16)called 3011 times100.0%
Os::TaskInterface::getDelegate(unsigned char (&) [40]) (Os/Posix/DefaultTask.cpp:11)called 684 times100.0%