GCC Code Coverage Report


Directory: lib/fprime-samd/fprime-samd/
Date: 2026-10-20 16:44:20
Exec Total Coverage
Lines: 1224 1278 95.8%
Functions: 114 115 99.1%
Branches: 929 1587 58.5%

Function (File:Line) Call count Block coverage
Os::Samd21::timeInterval(Os::Samd21::Samd21RawTimeHandle const&, Os::Samd21::Samd21RawTimeHandle const&) (lib/fprime-samd/fprime-samd/Drv/RtcDriver/RtcDriver.cpp:53)called 5 times100.0%
Os::Samd21::timeNow() (lib/fprime-samd/fprime-samd/Drv/RtcDriver/RtcDriver.cpp:18)called 9 times82.0%
Samd21::AdcDriver::AdcDriver(char const*) (lib/fprime-samd/fprime-samd/Drv/AdcDriver/AdcDriver.cpp:19)called 21 times100.0%
Samd21::AdcDriver::activeIn_handler(short, unsigned int) (lib/fprime-samd/fprime-samd/Drv/AdcDriver/AdcDriver.cpp:117)called 31 times92.0%
Samd21::AdcDriver::configure(Samd21::AdcDriver::VoltageReference, Samd21::AdcDriver::Resolution, Samd21::AdcDriver::SampleCount, unsigned char, Samd21::AdcDriver::Gain) (lib/fprime-samd/fprime-samd/Drv/AdcDriver/AdcDriver.cpp:44)called 37 times93.0%
Samd21::AdcDriver::configureChannel(short, Samd21::AdcDriver::AdcChannel) (lib/fprime-samd/fprime-samd/Drv/AdcDriver/AdcDriver.cpp:67)called 25 times84.0%
Samd21::AdcDriver::handleInterrupt() (lib/fprime-samd/fprime-samd/Drv/AdcDriver/AdcDriver.cpp:144)called 27 times100.0%
Samd21::AdcDriver::readAdc_handler(short) (lib/fprime-samd/fprime-samd/Drv/AdcDriver/AdcDriver.cpp:90)called 27 times95.0%
Samd21::AdcDriver::~AdcDriver() (lib/fprime-samd/fprime-samd/Drv/AdcDriver/AdcDriver.cpp:34)called 21 times100.0%
Samd21::Framer::Framer(char const*) (lib/fprime-samd/fprime-samd/Svc/Framer/Framer.cpp:22)called 6 times100.0%
Samd21::Framer::comPacketQueueIn_handler(short, Fw::LinearBufferTemplate<128ul>&, unsigned int) (lib/fprime-samd/fprime-samd/Svc/Framer/Framer.cpp:37)called 23 times72.0%
Samd21::Framer::drvConnected_handler(short) (lib/fprime-samd/fprime-samd/Svc/Framer/Framer.cpp:108)called 6 times100.0%
Samd21::Framer::drvReturnIn_handler(short, Fw::Buffer&, Drv::ByteStreamStatus const&) (lib/fprime-samd/fprime-samd/Svc/Framer/Framer.cpp:112)called 5 times94.0%
Samd21::Framer::flushActiveBuffer() (lib/fprime-samd/fprime-samd/Svc/Framer/Framer.cpp:125)called 10 times83.0%
Samd21::Framer::schedIn_handler(short, unsigned int) (lib/fprime-samd/fprime-samd/Svc/Framer/Framer.cpp:149)called 10 times86.0%
Samd21::Framer::~Framer() (lib/fprime-samd/fprime-samd/Svc/Framer/Framer.cpp:31)called 6 times100.0%
Samd21::GpioDriver::GpioDriver(char const*) (lib/fprime-samd/fprime-samd/Drv/GpioDriver/GpioDriver.cpp:16)called 83 times100.0%
Samd21::GpioDriver::configureInput(Samd21::GpioDriver::Group, Samd21::GpioDriver::Pin, Samd21::Gpio::InputPullMode, Samd21::GpioDriver::ExternalInterruptMode) (lib/fprime-samd/fprime-samd/Drv/GpioDriver/GpioDriver.cpp:25)called 11 times93.0%
Samd21::GpioDriver::configureOutput(Samd21::GpioDriver::Group, Samd21::GpioDriver::Pin, Fw::Logic) (lib/fprime-samd/fprime-samd/Drv/GpioDriver/GpioDriver.cpp:49)called 67 times83.0%
Samd21::GpioDriver::gpioInterruptIsr() (lib/fprime-samd/fprime-samd/Drv/GpioDriver/GpioDriver.cpp:63)called 3 times85.0%
Samd21::GpioDriver::gpioRead_handler(short, Fw::Logic&) (lib/fprime-samd/fprime-samd/Drv/GpioDriver/GpioDriver.cpp:79)called 4 times87.0%
Samd21::GpioDriver::gpioWrite_handler(short, Fw::Logic const&) (lib/fprime-samd/fprime-samd/Drv/GpioDriver/GpioDriver.cpp:92)called 4 times96.0%
Samd21::GpioDriver::~GpioDriver() (lib/fprime-samd/fprime-samd/Drv/GpioDriver/GpioDriver.cpp:23)called 83 times100.0%
Samd21::I2cDriver::CLEAR_ERRORS_cmdHandler(unsigned int, unsigned int) (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:304)called 1 time80.0%
Samd21::I2cDriver::I2cDriver(char const*) (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:23)called 39 times74.0%
Samd21::I2cDriver::activeIn_handler(short, unsigned int) (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:430)called 16 times81.0%
Samd21::I2cDriver::configure(Samd21::SercomKind, Samd21::I2cDriver::SclLowTimeout, Samd21::I2cDriver::InactiveTimeout, Samd21::I2cDriver::ClockStretchMode, Samd21::I2cDriver::Frequency, Samd21::I2cDriver::ClientSclLowTimeout, Samd21::I2cDriver::HostSclLowTimeout, Samd21::I2cDriver::SdaHold, Samd21::I2cDriver::PinUsage, Samd21::I2cDriver::RunInStandby) (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:39)called 39 times62.0%
Samd21::I2cDriver::dmaReplyIn_handler(short, Samd21::Dma::Reply const&) (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:315)called 20 times60.0%
Samd21::I2cDriver::isrHandler() (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:73)called 14 times77.0%
Samd21::I2cDriver::queueReadDma() (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:592)called 27 times62.0%
Samd21::I2cDriver::queueWriteDma() (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:603)called 22 times62.0%
Samd21::I2cDriver::readImpl(unsigned int, Fw::Buffer&, bool) (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:613)called 18 times73.0%
Samd21::I2cDriver::read_handler(short, unsigned int, Fw::Buffer&) (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:486)called 14 times87.0%
Samd21::I2cDriver::recoverFromStall(Samd21::I2cDriver::State) (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:236)called 4 times80.0%
Samd21::I2cDriver::reportTelemetryIn_handler(short, unsigned int) (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:501)called 35 times77.0%
Samd21::I2cDriver::s_i2cDriverIsrHandler(Fw::PassiveComponentBase*, Samd21::SercomKind) (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:65)called 14 times59.0%
Samd21::I2cDriver::serviceWriteReadMasterOnBus() (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:205)called 6 times76.0%
Samd21::I2cDriver::writeImpl(unsigned int, Fw::Buffer&, bool, bool) (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:631)called 22 times74.0%
Samd21::I2cDriver::writeRead_handler(short, unsigned int, Fw::Buffer&, Fw::Buffer&) (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:675)called 15 times87.0%
Samd21::I2cDriver::write_handler(short, unsigned int, Fw::Buffer&) (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:660)called 9 times87.0%
Samd21::I2cDriver::~I2cDriver() (lib/fprime-samd/fprime-samd/Drv/I2cDriver/I2cDriver.cpp:37)called 39 times100.0%
Samd21::ProcTime::ProcTime(char const*) (lib/fprime-samd/fprime-samd/Svc/ProcTime/ProcTime.cpp:20)called 3 times100.0%
Samd21::ProcTime::getTime_handler(short, Fw::Time&) (lib/fprime-samd/fprime-samd/Svc/ProcTime/ProcTime.cpp:28)called 103 times63.0%
Samd21::ProcTime::~ProcTime() (lib/fprime-samd/fprime-samd/Svc/ProcTime/ProcTime.cpp:22)called 3 times100.0%
Samd21::RtcDriver::RtcDriver(char const*) (lib/fprime-samd/fprime-samd/Drv/RtcDriver/RtcDriver.cpp:73)called 15 times100.0%
Samd21::RtcDriver::activeIn_handler(short, unsigned int) (lib/fprime-samd/fprime-samd/Drv/RtcDriver/RtcDriver.cpp:131)called 11 times76.0%
Samd21::RtcDriver::configure(Samd21::RtcDriver::ClockSource, Samd21::RtcDriver::TickRate) (lib/fprime-samd/fprime-samd/Drv/RtcDriver/RtcDriver.cpp:75)called 34 times87.0%
Samd21::RtcDriver::enable() (lib/fprime-samd/fprime-samd/Drv/RtcDriver/RtcDriver.cpp:123)called 9 times75.0%
Samd21::RtcDriver::~RtcDriver() (lib/fprime-samd/fprime-samd/Drv/RtcDriver/RtcDriver.cpp:156)called 15 times100.0%
Samd21::Seq::CANCEL_cmdHandler(unsigned int, unsigned int) (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:177)called 6 times92.0%
Samd21::Seq::RUN_ON_ERROR_cmdHandler(unsigned int, unsigned int, Samd21::SeqNames const&) (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:168)called 5 times85.0%
Samd21::Seq::RUN_cmdHandler(unsigned int, unsigned int, Samd21::SeqNames const&) (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:161)called 28 times83.0%
Samd21::Seq::Seq(char const*) (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:19)called 27 times91.0%
Samd21::Seq::Sequence::Sequence() (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.hpp:31)called 81 times100.0%
Samd21::Seq::Sequence::Sequence(unsigned char const*, unsigned int) (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.hpp:32)called 81 times100.0%
Samd21::Seq::WAIT_TICKS_cmdHandler(unsigned int, unsigned int, unsigned int) (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:195)called 4 times83.0%
Samd21::Seq::WAIT_UNTIL_cmdHandler(unsigned int, unsigned int, TimeBase const&, unsigned int, unsigned int) (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:204)called 4 times88.0%
Samd21::Seq::activeIn_handler(short, unsigned int) (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:56)called 50 times88.0%
Samd21::Seq::commandResponseIn_handler(short, unsigned int, unsigned int, Fw::CmdResponse const&) (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:80)called 27 times95.0%
Samd21::Seq::configure(Samd21::Seq::Sequence const*) (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:35)called 27 times94.0%
Samd21::Seq::deserializeRecord(Fw::ExternalSerializeBuffer&) (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:222)called 39 times95.0%
Samd21::Seq::dispatchRecord(Fw::ExternalSerializeBuffer const&, unsigned int) (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:250)called 36 times88.0%
Samd21::Seq::hasMoreRecordsInternal() const (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:218)called 53 times100.0%
Samd21::Seq::next() (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:256)called 41 times87.0%
Samd21::Seq::run(Samd21::SeqNames const&) (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:48)not called0.0%
Samd21::Seq::schedIn_handler(short, unsigned int) (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:116)called 18 times88.0%
Samd21::Seq::~Seq() (lib/fprime-samd/fprime-samd/Svc/Seq/Seq.cpp:33)called 27 times100.0%
Samd21::SercomUtil::rxDmaTrigger(Samd21::SercomKind) (lib/fprime-samd/fprime-samd/Drv/Types/Sercom.cpp:12)called 71 times73.0%
Samd21::SercomUtil::txDmaTrigger(Samd21::SercomKind) (lib/fprime-samd/fprime-samd/Drv/Types/Sercom.cpp:32)called 33 times73.0%
Samd21::StaticMallocator<840ul, 49>::StaticMallocator() (lib/fprime-samd/fprime-samd/Svc/StaticMallocator/StaticMallocator.hpp:32)called 3 times100.0%
Samd21::StaticMallocator<840ul, 49>::allocate(int, unsigned long&, bool&, unsigned long) (lib/fprime-samd/fprime-samd/Svc/StaticMallocator/StaticMallocator.hpp:45)called 3 times75.0%
Samd21::StaticMallocator<840ul, 49>::deallocate(int, void*) (lib/fprime-samd/fprime-samd/Svc/StaticMallocator/StaticMallocator.hpp:71)called 3 times78.0%
Samd21::StaticMallocator<840ul, 49>::~StaticMallocator() (lib/fprime-samd/fprime-samd/Svc/StaticMallocator/StaticMallocator.hpp:33)called 3 times100.0%
Samd21::SystemInfo::SystemInfo(char const*) (lib/fprime-samd/fprime-samd/Drv/SystemInfo/SystemInfo.cpp:18)called 4 times100.0%
Samd21::SystemInfo::emit() (lib/fprime-samd/fprime-samd/Drv/SystemInfo/SystemInfo.cpp:26)called 14 times68.0%
Samd21::SystemInfo::~SystemInfo() (lib/fprime-samd/fprime-samd/Drv/SystemInfo/SystemInfo.cpp:20)called 4 times100.0%
Samd21::ThinBuffer::ThinBuffer() (lib/fprime-samd/fprime-samd/Drv/Types/ThinBuffer.cpp:10)called 136 times100.0%
Samd21::ThinBuffer::ThinBuffer(Fw::Buffer const&) (lib/fprime-samd/fprime-samd/Drv/Types/ThinBuffer.cpp:12)called 61 times100.0%
Samd21::ThinBuffer::ThinBuffer(unsigned char*, unsigned int) (lib/fprime-samd/fprime-samd/Drv/Types/ThinBuffer.cpp:14)called 44 times100.0%
Samd21::ThinBuffer::ThinBuffer(unsigned char*, unsigned int, unsigned int) (lib/fprime-samd/fprime-samd/Drv/Types/ThinBuffer.cpp:15)called 22 times100.0%
Samd21::ThinBuffer::getBuffer() const (lib/fprime-samd/fprime-samd/Drv/Types/ThinBuffer.cpp:25)called 69 times100.0%
Samd21::ThinBuffer::getData() const (lib/fprime-samd/fprime-samd/Drv/Types/ThinBuffer.cpp:17)called 107 times100.0%
Samd21::ThinBuffer::getSize() const (lib/fprime-samd/fprime-samd/Drv/Types/ThinBuffer.cpp:21)called 121 times100.0%
Samd21::ThinBufferManager::ThinBufferManager(char const*) (lib/fprime-samd/fprime-samd/Svc/ThinBufferManager/ThinBufferManager.cpp:23)called 3 times100.0%
Samd21::ThinBufferManager::bufferGetCallee_handler(short, unsigned long) (lib/fprime-samd/fprime-samd/Svc/ThinBufferManager/ThinBufferManager.cpp:97)called 27 times92.0%
Samd21::ThinBufferManager::bufferSendIn_handler(short, Fw::Buffer&) (lib/fprime-samd/fprime-samd/Svc/ThinBufferManager/ThinBufferManager.cpp:61)called 27 times77.0%
Samd21::ThinBufferManager::cleanup() (lib/fprime-samd/fprime-samd/Svc/ThinBufferManager/ThinBufferManager.cpp:43)called 3 times95.0%
Samd21::ThinBufferManager::schedIn_handler(short, unsigned int) (lib/fprime-samd/fprime-samd/Svc/ThinBufferManager/ThinBufferManager.cpp:208)called 8 times75.0%
Samd21::ThinBufferManager::setup(unsigned short, int, Fw::MemAllocator&, Samd21::ThinBufferManager::BufferBins const&) (lib/fprime-samd/fprime-samd/Svc/ThinBufferManager/ThinBufferManager.cpp:125)called 3 times93.0%
Samd21::ThinBufferManager::~ThinBufferManager() (lib/fprime-samd/fprime-samd/Svc/ThinBufferManager/ThinBufferManager.cpp:37)called 3 times72.0%
Samd21::TmFramer::TmFramer(char const*) (lib/fprime-samd/fprime-samd/Svc/TmFramer/TmFramer.cpp:37)called 11 times82.0%
Samd21::TmFramer::apidForComBuffer(Fw::LinearBufferTemplate<128ul> const&) const (lib/fprime-samd/fprime-samd/Svc/TmFramer/TmFramer.cpp:121)called 303 times84.0%
Samd21::TmFramer::appendSpacePacket(unsigned char*, unsigned long, Fw::LinearBufferTemplate<128ul>&) (lib/fprime-samd/fprime-samd/Svc/TmFramer/TmFramer.cpp:166)called 303 times70.0%
Samd21::TmFramer::closeFrame(unsigned char*, unsigned long) (lib/fprime-samd/fprime-samd/Svc/TmFramer/TmFramer.cpp:212)called 271 times73.0%
Samd21::TmFramer::comPacketQueueIn_handler(short, Fw::LinearBufferTemplate<128ul>&, unsigned int) (lib/fprime-samd/fprime-samd/Svc/TmFramer/TmFramer.cpp:61)called 304 times85.0%
Samd21::TmFramer::drvConnected_handler(short) (lib/fprime-samd/fprime-samd/Svc/TmFramer/TmFramer.cpp:197)called 11 times100.0%
Samd21::TmFramer::drvReturnIn_handler(short, Fw::Buffer&, Drv::ByteStreamStatus const&) (lib/fprime-samd/fprime-samd/Svc/TmFramer/TmFramer.cpp:201)called 263 times97.0%
Samd21::TmFramer::flushActiveBuffer() (lib/fprime-samd/fprime-samd/Svc/TmFramer/TmFramer.cpp:283)called 273 times87.0%
Samd21::TmFramer::nextApidSequenceCount(ComCfg::Apid) (lib/fprime-samd/fprime-samd/Svc/TmFramer/TmFramer.cpp:135)called 303 times100.0%
Samd21::TmFramer::schedIn_handler(short, unsigned int) (lib/fprime-samd/fprime-samd/Svc/TmFramer/TmFramer.cpp:305)called 275 times84.0%
Samd21::TmFramer::~TmFramer() (lib/fprime-samd/fprime-samd/Svc/TmFramer/TmFramer.cpp:52)called 11 times100.0%
Samd21::UsartDriver::Signal::Signal() (lib/fprime-samd/fprime-samd/Drv/UsartDriver/UsartDriver.hpp:226)called 117 times100.0%
Samd21::UsartDriver::Signal::Signal(Samd21::UsartDriver::SignalKind, unsigned short) (lib/fprime-samd/fprime-samd/Drv/UsartDriver/UsartDriver.hpp:227)called 8 times100.0%
Samd21::UsartDriver::UsartDriver(char const*) (lib/fprime-samd/fprime-samd/Drv/UsartDriver/UsartDriver.cpp:27)called 25 times75.0%
Samd21::UsartDriver::activeIn_handler(short, unsigned int) (lib/fprime-samd/fprime-samd/Drv/UsartDriver/UsartDriver.cpp:133)called 10 times71.0%
Samd21::UsartDriver::configure(Samd21::SercomKind, Samd21::UsartDriver::RxPinOut, Samd21::UsartDriver::TxPinOut, Samd21::UsartDriver::ClockMode, Samd21::UsartDriver::CommunicationMode, Samd21::UsartDriver::BaudRate, Samd21::UsartDriver::DataOrder, Samd21::UsartDriver::DataBits, Samd21::UsartDriver::StopBits, Samd21::UsartDriver::Parity) (lib/fprime-samd/fprime-samd/Drv/UsartDriver/UsartDriver.cpp:42)called 22 times83.0%
Samd21::UsartDriver::dmaQueueRxSend(Samd21::ThinBuffer const&) (lib/fprime-samd/fprime-samd/Drv/UsartDriver/UsartDriver.cpp:282)called 44 times61.0%
Samd21::UsartDriver::dmaReplyIn_handler(short, Samd21::Dma::Reply const&) (lib/fprime-samd/fprime-samd/Drv/UsartDriver/UsartDriver.cpp:237)called 4 times92.0%
Samd21::UsartDriver::dmaReplyRxIsr(Samd21::Dma::Reply const&) (lib/fprime-samd/fprime-samd/Drv/UsartDriver/UsartDriver.cpp:303)called 3 times63.0%
Samd21::UsartDriver::dmaReplyTxIsr(Samd21::Dma::Reply const&) (lib/fprime-samd/fprime-samd/Drv/UsartDriver/UsartDriver.cpp:291)called 1 time53.0%
Samd21::UsartDriver::recvReturnIn_handler(short, Fw::Buffer&) (lib/fprime-samd/fprime-samd/Drv/UsartDriver/UsartDriver.cpp:250)called 1 time100.0%
Samd21::UsartDriver::schedIn_handler(short, unsigned int) (lib/fprime-samd/fprime-samd/Drv/UsartDriver/UsartDriver.cpp:84)called 8 times73.0%
Samd21::UsartDriver::sendSync_handler(short, Fw::Buffer&) (lib/fprime-samd/fprime-samd/Drv/UsartDriver/UsartDriver.cpp:277)called 1 time83.0%
Samd21::UsartDriver::send_handler(short, Fw::Buffer&) (lib/fprime-samd/fprime-samd/Drv/UsartDriver/UsartDriver.cpp:256)called 12 times66.0%
Samd21::UsartDriver::~UsartDriver() (lib/fprime-samd/fprime-samd/Drv/UsartDriver/UsartDriver.cpp:40)called 25 times100.0%