GCC Code Coverage Report


Directory: Drv/Ip/
Date: 2026-11-03 21:16:25
Exec Total Coverage
Lines: 254 549 46.3%
Functions: 36 62 58.1%
Branches: 121 383 31.6%

Function (File:Line) Call count Block coverage
Drv::IpSocket::IpSocket() (Drv/Ip/IpSocket.cpp:26)called 724 times95.0%
Drv::IpSocket::addressToIp4(char const*, void*) (Drv/Ip/IpSocket.cpp:83)called 1123 times64.0%
Drv::IpSocket::close(Drv::SocketDescriptor const&) (Drv/Ip/IpSocket.cpp:111)called 817 times100.0%
Drv::IpSocket::configure(char const*, unsigned short, unsigned int, unsigned int) (Drv/Ip/IpSocket.cpp:30)called 616 times87.0%
Drv::IpSocket::handleZeroReturn() (Drv/Ip/IpSocket.cpp:226)called 101 times100.0%
Drv::IpSocket::isValidPort(unsigned short) const (Drv/Ip/IpSocket.cpp:50)called 1531 times100.0%
Drv::IpSocket::open(Drv::SocketDescriptor&) (Drv/Ip/IpSocket.cpp:126)called 817 times85.0%
Drv::IpSocket::recv(Drv::SocketDescriptor const&, unsigned char*, unsigned long&) (Drv/Ip/IpSocket.cpp:180)called 711 times81.0%
Drv::IpSocket::send(Drv::SocketDescriptor const&, unsigned char const*, unsigned long) (Drv/Ip/IpSocket.cpp:138)called 616 times88.0%
Drv::IpSocket::setupNoSigPipe(int) (Drv/Ip/IpSocket.cpp:71)called 206 times100.0%
Drv::IpSocket::setupSocketOptions(int) (Drv/Ip/IpSocket.cpp:232)called 614 times69.0%
Drv::IpSocket::setupTimeouts(int) (Drv/Ip/IpSocket.cpp:54)called 817 times93.0%
Drv::IpSocket::shutdown(Drv::SocketDescriptor const&) (Drv/Ip/IpSocket.cpp:117)called 101 times56.0%
Drv::IpSocket::~IpSocket() (Drv/Ip/IpSocket.hpp:60)called 724 times100.0%
Drv::SocketComponentHelper::SocketComponentHelper() (Drv/Ip/SocketComponentHelper.cpp:20)not called0.0%
Drv::SocketComponentHelper::close() (Drv/Ip/SocketComponentHelper.cpp:158)not called0.0%
Drv::SocketComponentHelper::getAutomaticOpen() (Drv/Ip/SocketComponentHelper.cpp:105)not called0.0%
Drv::SocketComponentHelper::isOpened() (Drv/Ip/SocketComponentHelper.cpp:94)not called0.0%
Drv::SocketComponentHelper::join() (Drv/Ip/SocketComponentHelper.cpp:167)not called0.0%
Drv::SocketComponentHelper::joinReconnect() (Drv/Ip/SocketComponentHelper.cpp:260)not called0.0%
Drv::SocketComponentHelper::open() (Drv/Ip/SocketComponentHelper.cpp:52)not called0.0%
Drv::SocketComponentHelper::readLoop() (Drv/Ip/SocketComponentHelper.cpp:208)not called0.0%
Drv::SocketComponentHelper::readTask(void*) (Drv/Ip/SocketComponentHelper.cpp:252)not called0.0%
Drv::SocketComponentHelper::reconnectLoop() (Drv/Ip/SocketComponentHelper.cpp:276)not called0.0%
Drv::SocketComponentHelper::reconnectTask(void*) (Drv/Ip/SocketComponentHelper.cpp:329)not called0.0%
Drv::SocketComponentHelper::recv(unsigned char*, unsigned long&) (Drv/Ip/SocketComponentHelper.cpp:192)not called0.0%
Drv::SocketComponentHelper::reopen() (Drv/Ip/SocketComponentHelper.cpp:110)not called0.0%
Drv::SocketComponentHelper::requestReconnect() (Drv/Ip/SocketComponentHelper.cpp:335)not called0.0%
Drv::SocketComponentHelper::running() (Drv/Ip/SocketComponentHelper.cpp:186)not called0.0%
Drv::SocketComponentHelper::runningReconnect() (Drv/Ip/SocketComponentHelper.cpp:270)not called0.0%
Drv::SocketComponentHelper::send(unsigned char const*, unsigned long) (Drv/Ip/SocketComponentHelper.cpp:128)not called0.0%
Drv::SocketComponentHelper::setAutomaticOpen(bool) (Drv/Ip/SocketComponentHelper.cpp:100)not called0.0%
Drv::SocketComponentHelper::shutdown() (Drv/Ip/SocketComponentHelper.cpp:153)not called0.0%
Drv::SocketComponentHelper::start(Fw::ConstStringBase const&, unsigned char, unsigned long, unsigned long, unsigned char, unsigned long, unsigned long) (Drv/Ip/SocketComponentHelper.cpp:24)not called0.0%
Drv::SocketComponentHelper::stop() (Drv/Ip/SocketComponentHelper.cpp:176)not called0.0%
Drv::SocketComponentHelper::stopReconnect() (Drv/Ip/SocketComponentHelper.cpp:264)not called0.0%
Drv::SocketComponentHelper::waitForReconnect(Fw::TimeInterval) (Drv/Ip/SocketComponentHelper.cpp:343)not called0.0%
Drv::SocketComponentHelper::~SocketComponentHelper() (Drv/Ip/SocketComponentHelper.cpp:22)not called0.0%
Drv::TcpClientSocket::TcpClientSocket() (Drv/Ip/TcpClientSocket.cpp:23)called 103 times100.0%
Drv::TcpClientSocket::isValidPort(unsigned short) const (Drv/Ip/TcpClientSocket.cpp:25)called 103 times100.0%
Drv::TcpClientSocket::openProtocol(Drv::SocketDescriptor&) (Drv/Ip/TcpClientSocket.cpp:29)called 103 times79.0%
Drv::TcpClientSocket::recvProtocol(Drv::SocketDescriptor const&, unsigned char*, unsigned long) (Drv/Ip/TcpClientSocket.cpp:88)called 101 times100.0%
Drv::TcpClientSocket::sendProtocol(Drv::SocketDescriptor const&, unsigned char const*, unsigned long) (Drv/Ip/TcpClientSocket.cpp:81)called 103 times100.0%
Drv::TcpServerSocket::TcpServerSocket() (Drv/Ip/TcpServerSocket.cpp:21)called 4 times100.0%
Drv::TcpServerSocket::getListenPort() (Drv/Ip/TcpServerSocket.cpp:23)called 103 times100.0%
Drv::TcpServerSocket::openProtocol(Drv::SocketDescriptor&) (Drv/Ip/TcpServerSocket.cpp:87)called 103 times82.0%
Drv::TcpServerSocket::recvProtocol(Drv::SocketDescriptor const&, unsigned char*, unsigned long) (Drv/Ip/TcpServerSocket.cpp:124)called 202 times100.0%
Drv::TcpServerSocket::sendProtocol(Drv::SocketDescriptor const&, unsigned char const*, unsigned long) (Drv/Ip/TcpServerSocket.cpp:117)called 103 times100.0%
Drv::TcpServerSocket::startup(Drv::SocketDescriptor&) (Drv/Ip/TcpServerSocket.cpp:28)called 4 times77.0%
Drv::TcpServerSocket::terminate(Drv::SocketDescriptor const&) (Drv/Ip/TcpServerSocket.cpp:80)called 4 times100.0%
Drv::UdpSocket::UdpSocket() (Drv/Ip/UdpSocket.cpp:24)called 612 times90.0%
Drv::UdpSocket::bind(int) (Drv/Ip/UdpSocket.cpp:78)called 509 times80.0%
Drv::UdpSocket::configure(char const*, unsigned short, unsigned int, unsigned int) (Drv/Ip/UdpSocket.cpp:31)not called0.0%
Drv::UdpSocket::configureRecv(char const*, unsigned short) (Drv/Ip/UdpSocket.cpp:53)called 509 times88.0%
Drv::UdpSocket::configureSend(char const*, unsigned short, unsigned int, unsigned int) (Drv/Ip/UdpSocket.cpp:43)called 509 times87.0%
Drv::UdpSocket::getRecvPort() (Drv/Ip/UdpSocket.cpp:74)not called0.0%
Drv::UdpSocket::handleZeroReturn() (Drv/Ip/UdpSocket.cpp:266)called 1 time100.0%
Drv::UdpSocket::openProtocol(Drv::SocketDescriptor&) (Drv/Ip/UdpSocket.cpp:103)called 611 times82.0%
Drv::UdpSocket::recvProtocol(Drv::SocketDescriptor const&, unsigned char*, unsigned long) (Drv/Ip/UdpSocket.cpp:209)called 407 times88.0%
Drv::UdpSocket::send(Drv::SocketDescriptor const&, unsigned char const*, unsigned long) (Drv/Ip/UdpSocket.cpp:233)called 408 times68.0%
Drv::UdpSocket::sendProtocol(Drv::SocketDescriptor const&, unsigned char const*, unsigned long) (Drv/Ip/UdpSocket.cpp:191)called 407 times79.0%
Drv::UdpSocket::~UdpSocket() (Drv/Ip/UdpSocket.cpp:29)called 612 times100.0%