GCC Code Coverage Report


Directory: Drv/Ip/
Date: 2026-09-03 21:14:31
Exec Total Coverage
Lines: 241 537 44.9%
Functions: 35 61 57.4%
Branches: 99 365 27.1%

Function (File:Line) Call count Block coverage
Drv::IpSocket::IpSocket() (Drv/Ip/IpSocket.cpp:47)called 715 times95.0%
Drv::IpSocket::addressToIp4(char const*, void*) (Drv/Ip/IpSocket.cpp:92)called 1119 times64.0%
Drv::IpSocket::close(Drv::SocketDescriptor const&) (Drv/Ip/IpSocket.cpp:120)called 813 times100.0%
Drv::IpSocket::configure(char const*, unsigned short, unsigned int, unsigned int) (Drv/Ip/IpSocket.cpp:51)called 612 times87.0%
Drv::IpSocket::handleZeroReturn() (Drv/Ip/IpSocket.cpp:231)called 101 times100.0%
Drv::IpSocket::isValidPort(unsigned short) const (Drv/Ip/IpSocket.cpp:71)called 1529 times100.0%
Drv::IpSocket::open(Drv::SocketDescriptor&) (Drv/Ip/IpSocket.cpp:135)called 813 times85.0%
Drv::IpSocket::recv(Drv::SocketDescriptor const&, unsigned char*, unsigned long&) (Drv/Ip/IpSocket.cpp:185)called 711 times81.0%
Drv::IpSocket::send(Drv::SocketDescriptor const&, unsigned char const*, unsigned long) (Drv/Ip/IpSocket.cpp:147)called 608 times65.0%
Drv::IpSocket::setupSocketOptions(int) (Drv/Ip/IpSocket.cpp:237)called 610 times69.0%
Drv::IpSocket::setupTimeouts(int) (Drv/Ip/IpSocket.cpp:75)called 813 times93.0%
Drv::IpSocket::shutdown(Drv::SocketDescriptor const&) (Drv/Ip/IpSocket.cpp:126)called 101 times56.0%
Drv::IpSocket::~IpSocket() (Drv/Ip/IpSocket.hpp:60)called 715 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 101 times100.0%
Drv::TcpClientSocket::isValidPort(unsigned short) const (Drv/Ip/TcpClientSocket.cpp:45)called 101 times100.0%
Drv::TcpClientSocket::openProtocol(Drv::SocketDescriptor&) (Drv/Ip/TcpClientSocket.cpp:49)called 101 times80.0%
Drv::TcpClientSocket::recvProtocol(Drv::SocketDescriptor const&, unsigned char*, unsigned long) (Drv/Ip/TcpClientSocket.cpp:102)called 101 times100.0%
Drv::TcpClientSocket::sendProtocol(Drv::SocketDescriptor const&, unsigned char const*, unsigned long) (Drv/Ip/TcpClientSocket.cpp:95)called 101 times100.0%
Drv::TcpServerSocket::TcpServerSocket() (Drv/Ip/TcpServerSocket.cpp:41)called 2 times100.0%
Drv::TcpServerSocket::getListenPort() (Drv/Ip/TcpServerSocket.cpp:43)called 101 times100.0%
Drv::TcpServerSocket::openProtocol(Drv::SocketDescriptor&) (Drv/Ip/TcpServerSocket.cpp:107)called 101 times85.0%
Drv::TcpServerSocket::recvProtocol(Drv::SocketDescriptor const&, unsigned char*, unsigned long) (Drv/Ip/TcpServerSocket.cpp:139)called 202 times100.0%
Drv::TcpServerSocket::sendProtocol(Drv::SocketDescriptor const&, unsigned char const*, unsigned long) (Drv/Ip/TcpServerSocket.cpp:132)called 101 times100.0%
Drv::TcpServerSocket::startup(Drv::SocketDescriptor&) (Drv/Ip/TcpServerSocket.cpp:48)called 2 times77.0%
Drv::TcpServerSocket::terminate(Drv::SocketDescriptor const&) (Drv/Ip/TcpServerSocket.cpp:100)called 2 times100.0%
Drv::UdpSocket::UdpSocket() (Drv/Ip/UdpSocket.cpp:42)called 611 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:282)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 407 times51.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 611 times100.0%