GCC Code Coverage Report


Directory: Utils/Hash/
Date: 2026-09-03 21:18:39
Exec Total Coverage
Lines: 59 166 35.5%
Functions: 12 31 38.7%
Branches: 17 77 22.1%

Function (File:Line) Call count Block coverage
Utils::Hash::Hash() (Utils/Hash/Crc32/HashImpl.cpp:18)called 9 times100.0%
Utils::Hash::addFileExtension(Fw::ConstStringBase const&, Fw::StringBase&) (Utils/Hash/HashCommon.cpp:9)not called0.0%
Utils::Hash::finalize(Utils::HashBuffer&) const (Utils/Hash/Crc32/HashImpl.cpp:40)called 5 times68.0%
Utils::Hash::finalize(unsigned int&) const (Utils/Hash/Crc32/HashImpl.cpp:48)called 4011 times100.0%
Utils::Hash::getFileExtensionLength() (Utils/Hash/HashCommon.cpp:13)not called0.0%
Utils::Hash::getFileExtensionString() (Utils/Hash/HashCommon.cpp:5)not called0.0%
Utils::Hash::hash(void const*, unsigned long, Utils::HashBuffer&) (Utils/Hash/Crc32/HashImpl.cpp:24)called 5 times73.0%
Utils::Hash::init() (Utils/Hash/Crc32/HashImpl.cpp:30)called 4018 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 1546475 times83.0%
Utils::Hash::~Hash() (Utils/Hash/Crc32/HashImpl.cpp:22)called 9 times100.0%
Utils::HashBuffer::HashBuffer() (Utils/Hash/HashBufferCommon.cpp:10)called 10 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 5 times86.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 5 times88.0%
Utils::HashBuffer::operator==(Utils::HashBuffer const&) const (Utils/Hash/HashBufferCommon.cpp:34)not called0.0%
Utils::HashBuffer::~HashBuffer() (Utils/Hash/HashBufferCommon.cpp:17)called 10 times100.0%
Utils::crc32_ieee802_3_update(unsigned char const*, unsigned long, unsigned int) (Utils/Hash/Crc32/Crc32.cpp:172)called 1546475 times95.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%