GCC Code Coverage Report


Directory: Svc/FileWorker/
Date: 2026-09-23 21:14:27
Exec Total Coverage
Lines: 306 342 89.5%
Functions: 15 15 100.0%
Branches: 243 292 83.2%

Function (File:Line) Call count Block coverage
Svc::FileWorker::FileWorker(char const*) (Svc/FileWorker/FileWorker.cpp:15)called 22 times100.0%
Svc::FileWorker::cancelIn_handler(short) (Svc/FileWorker/FileWorker.cpp:32)called 2 times100.0%
Svc::FileWorker::configure(unsigned long) (Svc/FileWorker/FileWorker.cpp:21)called 22 times86.0%
Svc::FileWorker::getHash(char const*, Utils::Hash&, Utils::HashBuffer&, unsigned char const*, unsigned long) (Svc/FileWorker/FileWorker.cpp:373)called 8 times70.0%
Svc::FileWorker::pathFitsWithHashExtension(Fw::StringBase const&) (Svc/FileWorker/FileWorker.cpp:223)called 32 times100.0%
Svc::FileWorker::readBufferFromFile(Fw::Buffer&, char const*) (Svc/FileWorker/FileWorker.cpp:228)called 6 times84.0%
Svc::FileWorker::readFile(Fw::Buffer&, unsigned long, Os::File&, Fw::StringTemplate<200ul> const&) (Svc/FileWorker/FileWorker.cpp:257)called 8 times53.0%
Svc::FileWorker::readFileBytes(Fw::Buffer&, unsigned long, Os::File&, unsigned long&) (Svc/FileWorker/FileWorker.cpp:314)called 10 times79.0%
Svc::FileWorker::readIn_handler(short, Fw::StringBase const&, Fw::Buffer&) (Svc/FileWorker/FileWorker.cpp:36)called 10 times77.0%
Svc::FileWorker::verifyIn_handler(short, Fw::StringBase const&, unsigned int) (Svc/FileWorker/FileWorker.cpp:99)called 10 times82.0%
Svc::FileWorker::writeBufferHashToFile(Fw::Buffer&, char const*, unsigned long, bool) (Svc/FileWorker/FileWorker.cpp:467)called 10 times53.0%
Svc::FileWorker::writeBufferToFile(Fw::Buffer&, char const*, unsigned long, bool) (Svc/FileWorker/FileWorker.cpp:416)called 10 times83.0%
Svc::FileWorker::writeIn_handler(short, Fw::StringBase const&, Fw::Buffer&, unsigned long, bool) (Svc/FileWorker/FileWorker.cpp:142)called 15 times72.0%
Svc::FileWorker::writeToFile(unsigned char const*, unsigned long, Os::File&, char const*) (Svc/FileWorker/FileWorker.cpp:539)called 17 times67.0%
Svc::FileWorker::~FileWorker() (Svc/FileWorker/FileWorker.cpp:26)called 22 times100.0%