GCC Code Coverage Report


Directory: Svc/FileWorker/
Date: 2026-09-03 21:17:47
Exec Total Coverage
Lines: 291 325 89.5%
Functions: 14 14 100.0%
Branches: 220 265 83.0%

Function (File:Line) Call count Block coverage
Svc::FileWorker::FileWorker(char const*) (Svc/FileWorker/FileWorker.cpp:15)called 19 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 19 times86.0%
Svc::FileWorker::getHash(char const*, Utils::Hash&, Utils::HashBuffer&, unsigned char const*, unsigned long) (Svc/FileWorker/FileWorker.cpp:347)called 8 times70.0%
Svc::FileWorker::readBufferFromFile(Fw::Buffer&, char const*) (Svc/FileWorker/FileWorker.cpp:202)called 5 times84.0%
Svc::FileWorker::readFile(Fw::Buffer&, unsigned long, Os::File&, Fw::StringTemplate<200ul> const&) (Svc/FileWorker/FileWorker.cpp:231)called 7 times53.0%
Svc::FileWorker::readFileBytes(Fw::Buffer&, unsigned long, Os::File&, unsigned long&) (Svc/FileWorker/FileWorker.cpp:288)called 9 times79.0%
Svc::FileWorker::readIn_handler(short, Fw::StringBase const&, Fw::Buffer&) (Svc/FileWorker/FileWorker.cpp:36)called 7 times78.0%
Svc::FileWorker::verifyIn_handler(short, Fw::StringBase const&, unsigned int) (Svc/FileWorker/FileWorker.cpp:92)called 5 times86.0%
Svc::FileWorker::writeBufferHashToFile(Fw::Buffer&, char const*, unsigned long, bool) (Svc/FileWorker/FileWorker.cpp:445)called 8 times65.0%
Svc::FileWorker::writeBufferToFile(Fw::Buffer&, char const*, unsigned long, bool) (Svc/FileWorker/FileWorker.cpp:390)called 8 times83.0%
Svc::FileWorker::writeIn_handler(short, Fw::StringBase const&, Fw::Buffer&, unsigned long, bool) (Svc/FileWorker/FileWorker.cpp:128)called 11 times72.0%
Svc::FileWorker::writeToFile(unsigned char const*, unsigned long, Os::File&, char const*) (Svc/FileWorker/FileWorker.cpp:511)called 13 times67.0%
Svc::FileWorker::~FileWorker() (Svc/FileWorker/FileWorker.cpp:26)called 19 times100.0%