GCC Code Coverage Report


Directory: Drv/Ip/
Date: 2026-10-14 21:15:48
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:47)called 724 times95.0%
Drv::IpSocket::addressToIp4(char const*, void*) (Drv/Ip/IpSocket.cpp:104)called 1123 times64.0%
Drv::IpSocket::close(Drv::SocketDescriptor const&) (Drv/Ip/IpSocket.cpp:132)called 817 times100.0%
Drv::IpSocket::configure(char const*, unsigned short, unsigned int, unsigned int) (Drv/Ip/IpSocket.cpp:51)called 616 times87.0%
Drv::IpSocket::handleZeroReturn() (Drv/Ip/IpSocket.cpp:247)called 101 times100.0%
Drv::IpSocket::isValidPort(unsigned short) const (Drv/Ip/IpSocket.cpp:71)called 1531 times100.0%
Drv::IpSocket::open(Drv::SocketDescriptor&) (Drv/Ip/IpSocket.cpp:147)called 817 times85.0%
Drv::IpSocket::recv(Drv::SocketDescriptor const&, unsigned char*, unsigned long&) (Drv/Ip/IpSocket.cpp:201)called 711 times81.0%
Drv::IpSocket::send(Drv::SocketDescriptor const&, unsigned char const*, unsigned long) (Drv/Ip/IpSocket.cpp:159)called 616 times88.0%
Drv::IpSocket::setupNoSigPipe(int) (Drv/Ip/IpSocket.cpp:92)called 206 times100.0%
Drv::IpSocket::setupSocketOptions(int) (Drv/Ip/IpSocket.cpp:253)called 614 times69.0%
Drv::IpSocket::setupTimeouts(int) (Drv/Ip/IpSocket.cpp:75)called 817 times93.0%
Drv::IpSocket::shutdown(Drv::SocketDescriptor const&) (Drv/Ip/IpSocket.cpp:138)called 101 times56.0%
Drv::IpSocket::~IpSocket() (Drv/Ip/IpSocket.hpp:68)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:43)called 103 times100.0%
Drv::TcpClientSocket::isValidPort(unsigned short) const (Drv/Ip/TcpClientSocket.cpp:45)called 103 times100.0%
Drv::TcpClientSocket::openProtocol(Drv::SocketDescriptor&) (Drv/Ip/TcpClientSocket.cpp:49)called 103 times79.0%
Drv::TcpClientSocket::recvProtocol(Drv::SocketDescriptor const&, unsigned char*, unsigned long) (Drv/Ip/TcpClientSocket.cpp:108)called 101 times100.0%
Drv::TcpClientSocket::sendProtocol(Drv::SocketDescriptor const&, unsigned char const*, unsigned long) (Drv/Ip/TcpClientSocket.cpp:101)called 103 times100.0%
Drv::TcpServerSocket::TcpServerSocket() (Drv/Ip/TcpServerSocket.cpp:41)called 4 times100.0%
Drv::TcpServerSocket::getListenPort() (Drv/Ip/TcpServerSocket.cpp:43)called 103 times100.0%
Drv::TcpServerSocket::openProtocol(Drv::SocketDescriptor&) (Drv/Ip/TcpServerSocket.cpp:107)called 103 times82.0%
Drv::TcpServerSocket::recvProtocol(Drv::SocketDescriptor const&, unsigned char*, unsigned long) (Drv/Ip/TcpServerSocket.cpp:144)called 202 times100.0%
Drv::TcpServerSocket::sendProtocol(Drv::SocketDescriptor const&, unsigned char const*, unsigned long) (Drv/Ip/TcpServerSocket.cpp:137)called 103 times100.0%
Drv::TcpServerSocket::startup(Drv::SocketDescriptor&) (Drv/Ip/TcpServerSocket.cpp:48)called 4 times77.0%
Drv::TcpServerSocket::terminate(Drv::SocketDescriptor const&) (Drv/Ip/TcpServerSocket.cpp:100)called 4 times100.0%
Drv::UdpSocket::UdpSocket() (Drv/Ip/UdpSocket.cpp:42)called 612 times90.0%
Drv::UdpSocket::bind(int) (Drv/Ip/UdpSocket.cpp:96)called 509 times80.0%
Drv::UdpSocket::configure(char const*, unsigned short, unsigned int, unsigned int) (Drv/Ip/UdpSocket.cpp:49)not called0.0%
Drv::UdpSocket::configureRecv(char const*, unsigned short) (Drv/Ip/UdpSocket.cpp:71)called 509 times88.0%
Drv::UdpSocket::configureSend(char const*, unsigned short, unsigned int, unsigned int) (Drv/Ip/UdpSocket.cpp:61)called 509 times87.0%
Drv::UdpSocket::getRecvPort() (Drv/Ip/UdpSocket.cpp:92)not called0.0%
Drv::UdpSocket::handleZeroReturn() (Drv/Ip/UdpSocket.cpp:284)called 1 time100.0%
Drv::UdpSocket::openProtocol(Drv::SocketDescriptor&) (Drv/Ip/UdpSocket.cpp:121)called 611 times82.0%
Drv::UdpSocket::recvProtocol(Drv::SocketDescriptor const&, unsigned char*, unsigned long) (Drv/Ip/UdpSocket.cpp:227)called 407 times88.0%
Drv::UdpSocket::send(Drv::SocketDescriptor const&, unsigned char const*, unsigned long) (Drv/Ip/UdpSocket.cpp:251)called 408 times68.0%
Drv::UdpSocket::sendProtocol(Drv::SocketDescriptor const&, unsigned char const*, unsigned long) (Drv/Ip/UdpSocket.cpp:209)called 407 times79.0%
Drv::UdpSocket::~UdpSocket() (Drv/Ip/UdpSocket.cpp:47)called 612 times100.0%