GCC Code Coverage Report


Directory: Utils/
Date: 2026-09-03 21:18:37
Exec Total Coverage
Lines: 284 646 44.0%
Functions: 45 104 43.3%
Branches: 161 346 46.5%

Function (File:Line) Call count Block coverage
Fw::SerializeStatus Types::CircularBuffer::peek_impl<Fw::LinearBufferBase>(Fw::LinearBufferBase&, unsigned long, unsigned long) const (Utils/Types/CircularBuffer.cpp:170)not called0.0%
Fw::SerializeStatus Types::CircularBuffer::peek_impl<Fw::Serializable>(Fw::Serializable&, unsigned long, unsigned long) const (Utils/Types/CircularBuffer.cpp:170)not called0.0%
Fw::SerializeStatus Types::CircularBuffer::serialize_impl<Fw::LinearBufferBase>(Fw::LinearBufferBase const&, unsigned long) (Utils/Types/CircularBuffer.cpp:78)not called0.0%
Fw::SerializeStatus Types::CircularBuffer::serialize_impl<Fw::Serializable>(Fw::Serializable const&, unsigned long) (Utils/Types/CircularBuffer.cpp:78)not called0.0%
Fw::SerializeStatus Types::Queue::dequeue_impl<Fw::LinearBufferBase>(Fw::LinearBufferBase&) (Utils/Types/Queue.cpp:128)not called0.0%
Fw::SerializeStatus Types::Queue::dequeue_impl<Fw::Serializable>(Fw::Serializable&) (Utils/Types/Queue.cpp:128)not called0.0%
Fw::SerializeStatus Types::Queue::enqueue_impl<Fw::LinearBufferBase>(Fw::LinearBufferBase const&) (Utils/Types/Queue.cpp:65)not called0.0%
Fw::SerializeStatus Types::Queue::enqueue_impl<Fw::Serializable>(Fw::Serializable const&) (Utils/Types/Queue.cpp:65)not called0.0%
Fw::SerializeStatus Types::Queue::popFront_impl<Fw::LinearBufferBase>(Fw::LinearBufferBase&) (Utils/Types/Queue.cpp:175)not called0.0%
Fw::SerializeStatus Types::Queue::popFront_impl<Fw::Serializable>(Fw::Serializable&) (Utils/Types/Queue.cpp:175)not called0.0%
Types::CircularBuffer::CircularBuffer() (Utils/Types/CircularBuffer.cpp:21)not called0.0%
Types::CircularBuffer::CircularBuffer(unsigned char*, unsigned long) (Utils/Types/CircularBuffer.cpp:24)not called0.0%
Types::CircularBuffer::advance_idx(unsigned long, unsigned long) const (Utils/Types/CircularBuffer.cpp:52)not called0.0%
Types::CircularBuffer::clear_high_water_mark() (Utils/Types/CircularBuffer.cpp:237)not called0.0%
Types::CircularBuffer::get_allocated_size() const (Utils/Types/CircularBuffer.cpp:42)not called0.0%
Types::CircularBuffer::get_capacity() const (Utils/Types/CircularBuffer.cpp:228)not called0.0%
Types::CircularBuffer::get_free_size() const (Utils/Types/CircularBuffer.cpp:46)not called0.0%
Types::CircularBuffer::get_high_water_mark() const (Utils/Types/CircularBuffer.cpp:233)not called0.0%
Types::CircularBuffer::peek(Fw::LinearBufferBase&, unsigned long, unsigned long) const (Utils/Types/CircularBuffer.cpp:202)not called0.0%
Types::CircularBuffer::peek(Fw::Serializable&, unsigned long, unsigned long) const (Utils/Types/CircularBuffer.cpp:198)not called0.0%
Types::CircularBuffer::peek(char&, unsigned long) const (Utils/Types/CircularBuffer.cpp:117)not called0.0%
Types::CircularBuffer::peek(unsigned char&, unsigned long) const (Utils/Types/CircularBuffer.cpp:122)not called0.0%
Types::CircularBuffer::peek(unsigned char*, unsigned long, unsigned long) const (Utils/Types/CircularBuffer.cpp:152)not called0.0%
Types::CircularBuffer::peek(unsigned int&, unsigned long) const (Utils/Types/CircularBuffer.cpp:134)not called0.0%
Types::CircularBuffer::rotate(unsigned long) (Utils/Types/CircularBuffer.cpp:206)not called0.0%
Types::CircularBuffer::serialize(Fw::LinearBufferBase const&, unsigned long) (Utils/Types/CircularBuffer.cpp:113)not called0.0%
Types::CircularBuffer::serialize(Fw::Serializable const&, unsigned long) (Utils/Types/CircularBuffer.cpp:109)not called0.0%
Types::CircularBuffer::serialize(unsigned char const*, unsigned long) (Utils/Types/CircularBuffer.cpp:57)not called0.0%
Types::CircularBuffer::setup(unsigned char*, unsigned long) (Utils/Types/CircularBuffer.cpp:29)not called0.0%
Types::CircularBuffer::trim(unsigned long) (Utils/Types/CircularBuffer.cpp:217)not called0.0%
Types::Queue::Queue() (Utils/Types/Queue.cpp:15)not called0.0%
Types::Queue::clear_high_water_mark() (Utils/Types/Queue.cpp:198)not called0.0%
Types::Queue::dequeue(Fw::LinearBufferBase&) (Utils/Types/Queue.cpp:158)not called0.0%
Types::Queue::dequeue(Fw::Serializable&) (Utils/Types/Queue.cpp:154)not called0.0%
Types::Queue::dequeue(unsigned char*, unsigned long) (Utils/Types/Queue.cpp:98)not called0.0%
Types::Queue::enqueue(Fw::LinearBufferBase const&) (Utils/Types/Queue.cpp:94)not called0.0%
Types::Queue::enqueue(Fw::Serializable const&) (Utils/Types/Queue.cpp:90)not called0.0%
Types::Queue::enqueue(unsigned char const*, unsigned long) (Utils/Types/Queue.cpp:36)not called0.0%
Types::Queue::getQueueSize() const (Utils/Types/Queue.cpp:202)not called0.0%
Types::Queue::get_high_water_mark() const (Utils/Types/Queue.cpp:193)not called0.0%
Types::Queue::popFront(Fw::LinearBufferBase&) (Utils/Types/Queue.cpp:189)not called0.0%
Types::Queue::popFront(Fw::Serializable&) (Utils/Types/Queue.cpp:185)not called0.0%
Types::Queue::popFront(unsigned char*, unsigned long) (Utils/Types/Queue.cpp:162)not called0.0%
Types::Queue::setup(unsigned char*, unsigned long, unsigned long, unsigned long, Types::QueueMode, Types::QueueOverflowMode) (Utils/Types/Queue.cpp:17)not called0.0%
Utils::Hash::Hash() (Utils/Hash/Crc32/HashImpl.cpp:18)called 414 times100.0%
Utils::Hash::addFileExtension(Fw::ConstStringBase const&, Fw::StringBase&) (Utils/Hash/HashCommon.cpp:9)called 1 time100.0%
Utils::Hash::finalize(Utils::HashBuffer&) const (Utils/Hash/Crc32/HashImpl.cpp:40)called 2 times68.0%
Utils::Hash::finalize(unsigned int&) const (Utils/Hash/Crc32/HashImpl.cpp:48)called 98 times100.0%
Utils::Hash::getFileExtensionLength() (Utils/Hash/HashCommon.cpp:13)called 1 time100.0%
Utils::Hash::getFileExtensionString() (Utils/Hash/HashCommon.cpp:5)called 1 time100.0%
Utils::Hash::hash(void const*, unsigned long, Utils::HashBuffer&) (Utils/Hash/Crc32/HashImpl.cpp:24)called 2 times73.0%
Utils::Hash::init() (Utils/Hash/Crc32/HashImpl.cpp:30)called 753 times100.0%
Utils::Hash::setHashValue(Utils::HashBuffer&) (Utils/Hash/Crc32/HashImpl.cpp:53)not called0.0%
Utils::Hash::setHashValue(unsigned int) (Utils/Hash/Crc32/HashImpl.cpp:61)not called0.0%
Utils::Hash::update(void const*, unsigned long) (Utils/Hash/Crc32/HashImpl.cpp:34)called 207 times83.0%
Utils::Hash::~Hash() (Utils/Hash/Crc32/HashImpl.cpp:22)called 414 times100.0%
Utils::HashBuffer::HashBuffer() (Utils/Hash/HashBufferCommon.cpp:10)called 4 times100.0%
Utils::HashBuffer::HashBuffer(Utils::HashBuffer const&) (Utils/Hash/HashBufferCommon.cpp:19)not called0.0%
Utils::HashBuffer::HashBuffer(unsigned char const*, unsigned long) (Utils/Hash/HashBufferCommon.cpp:12)not called0.0%
Utils::HashBuffer::asBigEndianU32() const (Utils/Hash/HashBufferCommon.cpp:49)called 1 time86.0%
Utils::HashBuffer::getBuffCapacity() const (Utils/Hash/HashBufferCommon.cpp:45)not called0.0%
Utils::HashBuffer::operator!=(Utils::HashBuffer const&) const (Utils/Hash/HashBufferCommon.cpp:41)not called0.0%
Utils::HashBuffer::operator=(Utils::HashBuffer const&) (Utils/Hash/HashBufferCommon.cpp:24)called 2 times88.0%
Utils::HashBuffer::operator==(Utils::HashBuffer const&) const (Utils/Hash/HashBufferCommon.cpp:34)called 1 time95.0%
Utils::HashBuffer::~HashBuffer() (Utils/Hash/HashBufferCommon.cpp:17)called 4 times100.0%
Utils::RateLimiter::RateLimiter() (Utils/RateLimiter.cpp:20)called 2 times67.0%
Utils::RateLimiter::RateLimiter(unsigned int, unsigned int) (Utils/RateLimiter.cpp:16)called 17 times67.0%
Utils::RateLimiter::reset() (Utils/RateLimiter.cpp:32)called 45 times100.0%
Utils::RateLimiter::resetCounter() (Utils/RateLimiter.cpp:37)called 45 times100.0%
Utils::RateLimiter::resetTime() (Utils/RateLimiter.cpp:41)called 45 times80.0%
Utils::RateLimiter::setCounter(unsigned int) (Utils/RateLimiter.cpp:46)called 3 times100.0%
Utils::RateLimiter::setCounterCycle(unsigned int) (Utils/RateLimiter.cpp:24)called 1 time100.0%
Utils::RateLimiter::setTime(Fw::Time) (Utils/RateLimiter.cpp:50)called 4 times100.0%
Utils::RateLimiter::setTimeCycle(unsigned int) (Utils/RateLimiter.cpp:28)called 1 time100.0%
Utils::RateLimiter::shouldCounterTrigger() (Utils/RateLimiter.cpp:95)called 930115 times86.0%
Utils::RateLimiter::shouldTimeTrigger(Fw::Time) (Utils/RateLimiter.cpp:104)called 1191953 times74.0%
Utils::RateLimiter::trigger() (Utils/RateLimiter.cpp:90)called 40117 times64.0%
Utils::RateLimiter::trigger(Fw::Time) (Utils/RateLimiter.cpp:55)called 1340138 times82.0%
Utils::RateLimiter::updateCounter(bool) (Utils/RateLimiter.cpp:115)called 930115 times84.0%
Utils::RateLimiter::updateTime(bool, Fw::Time) (Utils/RateLimiter.cpp:134)called 1200020 times93.0%
Utils::TokenBucket::TokenBucket(unsigned int, unsigned int) (Utils/TokenBucket.cpp:26)called 6 times64.0%
Utils::TokenBucket::TokenBucket(unsigned int, unsigned int, unsigned int, unsigned int, Fw::Time) (Utils/TokenBucket.cpp:19)called 4 times100.0%
Utils::TokenBucket::getMaxTokens() const (Utils/TokenBucket.cpp:57)called 2 times100.0%
Utils::TokenBucket::getReplenishInterval() const (Utils/TokenBucket.cpp:53)called 2 times100.0%
Utils::TokenBucket::getReplenishRate() const (Utils/TokenBucket.cpp:61)called 2 times100.0%
Utils::TokenBucket::getTokens() const (Utils/TokenBucket.cpp:65)called 900 times100.0%
Utils::TokenBucket::replenish() (Utils/TokenBucket.cpp:47)called 5 times100.0%
Utils::TokenBucket::setMaxTokens(unsigned int) (Utils/TokenBucket.cpp:39)called 1 time100.0%
Utils::TokenBucket::setReplenishInterval(unsigned int) (Utils/TokenBucket.cpp:35)called 2 times100.0%
Utils::TokenBucket::setReplenishRate(unsigned int) (Utils/TokenBucket.cpp:43)called 1 time100.0%
Utils::TokenBucket::trigger(Fw::Time) (Utils/TokenBucket.cpp:69)called 5352 times88.0%
Utils::crc32_ieee802_3_update(unsigned char const*, unsigned long, unsigned int) (Utils/Hash/Crc32/Crc32.cpp:172)called 207 times80.0%
Utils::create_checksum_file(char const*) (Utils/CRCChecker.cpp:21)called 34 times69.0%
Utils::read_crc32_from_file(char const*, unsigned int&) (Utils/CRCChecker.cpp:103)called 62 times76.0%
Utils::verify_checksum(char const*, unsigned int&, unsigned int&) (Utils/CRCChecker.cpp:130)called 60 times73.0%
init_crc16_tab (Utils/Hash/libcrc/lib_crc.c:310)not called0.0%
init_crcccitt_tab (Utils/Hash/libcrc/lib_crc.c:454)not called0.0%
init_crcdnp_tab (Utils/Hash/libcrc/lib_crc.c:382)not called0.0%
init_crckermit_tab (Utils/Hash/libcrc/lib_crc.c:346)not called0.0%
update_crc_16 (Utils/Hash/libcrc/lib_crc.c:198)not called0.0%
update_crc_ccitt (Utils/Hash/libcrc/lib_crc.c:141)not called0.0%
update_crc_dnp (Utils/Hash/libcrc/lib_crc.c:254)not called0.0%
update_crc_kermit (Utils/Hash/libcrc/lib_crc.c:227)not called0.0%
update_crc_sick (Utils/Hash/libcrc/lib_crc.c:169)not called0.0%