| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | | - |
| 19 | | - |
| 20 | | - |
| 21 | | - |
| 22 | | - |
| 23 | | - |
| 24 | | - |
| 25 | | - |
| 26 | | - |
| 27 | | - |
| 28 | | - |
| 29 | | - |
| 30 | | - |
| 31 | | - |
| 32 | | - |
| 33 | | - |
| 34 | #include "qhostaddress.h" | - |
| 35 | #include "qhostaddress_p.h" | - |
| 36 | #include "private/qipaddress_p.h" | - |
| 37 | #include "qdebug.h" | - |
| 38 | #if defined(Q_OS_WIN) | - |
| 39 | # include <winsock2.h> | - |
| 40 | #else | - |
| 41 | # include <netinet/in.h> | - |
| 42 | #endif | - |
| 43 | #include "qplatformdefs.h" | - |
| 44 | #include "qstringlist.h" | - |
| 45 | #include "qendian.h" | - |
| 46 | #ifndef QT_NO_DATASTREAM | - |
| 47 | #include <qdatastream.h> | - |
| 48 | #endif | - |
| 49 | #ifdef __SSE2__ | - |
| 50 | # include <private/qsimd_p.h> | - |
| 51 | #endif | - |
| 52 | | - |
| 53 | #ifdef QT_LINUXBASE | - |
| 54 | # include <arpa/inet.h> | - |
| 55 | #endif | - |
| 56 | | - |
| 57 | QT_BEGIN_NAMESPACE | - |
| 58 | | - |
| 59 | #define QT_ENSURE_PARSED(a) \ | - |
| 60 | do { \ | - |
| 61 | if (!(a)->d->isParsed) \ | - |
| 62 | (a)->d->parse(); \ | - |
| 63 | } while (0) | - |
| 64 | | - |
| 65 | #ifdef Q_OS_WIN | - |
| 66 | | - |
| 67 | | - |
| 68 | | - |
| 69 | #if defined(Q_OS_WINCE) || defined(Q_OS_WINRT) | - |
| 70 | # if !defined(u_char) | - |
| 71 | # define u_char unsigned char | - |
| 72 | # endif | - |
| 73 | # if !defined(u_short) | - |
| 74 | # define u_short unsigned short | - |
| 75 | # endif | - |
| 76 | # if !defined(u_long) | - |
| 77 | # define u_long unsigned long | - |
| 78 | # endif | - |
| 79 | #endif | - |
| 80 | struct qt_in6_addr { | - |
| 81 | u_char qt_s6_addr[16]; | - |
| 82 | }; | - |
| 83 | typedef struct { | - |
| 84 | short sin6_family; | - |
| 85 | u_short sin6_port; | - |
| 86 | u_long sin6_flowinfo; | - |
| 87 | struct qt_in6_addr sin6_addr; | - |
| 88 | u_long sin6_scope_id; | - |
| 89 | } qt_sockaddr_in6; | - |
| 90 | #else | - |
| 91 | #define qt_sockaddr_in6 sockaddr_in6 | - |
| 92 | #define qt_s6_addr s6_addr | - |
| 93 | #endif | - |
| 94 | | - |
| 95 | | - |
| 96 | class QHostAddressPrivate | - |
| 97 | { | - |
| 98 | public: | - |
| 99 | QHostAddressPrivate(); | - |
| 100 | | - |
| 101 | void setAddress(quint32 a_ = 0); | - |
| 102 | void setAddress(const quint8 *a_); | - |
| 103 | void setAddress(const Q_IPV6ADDR &a_); | - |
| 104 | | - |
| 105 | bool parse(); | - |
| 106 | void clear(); | - |
| 107 | | - |
| 108 | QString ipString; | - |
| 109 | QString scopeId; | - |
| 110 | | - |
| 111 | quint32 a; | - |
| 112 | union { | - |
| 113 | Q_IPV6ADDR a6; | - |
| 114 | struct { quint64 c[2]; } a6_64; | - |
| 115 | struct { quint32 c[4]; } a6_32; | - |
| 116 | }; | - |
| 117 | QAbstractSocket::NetworkLayerProtocol protocol; | - |
| 118 | | - |
| 119 | bool isParsed; | - |
| 120 | | - |
| 121 | friend class QHostAddress; | - |
| 122 | }; | - |
| 123 | | - |
| 124 | QHostAddressPrivate::QHostAddressPrivate() | - |
| 125 | : a(0), protocol(QAbstractSocket::UnknownNetworkLayerProtocol), isParsed(true) | - |
| 126 | { | - |
| 127 | memset(&a6, 0, sizeof(a6)); | - |
| 128 | }executed 233854 times by 47 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_lancelot - unknown status
- tst_platformsocketengine - unknown status
- tst_qabstractsocket - unknown status
- tst_qdnslookup - unknown status
- tst_qdnslookup_appless - unknown status
- tst_qeventloop - unknown status
- ...
| 233854 |
| 129 | | - |
| 130 | void QHostAddressPrivate::setAddress(quint32 a_) | - |
| 131 | { | - |
| 132 | a = a_; | - |
| 133 | protocol = QAbstractSocket::IPv4Protocol; | - |
| 134 | isParsed = true; | - |
| 135 | | - |
| 136 | | - |
| 137 | a6_64.c[0] = 0; | - |
| 138 | if (a) {| TRUE | evaluated 20893 times by 42 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qdnslookup_appless - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- ...
| | FALSE | evaluated 645 times by 11 testsEvaluated by:- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
|
| 645-20893 |
| 139 | a6_32.c[2] = qToBigEndian(0xffff); | - |
| 140 | a6_32.c[3] = qToBigEndian(a); | - |
| 141 | } else {executed 20893 times by 42 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qdnslookup_appless - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- ...
| 20893 |
| 142 | a6_64.c[1] = 0; | - |
| 143 | }executed 645 times by 11 tests: end of blockExecuted by:- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qlocalsocket - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| 645 |
| 144 | } | - |
| 145 | | - |
| 146 | | - |
| 147 | | - |
| 148 | static bool convertToIpv4(quint32& a, const Q_IPV6ADDR &a6) | - |
| 149 | { | - |
| 150 | const uchar *ptr = a6.c; | - |
| 151 | if (qFromUnaligned<quint64>(ptr) != 0)| TRUE | evaluated 1566 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| | FALSE | evaluated 2280 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- ...
|
| 1566-2280 |
| 152 | return false;executed 1566 times by 27 tests: return false;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| 1566 |
| 153 | if (qFromBigEndian<quint32>(ptr + 8) == 0) {| TRUE | evaluated 1297 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- ...
| | FALSE | evaluated 983 times by 11 testsEvaluated by:- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 983-1297 |
| 154 | | - |
| 155 | a = 0; | - |
| 156 | return qFromBigEndian<quint32>(ptr + 12) == 0;executed 1297 times by 30 tests: return qFromBigEndian<quint32>(ptr + 12) == 0;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- ...
| 1297 |
| 157 | } | - |
| 158 | if (qFromBigEndian<quint32>(ptr + 8) != 0xFFFF)| TRUE | never evaluated | | FALSE | evaluated 983 times by 11 testsEvaluated by:- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 0-983 |
| 159 | return false; never executed: return false; | 0 |
| 160 | a = qFromBigEndian<quint32>(ptr + 12); | - |
| 161 | return true;executed 983 times by 11 tests: return true;Executed by:- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 983 |
| 162 | } | - |
| 163 | | - |
| 164 | void QHostAddressPrivate::setAddress(const quint8 *a_) | - |
| 165 | { | - |
| 166 | protocol = QAbstractSocket::IPv6Protocol; | - |
| 167 | isParsed = true; | - |
| 168 | memcpy(a6.c, a_, sizeof(a6)); | - |
| 169 | a = 0; | - |
| 170 | convertToIpv4(a, a6); | - |
| 171 | }executed 3838 times by 34 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- ...
| 3838 |
| 172 | | - |
| 173 | void QHostAddressPrivate::setAddress(const Q_IPV6ADDR &a_) | - |
| 174 | { | - |
| 175 | setAddress(a_.c); | - |
| 176 | }executed 1928 times by 16 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 1928 |
| 177 | | - |
| 178 | static bool parseIp6(const QString &address, QIPAddressUtils::IPv6Address &addr, QString *scopeId) | - |
| 179 | { | - |
| 180 | QString tmp = address; | - |
| 181 | int scopeIdPos = tmp.lastIndexOf(QLatin1Char('%')); | - |
| 182 | if (scopeIdPos != -1) {| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QTcpServer
- tst_qhostaddress - unknown status
| | FALSE | evaluated 313 times by 13 testsEvaluated by:- tst_QHostInfo
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
|
| 6-313 |
| 183 | *scopeId = tmp.mid(scopeIdPos + 1); | - |
| 184 | tmp.chop(tmp.size() - scopeIdPos); | - |
| 185 | } else {executed 6 times by 2 tests: end of blockExecuted by:- tst_QTcpServer
- tst_qhostaddress - unknown status
| 6 |
| 186 | scopeId->clear(); | - |
| 187 | }executed 313 times by 13 tests: end of blockExecuted by:- tst_QHostInfo
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| 313 |
| 188 | return QIPAddressUtils::parseIp6(addr, tmp.constBegin(), tmp.constEnd()) == 0;executed 319 times by 13 tests: return QIPAddressUtils::parseIp6(addr, tmp.constBegin(), tmp.constEnd()) == 0;Executed by:- tst_QHostInfo
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| 319 |
| 189 | } | - |
| 190 | | - |
| 191 | Q_NEVER_INLINE bool QHostAddressPrivate::parse() | - |
| 192 | { | - |
| 193 | isParsed = true; | - |
| 194 | protocol = QAbstractSocket::UnknownNetworkLayerProtocol; | - |
| 195 | QString a = ipString.simplified(); | - |
| 196 | if (a.isEmpty())| TRUE | evaluated 3495 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| | FALSE | evaluated 19070 times by 37 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qnetworkcookie - unknown status
- ...
|
| 3495-19070 |
| 197 | return false;executed 3495 times by 21 tests: return false;Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| 3495 |
| 198 | | - |
| 199 | | - |
| 200 | if (a.contains(QLatin1Char(':'))) {| TRUE | evaluated 319 times by 13 testsEvaluated by:- tst_QHostInfo
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 18751 times by 37 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qnetworkcookie - unknown status
- ...
|
| 319-18751 |
| 201 | quint8 maybeIp6[16]; | - |
| 202 | if (parseIp6(a, maybeIp6, &scopeId)) {| TRUE | evaluated 272 times by 12 testsEvaluated by:- tst_QHostInfo
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 47 times by 3 testsEvaluated by:- tst_QHostInfo
- tst_Spdy
- tst_qhostaddress - unknown status
|
| 47-272 |
| 203 | setAddress(maybeIp6); | - |
| 204 | return true;executed 272 times by 12 tests: return true;Executed by:- tst_QHostInfo
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| 272 |
| 205 | } | - |
| 206 | }executed 47 times by 3 tests: end of blockExecuted by:- tst_QHostInfo
- tst_Spdy
- tst_qhostaddress - unknown status
| 47 |
| 207 | | - |
| 208 | quint32 maybeIp4 = 0; | - |
| 209 | if (QIPAddressUtils::parseIp4(maybeIp4, a.constBegin(), a.constEnd())) {| TRUE | evaluated 3302 times by 28 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| | FALSE | evaluated 15496 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_lancelot - unknown status
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qnetworkcookie - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- ...
|
| 3302-15496 |
| 210 | setAddress(maybeIp4); | - |
| 211 | return true;executed 3302 times by 28 tests: return true;Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| 3302 |
| 212 | } | - |
| 213 | | - |
| 214 | return false;executed 15496 times by 29 tests: return false;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_lancelot - unknown status
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qnetworkcookie - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- ...
| 15496 |
| 215 | } | - |
| 216 | | - |
| 217 | void QHostAddressPrivate::clear() | - |
| 218 | { | - |
| 219 | a = 0; | - |
| 220 | protocol = QAbstractSocket::UnknownNetworkLayerProtocol; | - |
| 221 | isParsed = true; | - |
| 222 | memset(&a6, 0, sizeof(a6)); | - |
| 223 | }executed 217689 times by 36 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_platformsocketengine - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qnetworkaddressentry - unknown status
- ...
| 217689 |
| 224 | | - |
| 225 | | - |
| 226 | bool QNetmaskAddress::setAddress(const QString &address) | - |
| 227 | { | - |
| 228 | length = -1; | - |
| 229 | QHostAddress other; | - |
| 230 | return other.setAddress(address) && setAddress(other);executed 16 times by 1 test: return other.setAddress(address) && setAddress(other);Executed by:- tst_qhostaddress - unknown status
| TRUE | evaluated 15 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 1 time by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| TRUE | evaluated 13 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| 1-16 |
| 231 | } | - |
| 232 | | - |
| 233 | bool QNetmaskAddress::setAddress(const QHostAddress &address) | - |
| 234 | { | - |
| 235 | static const quint8 zeroes[16] = { 0 }; | - |
| 236 | union { | - |
| 237 | quint32 v4; | - |
| 238 | quint8 v6[16]; | - |
| 239 | } ip; | - |
| 240 | | - |
| 241 | int netmask = 0; | - |
| 242 | quint8 *ptr = ip.v6; | - |
| 243 | quint8 *end; | - |
| 244 | length = -1; | - |
| 245 | | - |
| 246 | QHostAddress::operator=(address); | - |
| 247 | | - |
| 248 | if (d->protocol == QAbstractSocket::IPv4Protocol) {| TRUE | evaluated 634 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 625 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
|
| 625-634 |
| 249 | ip.v4 = qToBigEndian(d->a); | - |
| 250 | end = ptr + 4; | - |
| 251 | } else if (d->protocol == QAbstractSocket::IPv6Protocol) {executed 634 times by 22 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| TRUE | evaluated 621 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
|
| 4-634 |
| 252 | memcpy(ip.v6, d->a6.c, 16); | - |
| 253 | end = ptr + 16; | - |
| 254 | } else {executed 621 times by 21 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 621 |
| 255 | d->clear(); | - |
| 256 | return false;executed 4 times by 1 test: return false;Executed by:- tst_qnetworkaddressentry - unknown status
| 4 |
| 257 | } | - |
| 258 | | - |
| 259 | while (ptr < end) {| TRUE | evaluated 8881 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 207 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
|
| 207-8881 |
| 260 | switch (*ptr) { | - |
| 261 | case 255:executed 7833 times by 22 tests: case 255:Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 7833 |
| 262 | netmask += 8; | - |
| 263 | ++ptr; | - |
| 264 | continue;executed 7833 times by 22 tests: continue;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 7833 |
| 265 | | - |
| 266 | default:executed 4 times by 2 tests: default:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 4 |
| 267 | d->clear(); | - |
| 268 | return false; executed 4 times by 2 tests: return false;Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 4 |
| 269 | | - |
| 270 | | - |
| 271 | case 254:executed 4 times by 2 tests: case 254:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 4 |
| 272 | ++netmask; | - |
| 273 | case 252:code before this statement executed 4 times by 2 tests: case 252:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
executed 1 time by 1 test: case 252:Executed by:- tst_qhostaddress - unknown status
| 1-4 |
| 274 | ++netmask; | - |
| 275 | case 248:code before this statement executed 5 times by 2 tests: case 248:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
executed 205 times by 21 tests: case 248:Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qtcpsocket - unknown status
| 5-205 |
| 276 | ++netmask; | - |
| 277 | case 240:code before this statement executed 210 times by 22 tests: case 240:Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
executed 3 times by 2 tests: case 240:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 3-210 |
| 278 | ++netmask; | - |
| 279 | case 224:code before this statement executed 213 times by 22 tests: case 224:Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
executed 2 times by 2 tests: case 224:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 2-213 |
| 280 | ++netmask; | - |
| 281 | case 192:code before this statement executed 215 times by 22 tests: case 192:Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
executed 1 time by 1 test: case 192:Executed by:- tst_qhostaddress - unknown status
| 1-215 |
| 282 | ++netmask; | - |
| 283 | case 128:code before this statement executed 216 times by 22 tests: case 128:Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
executed 1 time by 1 test: case 128:Executed by:- tst_qhostaddress - unknown status
| 1-216 |
| 284 | ++netmask; | - |
| 285 | case 0:code before this statement executed 217 times by 22 tests: case 0:Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
executed 1044 times by 22 tests: case 0:Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 217-1044 |
| 286 | break;executed 1044 times by 22 tests: break;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 1044 |
| 287 | } | - |
| 288 | break;executed 1044 times by 22 tests: break;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 1044 |
| 289 | } | - |
| 290 | | - |
| 291 | | - |
| 292 | if (ptr < end && memcmp(ptr + 1, zeroes, end - ptr - 1) != 0) {| TRUE | evaluated 1044 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 207 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
|
| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| | FALSE | evaluated 1042 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
|
| 2-1044 |
| 293 | d->clear(); | - |
| 294 | return false;executed 2 times by 2 tests: return false;Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 2 |
| 295 | } | - |
| 296 | | - |
| 297 | length = netmask; | - |
| 298 | return true;executed 1249 times by 22 tests: return true;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 1249 |
| 299 | } | - |
| 300 | | - |
| 301 | static void clearBits(quint8 *where, int start, int end) | - |
| 302 | { | - |
| 303 | Q_ASSERT(end == 32 || end == 128); | - |
| 304 | if (start == end)| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| | FALSE | evaluated 33 times by 3 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
|
| 2-33 |
| 305 | return;executed 2 times by 2 tests: return;Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 2 |
| 306 | | - |
| 307 | | - |
| 308 | quint8 bytemask = 256 - (1 << (8 - (start & 7))); | - |
| 309 | where[start / 8] &= bytemask; | - |
| 310 | | - |
| 311 | | - |
| 312 | memset(where + (start + 7) / 8, 0, end / 8 - (start + 7) / 8); | - |
| 313 | }executed 33 times by 3 tests: end of blockExecuted by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 33 |
| 314 | | - |
| 315 | int QNetmaskAddress::prefixLength() const | - |
| 316 | { | - |
| 317 | return length;executed 120 times by 3 tests: return length;Executed by:- tst_QNetworkInterface
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 120 |
| 318 | } | - |
| 319 | | - |
| 320 | void QNetmaskAddress::setPrefixLength(QAbstractSocket::NetworkLayerProtocol proto, int newLength) | - |
| 321 | { | - |
| 322 | length = newLength; | - |
| 323 | if (length < 0 || length > (proto == QAbstractSocket::IPv4Protocol ? 32 :| TRUE | evaluated 32 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
| | FALSE | evaluated 28 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
|
| TRUE | evaluated 16 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
| | FALSE | evaluated 12 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
|
| 12-32 |
| 324 | proto == QAbstractSocket::IPv6Protocol ? 128 : -1)) {| TRUE | evaluated 16 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
| | FALSE | evaluated 12 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
|
| 12-16 |
| 325 | | - |
| 326 | d->protocol = QAbstractSocket::UnknownNetworkLayerProtocol; | - |
| 327 | length = -1; | - |
| 328 | return;executed 48 times by 1 test: return;Executed by:- tst_qnetworkaddressentry - unknown status
| 48 |
| 329 | } | - |
| 330 | | - |
| 331 | d->protocol = proto; | - |
| 332 | if (d->protocol == QAbstractSocket::IPv4Protocol) {| TRUE | evaluated 5 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
| | FALSE | evaluated 7 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
|
| 5-7 |
| 333 | if (length == 0) {| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
| | FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
|
| 1-4 |
| 334 | d->a = 0; | - |
| 335 | } else if (length == 32) {executed 1 time by 1 test: end of blockExecuted by:- tst_qnetworkaddressentry - unknown status
| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
| | FALSE | evaluated 3 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
|
| 1-3 |
| 336 | d->a = quint32(0xffffffff); | - |
| 337 | } else {executed 1 time by 1 test: end of blockExecuted by:- tst_qnetworkaddressentry - unknown status
| 1 |
| 338 | d->a = quint32(0xffffffff) >> (32 - length) << (32 - length); | - |
| 339 | }executed 3 times by 1 test: end of blockExecuted by:- tst_qnetworkaddressentry - unknown status
| 3 |
| 340 | } else { | - |
| 341 | memset(d->a6.c, 0xFF, sizeof(d->a6)); | - |
| 342 | clearBits(d->a6.c, length, 128); | - |
| 343 | }executed 7 times by 1 test: end of blockExecuted by:- tst_qnetworkaddressentry - unknown status
| 7 |
| 344 | } | - |
| 345 | | - |
| 346 | | - |
| 347 | | - |
| 348 | | - |
| 349 | | - |
| 350 | | - |
| 351 | | - |
| 352 | | - |
| 353 | | - |
| 354 | | - |
| 355 | | - |
| 356 | | - |
| 357 | | - |
| 358 | | - |
| 359 | | - |
| 360 | | - |
| 361 | | - |
| 362 | | - |
| 363 | | - |
| 364 | | - |
| 365 | | - |
| 366 | | - |
| 367 | | - |
| 368 | | - |
| 369 | | - |
| 370 | | - |
| 371 | | - |
| 372 | | - |
| 373 | | - |
| 374 | | - |
| 375 | | - |
| 376 | | - |
| 377 | | - |
| 378 | | - |
| 379 | | - |
| 380 | | - |
| 381 | | - |
| 382 | | - |
| 383 | | - |
| 384 | | - |
| 385 | | - |
| 386 | QHostAddress::QHostAddress() | - |
| 387 | : d(new QHostAddressPrivate) | - |
| 388 | { | - |
| 389 | }executed 229619 times by 45 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_lancelot - unknown status
- tst_platformsocketengine - unknown status
- tst_qabstractsocket - unknown status
- tst_qdnslookup - unknown status
- tst_qdnslookup_appless - unknown status
- tst_qeventloop - unknown status
- ...
| 229619 |
| 390 | | - |
| 391 | | - |
| 392 | | - |
| 393 | | - |
| 394 | QHostAddress::QHostAddress(quint32 ip4Addr) | - |
| 395 | : d(new QHostAddressPrivate) | - |
| 396 | { | - |
| 397 | setAddress(ip4Addr); | - |
| 398 | }executed 286 times by 23 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdnslookup - unknown status
- tst_qdnslookup_appless - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qtcpsocket - unknown status
| 286 |
| 399 | | - |
| 400 | | - |
| 401 | | - |
| 402 | | - |
| 403 | | - |
| 404 | | - |
| 405 | | - |
| 406 | QHostAddress::QHostAddress(quint8 *ip6Addr) | - |
| 407 | : d(new QHostAddressPrivate) | - |
| 408 | { | - |
| 409 | setAddress(ip6Addr); | - |
| 410 | }executed 18 times by 1 test: end of blockExecuted by:- tst_qdnslookup - unknown status
| 18 |
| 411 | | - |
| 412 | | - |
| 413 | | - |
| 414 | | - |
| 415 | | - |
| 416 | | - |
| 417 | | - |
| 418 | | - |
| 419 | QHostAddress::QHostAddress(const quint8 *ip6Addr) | - |
| 420 | : d(new QHostAddressPrivate) | - |
| 421 | { | - |
| 422 | setAddress(ip6Addr); | - |
| 423 | } never executed: end of block | 0 |
| 424 | | - |
| 425 | | - |
| 426 | | - |
| 427 | | - |
| 428 | QHostAddress::QHostAddress(const Q_IPV6ADDR &ip6Addr) | - |
| 429 | : d(new QHostAddressPrivate) | - |
| 430 | { | - |
| 431 | setAddress(ip6Addr); | - |
| 432 | }executed 14 times by 3 tests: end of blockExecuted by:- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 14 |
| 433 | | - |
| 434 | | - |
| 435 | | - |
| 436 | | - |
| 437 | | - |
| 438 | | - |
| 439 | | - |
| 440 | QHostAddress::QHostAddress(const QString &address) | - |
| 441 | : d(new QHostAddressPrivate) | - |
| 442 | { | - |
| 443 | d->ipString = address; | - |
| 444 | d->isParsed = false; | - |
| 445 | }executed 1305 times by 21 tests: end of blockExecuted by:- tst_QAbstractNetworkCache
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qnetworkcookie - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 1305 |
| 446 | | - |
| 447 | | - |
| 448 | | - |
| 449 | | - |
| 450 | | - |
| 451 | | - |
| 452 | | - |
| 453 | | - |
| 454 | | - |
| 455 | QHostAddress::QHostAddress(const struct sockaddr *sockaddr) | - |
| 456 | : d(new QHostAddressPrivate) | - |
| 457 | { | - |
| 458 | #ifndef Q_OS_WINRT | - |
| 459 | if (sockaddr->sa_family == AF_INET)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 460 | setAddress(htonl(((const sockaddr_in *)sockaddr)->sin_addr.s_addr)); never executed: setAddress(htonl(((const sockaddr_in *)sockaddr)->sin_addr.s_addr)); | 0 |
| 461 | else if (sockaddr->sa_family == AF_INET6)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 462 | setAddress(((const qt_sockaddr_in6 *)sockaddr)->sin6_addr.qt_s6_addr); never executed: setAddress(((const sockaddr_in6 *)sockaddr)->sin6_addr.__in6_u.__u6_addr8); | 0 |
| 463 | #else | - |
| 464 | Q_UNUSED(sockaddr) | - |
| 465 | #endif | - |
| 466 | } never executed: end of block | 0 |
| 467 | | - |
| 468 | | - |
| 469 | | - |
| 470 | | - |
| 471 | QHostAddress::QHostAddress(const QHostAddress &address) | - |
| 472 | : d(new QHostAddressPrivate(*address.d.data())) | - |
| 473 | { | - |
| 474 | }executed 58079 times by 41 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qdnslookup_appless - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- ...
| 58079 |
| 475 | | - |
| 476 | | - |
| 477 | | - |
| 478 | | - |
| 479 | QHostAddress::QHostAddress(SpecialAddress address) | - |
| 480 | : d(new QHostAddressPrivate) | - |
| 481 | { | - |
| 482 | Q_IPV6ADDR ip6; | - |
| 483 | memset(&ip6, 0, sizeof ip6); | - |
| 484 | quint32 ip4 = INADDR_ANY; | - |
| 485 | | - |
| 486 | switch (address) { | - |
| 487 | case Null:executed 13 times by 2 tests: case Null:Executed by:- tst_QTcpServer
- tst_qhostaddress - unknown status
| 13 |
| 488 | return;executed 13 times by 2 tests: return;Executed by:- tst_QTcpServer
- tst_qhostaddress - unknown status
| 13 |
| 489 | | - |
| 490 | case Broadcast:executed 176 times by 3 tests: case Broadcast:Executed by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
| 176 |
| 491 | ip4 = INADDR_BROADCAST; | - |
| 492 | break;executed 176 times by 3 tests: break;Executed by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
| 176 |
| 493 | case LocalHost:executed 269 times by 17 tests: case LocalHost:Executed by:- tst_QHttpNetworkConnection
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 269 |
| 494 | ip4 = INADDR_LOOPBACK; | - |
| 495 | break;executed 269 times by 17 tests: break;Executed by:- tst_QHttpNetworkConnection
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 269 |
| 496 | case AnyIPv4:executed 216 times by 8 tests: case AnyIPv4:Executed by:- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qsocketnotifier - unknown status
- tst_qtcpsocket - unknown status
| 216 |
| 497 | break;executed 216 times by 8 tests: break;Executed by:- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qsocketnotifier - unknown status
- tst_qtcpsocket - unknown status
| 216 |
| 498 | | - |
| 499 | case LocalHostIPv6:executed 55 times by 5 tests: case LocalHostIPv6:Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 55 |
| 500 | ip6[15] = 1; | - |
| 501 | | - |
| 502 | case AnyIPv6:code before this statement executed 55 times by 5 tests: case AnyIPv6:Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
executed 50 times by 6 tests: case AnyIPv6:Executed by:- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 50-55 |
| 503 | d->setAddress(ip6); | - |
| 504 | return;executed 105 times by 7 tests: return;Executed by:- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 105 |
| 505 | | - |
| 506 | case Any:executed 1833 times by 15 tests: case Any:Executed by:- tst_NetworkSelfTest
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 1833 |
| 507 | d->protocol = QAbstractSocket::AnyIPProtocol; | - |
| 508 | return;executed 1833 times by 15 tests: return;Executed by:- tst_NetworkSelfTest
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 1833 |
| 509 | } | - |
| 510 | | - |
| 511 | | - |
| 512 | d->setAddress(ip4); | - |
| 513 | }executed 661 times by 17 tests: end of blockExecuted by:- tst_QHttpNetworkConnection
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 661 |
| 514 | | - |
| 515 | | - |
| 516 | | - |
| 517 | | - |
| 518 | QHostAddress::~QHostAddress() | - |
| 519 | { | - |
| 520 | } | - |
| 521 | | - |
| 522 | | - |
| 523 | | - |
| 524 | | - |
| 525 | | - |
| 526 | QHostAddress &QHostAddress::operator=(const QHostAddress &address) | - |
| 527 | { | - |
| 528 | *d.data() = *address.d.data(); | - |
| 529 | return *this;executed 28529 times by 39 tests: return *this;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- ...
| 28529 |
| 530 | } | - |
| 531 | | - |
| 532 | | - |
| 533 | | - |
| 534 | | - |
| 535 | | - |
| 536 | | - |
| 537 | | - |
| 538 | QHostAddress &QHostAddress::operator=(const QString &address) | - |
| 539 | { | - |
| 540 | setAddress(address); | - |
| 541 | return *this;executed 2 times by 1 test: return *this;Executed by:- tst_qhostaddress - unknown status
| 2 |
| 542 | } | - |
| 543 | | - |
| 544 | | - |
| 545 | | - |
| 546 | | - |
| 547 | | - |
| 548 | | - |
| 549 | | - |
| 550 | | - |
| 551 | | - |
| 552 | | - |
| 553 | | - |
| 554 | | - |
| 555 | | - |
| 556 | | - |
| 557 | | - |
| 558 | | - |
| 559 | | - |
| 560 | | - |
| 561 | | - |
| 562 | void QHostAddress::clear() | - |
| 563 | { | - |
| 564 | d->clear(); | - |
| 565 | }executed 217679 times by 35 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_platformsocketengine - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qlocalsocket - unknown status
- tst_qnetworkreply - unknown status
- ...
| 217679 |
| 566 | | - |
| 567 | | - |
| 568 | | - |
| 569 | | - |
| 570 | void QHostAddress::setAddress(quint32 ip4Addr) | - |
| 571 | { | - |
| 572 | d->setAddress(ip4Addr); | - |
| 573 | }executed 17575 times by 40 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qdnslookup_appless - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- ...
| 17575 |
| 574 | | - |
| 575 | | - |
| 576 | | - |
| 577 | | - |
| 578 | | - |
| 579 | | - |
| 580 | | - |
| 581 | | - |
| 582 | | - |
| 583 | void QHostAddress::setAddress(quint8 *ip6Addr) | - |
| 584 | { | - |
| 585 | d->setAddress(ip6Addr); | - |
| 586 | }executed 1638 times by 25 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qdnslookup - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 1638 |
| 587 | | - |
| 588 | | - |
| 589 | | - |
| 590 | | - |
| 591 | | - |
| 592 | | - |
| 593 | | - |
| 594 | | - |
| 595 | | - |
| 596 | | - |
| 597 | void QHostAddress::setAddress(const quint8 *ip6Addr) | - |
| 598 | { | - |
| 599 | d->setAddress(ip6Addr); | - |
| 600 | } never executed: end of block | 0 |
| 601 | | - |
| 602 | | - |
| 603 | | - |
| 604 | | - |
| 605 | | - |
| 606 | | - |
| 607 | void QHostAddress::setAddress(const Q_IPV6ADDR &ip6Addr) | - |
| 608 | { | - |
| 609 | d->setAddress(ip6Addr); | - |
| 610 | }executed 1823 times by 15 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 1823 |
| 611 | | - |
| 612 | | - |
| 613 | | - |
| 614 | | - |
| 615 | | - |
| 616 | | - |
| 617 | | - |
| 618 | | - |
| 619 | | - |
| 620 | bool QHostAddress::setAddress(const QString &address) | - |
| 621 | { | - |
| 622 | d->ipString = address; | - |
| 623 | return d->parse();executed 21255 times by 33 tests: return d->parse();Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_lancelot - unknown status
- tst_platformsocketengine - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qprocess - unknown status
- ...
| 21255 |
| 624 | } | - |
| 625 | | - |
| 626 | | - |
| 627 | | - |
| 628 | | - |
| 629 | | - |
| 630 | | - |
| 631 | | - |
| 632 | | - |
| 633 | | - |
| 634 | void QHostAddress::setAddress(const struct sockaddr *sockaddr) | - |
| 635 | { | - |
| 636 | #ifndef Q_OS_WINRT | - |
| 637 | clear(); | - |
| 638 | if (sockaddr->sa_family == AF_INET)| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | never evaluated |
| 0-1 |
| 639 | setAddress(htonl(((const sockaddr_in *)sockaddr)->sin_addr.s_addr));executed 1 time by 1 test: setAddress(htonl(((const sockaddr_in *)sockaddr)->sin_addr.s_addr));Executed by:- tst_qhostaddress - unknown status
| 1 |
| 640 | else if (sockaddr->sa_family == AF_INET6)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 641 | setAddress(((const qt_sockaddr_in6 *)sockaddr)->sin6_addr.qt_s6_addr); never executed: setAddress(((const sockaddr_in6 *)sockaddr)->sin6_addr.__in6_u.__u6_addr8); | 0 |
| 642 | #else | - |
| 643 | Q_UNUSED(sockaddr) | - |
| 644 | #endif | - |
| 645 | }executed 1 time by 1 test: end of blockExecuted by:- tst_qhostaddress - unknown status
| 1 |
| 646 | | - |
| 647 | | - |
| 648 | | - |
| 649 | | - |
| 650 | | - |
| 651 | | - |
| 652 | | - |
| 653 | | - |
| 654 | | - |
| 655 | | - |
| 656 | | - |
| 657 | | - |
| 658 | | - |
| 659 | | - |
| 660 | | - |
| 661 | quint32 QHostAddress::toIPv4Address() const | - |
| 662 | { | - |
| 663 | return toIPv4Address(Q_NULLPTR);executed 10664 times by 39 tests: return toIPv4Address(nullptr);Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- ...
| 10664 |
| 664 | } | - |
| 665 | | - |
| 666 | | - |
| 667 | | - |
| 668 | | - |
| 669 | | - |
| 670 | | - |
| 671 | | - |
| 672 | | - |
| 673 | | - |
| 674 | | - |
| 675 | | - |
| 676 | | - |
| 677 | | - |
| 678 | | - |
| 679 | | - |
| 680 | | - |
| 681 | quint32 QHostAddress::toIPv4Address(bool *ok) const | - |
| 682 | { | - |
| 683 | QT_ENSURE_PARSED(this);executed 7 times by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
| TRUE | evaluated 7 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 10666 times by 39 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- ...
|
| 7-10666 |
| 684 | quint32 dummy; | - |
| 685 | if (ok)| TRUE | evaluated 9 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 10664 times by 39 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- ...
|
| 9-10664 |
| 686 | *ok = d->protocol == QAbstractSocket::IPv4Protocol || d->protocol == QAbstractSocket::AnyIPProtocolexecuted 9 times by 1 test: *ok = d->protocol == QAbstractSocket::IPv4Protocol || d->protocol == QAbstractSocket::AnyIPProtocol || (d->protocol == QAbstractSocket::IPv6Protocol && convertToIpv4(dummy, d->a6));Executed by:- tst_qhostaddress - unknown status
| TRUE | never evaluated | | FALSE | evaluated 9 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 8 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| 0-9 |
| 687 | || (d->protocol == QAbstractSocket::IPv6Protocol && convertToIpv4(dummy, d->a6));executed 9 times by 1 test: *ok = d->protocol == QAbstractSocket::IPv4Protocol || d->protocol == QAbstractSocket::AnyIPProtocol || (d->protocol == QAbstractSocket::IPv6Protocol && convertToIpv4(dummy, d->a6));Executed by:- tst_qhostaddress - unknown status
| TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | never evaluated |
| TRUE | evaluated 3 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 5 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| 0-9 |
| 688 | return d->a;executed 10673 times by 39 tests: return d->a;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- ...
| 10673 |
| 689 | } | - |
| 690 | | - |
| 691 | | - |
| 692 | | - |
| 693 | | - |
| 694 | QAbstractSocket::NetworkLayerProtocol QHostAddress::protocol() const | - |
| 695 | { | - |
| 696 | QT_ENSURE_PARSED(this);executed 286 times by 12 tests: (this)->d->parse();Executed by:- tst_QHostInfo
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qnetworkcookie - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| TRUE | evaluated 286 times by 12 testsEvaluated by:- tst_QHostInfo
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qnetworkcookie - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 40778 times by 40 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- ...
|
| 286-40778 |
| 697 | return d->protocol;executed 41064 times by 41 tests: return d->protocol;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- ...
| 41064 |
| 698 | } | - |
| 699 | | - |
| 700 | | - |
| 701 | | - |
| 702 | | - |
| 703 | | - |
| 704 | | - |
| 705 | | - |
| 706 | | - |
| 707 | | - |
| 708 | | - |
| 709 | | - |
| 710 | | - |
| 711 | | - |
| 712 | | - |
| 713 | | - |
| 714 | Q_IPV6ADDR QHostAddress::toIPv6Address() const | - |
| 715 | { | - |
| 716 | QT_ENSURE_PARSED(this);executed 1 time by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 1828 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 1-1828 |
| 717 | return d->a6;executed 1829 times by 16 tests: return d->a6;Executed by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 1829 |
| 718 | } | - |
| 719 | | - |
| 720 | | - |
| 721 | | - |
| 722 | | - |
| 723 | | - |
| 724 | | - |
| 725 | | - |
| 726 | | - |
| 727 | | - |
| 728 | | - |
| 729 | | - |
| 730 | QString QHostAddress::toString() const | - |
| 731 | { | - |
| 732 | QT_ENSURE_PARSED(this);executed 3 times by 2 tests: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
| TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
| | FALSE | evaluated 2974 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 3-2974 |
| 733 | if (d->protocol == QAbstractSocket::IPv4Protocol| TRUE | evaluated 2479 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| | FALSE | evaluated 498 times by 13 testsEvaluated by:- tst_QHostInfo
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
|
| 498-2479 |
| 734 | || d->protocol == QAbstractSocket::AnyIPProtocol) {| TRUE | evaluated 23 times by 2 testsEvaluated by:- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
| | FALSE | evaluated 475 times by 13 testsEvaluated by:- tst_QHostInfo
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
|
| 23-475 |
| 735 | quint32 i = toIPv4Address(); | - |
| 736 | QString s; | - |
| 737 | QIPAddressUtils::toString(s, i); | - |
| 738 | return s;executed 2502 times by 25 tests: return s;Executed by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 2502 |
| 739 | } | - |
| 740 | | - |
| 741 | if (d->protocol == QAbstractSocket::IPv6Protocol) {| TRUE | evaluated 294 times by 10 testsEvaluated by:- tst_QHostInfo
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 181 times by 6 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
|
| 181-294 |
| 742 | QString s; | - |
| 743 | QIPAddressUtils::toString(s, d->a6.c); | - |
| 744 | | - |
| 745 | if (!d->scopeId.isEmpty())| TRUE | evaluated 33 times by 5 testsEvaluated by:- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
| | FALSE | evaluated 261 times by 10 testsEvaluated by:- tst_QHostInfo
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
|
| 33-261 |
| 746 | s.append(QLatin1Char('%') + d->scopeId);executed 33 times by 5 tests: s.append(QLatin1Char('%') + d->scopeId);Executed by:- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
| 33 |
| 747 | return s;executed 294 times by 10 tests: return s;Executed by:- tst_QHostInfo
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 294 |
| 748 | } | - |
| 749 | | - |
| 750 | return QString();executed 181 times by 6 tests: return QString();Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| 181 |
| 751 | } | - |
| 752 | | - |
| 753 | | - |
| 754 | | - |
| 755 | | - |
| 756 | | - |
| 757 | | - |
| 758 | | - |
| 759 | | - |
| 760 | | - |
| 761 | | - |
| 762 | | - |
| 763 | | - |
| 764 | | - |
| 765 | | - |
| 766 | | - |
| 767 | | - |
| 768 | | - |
| 769 | | - |
| 770 | | - |
| 771 | | - |
| 772 | | - |
| 773 | | - |
| 774 | | - |
| 775 | | - |
| 776 | | - |
| 777 | | - |
| 778 | | - |
| 779 | | - |
| 780 | | - |
| 781 | | - |
| 782 | | - |
| 783 | | - |
| 784 | | - |
| 785 | | - |
| 786 | | - |
| 787 | | - |
| 788 | | - |
| 789 | QString QHostAddress::scopeId() const | - |
| 790 | { | - |
| 791 | QT_ENSURE_PARSED(this);executed 2 times by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 1818 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 2-1818 |
| 792 | return (d->protocol == QAbstractSocket::IPv6Protocol) ? d->scopeId : QString();executed 1820 times by 16 tests: return (d->protocol == QAbstractSocket::IPv6Protocol) ? d->scopeId : QString();Executed by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| TRUE | evaluated 1112 times by 10 testsEvaluated by:- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 708 times by 13 testsEvaluated by:- tst_NetworkSelfTest
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 708-1820 |
| 793 | } | - |
| 794 | | - |
| 795 | | - |
| 796 | | - |
| 797 | | - |
| 798 | | - |
| 799 | | - |
| 800 | | - |
| 801 | | - |
| 802 | | - |
| 803 | | - |
| 804 | | - |
| 805 | | - |
| 806 | | - |
| 807 | void QHostAddress::setScopeId(const QString &id) | - |
| 808 | { | - |
| 809 | QT_ENSURE_PARSED(this); never executed: (this)->d->parse(); | TRUE | never evaluated | | FALSE | evaluated 443 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qtcpsocket - unknown status
|
| 0-443 |
| 810 | if (d->protocol == QAbstractSocket::IPv6Protocol)| TRUE | evaluated 443 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | never evaluated |
| 0-443 |
| 811 | d->scopeId = id;executed 443 times by 21 tests: d->scopeId = id;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qtcpsocket - unknown status
| 443 |
| 812 | }executed 443 times by 21 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qhostaddress - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qtcpsocket - unknown status
| 443 |
| 813 | | - |
| 814 | | - |
| 815 | | - |
| 816 | | - |
| 817 | | - |
| 818 | bool QHostAddress::operator==(const QHostAddress &other) const | - |
| 819 | { | - |
| 820 | QT_ENSURE_PARSED(this); never executed: (this)->d->parse(); | TRUE | never evaluated | | FALSE | evaluated 6280 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 0-6280 |
| 821 | QT_ENSURE_PARSED(&other);executed 53 times by 3 tests: (&other)->d->parse();Executed by:- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qsocks5socketengine - unknown status
| TRUE | evaluated 53 times by 3 testsEvaluated by:- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qsocks5socketengine - unknown status
| | FALSE | evaluated 6227 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 53-6227 |
| 822 | | - |
| 823 | if (d->protocol == QAbstractSocket::IPv4Protocol)| TRUE | evaluated 5484 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| | FALSE | evaluated 796 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
|
| 796-5484 |
| 824 | return other.d->protocol == QAbstractSocket::IPv4Protocol && d->a == other.d->a;executed 5484 times by 26 tests: return other.d->protocol == QAbstractSocket::IPv4Protocol && d->a == other.d->a;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| TRUE | evaluated 4978 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| | FALSE | evaluated 506 times by 8 testsEvaluated by:- tst_QFtp
- tst_QHostInfo
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
|
| TRUE | evaluated 4653 times by 26 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qiodevice - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
| | FALSE | evaluated 325 times by 8 testsEvaluated by:- tst_QHostInfo
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
|
| 325-5484 |
| 825 | if (d->protocol == QAbstractSocket::IPv6Protocol) {| TRUE | evaluated 685 times by 18 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 111 times by 8 testsEvaluated by:- tst_QTcpServer
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
|
| 111-685 |
| 826 | return other.d->protocol == QAbstractSocket::IPv6Protocolexecuted 685 times by 18 tests: return other.d->protocol == QAbstractSocket::IPv6Protocol && memcmp(&d->a6, &other.d->a6, sizeof(Q_IPV6ADDR)) == 0;Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| TRUE | evaluated 581 times by 17 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 104 times by 10 testsEvaluated by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
|
| 104-685 |
| 827 | && memcmp(&d->a6, &other.d->a6, sizeof(Q_IPV6ADDR)) == 0;executed 685 times by 18 tests: return other.d->protocol == QAbstractSocket::IPv6Protocol && memcmp(&d->a6, &other.d->a6, sizeof(Q_IPV6ADDR)) == 0;Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| TRUE | evaluated 359 times by 17 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 222 times by 5 testsEvaluated by:- tst_QHostInfo
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
|
| 222-685 |
| 828 | } | - |
| 829 | return d->protocol == other.d->protocol;executed 111 times by 8 tests: return d->protocol == other.d->protocol;Executed by:- tst_QTcpServer
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
| 111 |
| 830 | } | - |
| 831 | | - |
| 832 | | - |
| 833 | | - |
| 834 | | - |
| 835 | | - |
| 836 | bool QHostAddress::operator ==(SpecialAddress other) const | - |
| 837 | { | - |
| 838 | QT_ENSURE_PARSED(this);executed 15 times by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
| TRUE | evaluated 15 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 2554 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 15-2554 |
| 839 | quint32 ip4 = INADDR_ANY; | - |
| 840 | switch (other) { | - |
| 841 | case Null:executed 8 times by 1 test: case Null:Executed by:- tst_qhostaddress - unknown status
| 8 |
| 842 | return d->protocol == QAbstractSocket::UnknownNetworkLayerProtocol;executed 8 times by 1 test: return d->protocol == QAbstractSocket::UnknownNetworkLayerProtocol;Executed by:- tst_qhostaddress - unknown status
| 8 |
| 843 | | - |
| 844 | case Broadcast:executed 8 times by 1 test: case Broadcast:Executed by:- tst_qhostaddress - unknown status
| 8 |
| 845 | ip4 = INADDR_BROADCAST; | - |
| 846 | break;executed 8 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 8 |
| 847 | | - |
| 848 | case LocalHost:executed 12 times by 1 test: case LocalHost:Executed by:- tst_qhostaddress - unknown status
| 12 |
| 849 | ip4 = INADDR_LOOPBACK; | - |
| 850 | break;executed 12 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 12 |
| 851 | | - |
| 852 | case Any:executed 60 times by 5 tests: case Any:Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qsocketnotifier - unknown status
- tst_qtcpsocket - unknown status
| 60 |
| 853 | return d->protocol == QAbstractSocket::AnyIPProtocol;executed 60 times by 5 tests: return d->protocol == QAbstractSocket::AnyIPProtocol;Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qsocketnotifier - unknown status
- tst_qtcpsocket - unknown status
| 60 |
| 854 | | - |
| 855 | case AnyIPv4:executed 1239 times by 15 tests: case AnyIPv4:Executed by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 1239 |
| 856 | break;executed 1239 times by 15 tests: break;Executed by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 1239 |
| 857 | | - |
| 858 | case LocalHostIPv6:executed 16 times by 3 tests: case LocalHostIPv6:Executed by:- tst_QNetworkInterface
- tst_QTcpServer
- tst_qhostaddress - unknown status
| 16 |
| 859 | case AnyIPv6:executed 1226 times by 15 tests: case AnyIPv6:Executed by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 1226 |
| 860 | if (d->protocol == QAbstractSocket::IPv6Protocol) {| TRUE | evaluated 1226 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| | FALSE | evaluated 16 times by 4 testsEvaluated by:- tst_QNetworkInterface
- tst_QTcpServer
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 16-1226 |
| 861 | quint64 second = quint8(other == LocalHostIPv6); | - |
| 862 | return d->a6_64.c[0] == 0 && d->a6_64.c[1] == qToBigEndian(second);executed 1226 times by 16 tests: return d->a6_64.c[0] == 0 && d->a6_64.c[1] == qToBigEndian(second);Executed by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| TRUE | evaluated 1208 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| | FALSE | evaluated 18 times by 2 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
|
| TRUE | evaluated 633 times by 15 testsEvaluated by:- tst_NetworkSelfTest
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| | FALSE | evaluated 575 times by 13 testsEvaluated by:- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| 18-1226 |
| 863 | } | - |
| 864 | return false;executed 16 times by 4 tests: return false;Executed by:- tst_QNetworkInterface
- tst_QTcpServer
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 16 |
| 865 | } | - |
| 866 | | - |
| 867 | | - |
| 868 | return d->protocol == QAbstractSocket::IPv4Protocol && d->a == ip4;executed 1259 times by 15 tests: return d->protocol == QAbstractSocket::IPv4Protocol && d->a == ip4;Executed by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| TRUE | evaluated 40 times by 5 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qsocketnotifier - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 1219 times by 15 testsEvaluated by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
|
| TRUE | evaluated 31 times by 4 testsEvaluated by:- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qsocketnotifier - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 9 times by 3 testsEvaluated by:- tst_QTcpServer
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 9-1259 |
| 869 | } | - |
| 870 | | - |
| 871 | | - |
| 872 | | - |
| 873 | | - |
| 874 | | - |
| 875 | | - |
| 876 | bool QHostAddress::isNull() const | - |
| 877 | { | - |
| 878 | QT_ENSURE_PARSED(this);executed 76 times by 2 tests: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
- tst_qsslsocket - unknown status
| TRUE | evaluated 76 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qsslsocket - unknown status
| | FALSE | evaluated 4237 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qdnslookup_appless - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- ...
|
| 76-4237 |
| 879 | return d->protocol == QAbstractSocket::UnknownNetworkLayerProtocol;executed 4313 times by 29 tests: return d->protocol == QAbstractSocket::UnknownNetworkLayerProtocol;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_platformsocketengine - unknown status
- tst_qdnslookup - unknown status
- tst_qdnslookup_appless - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaddressentry - unknown status
- ...
| 4313 |
| 880 | } | - |
| 881 | | - |
| 882 | | - |
| 883 | | - |
| 884 | | - |
| 885 | | - |
| 886 | | - |
| 887 | | - |
| 888 | | - |
| 889 | | - |
| 890 | | - |
| 891 | | - |
| 892 | | - |
| 893 | | - |
| 894 | | - |
| 895 | | - |
| 896 | | - |
| 897 | | - |
| 898 | | - |
| 899 | | - |
| 900 | | - |
| 901 | bool QHostAddress::isInSubnet(const QHostAddress &subnet, int netmask) const | - |
| 902 | { | - |
| 903 | QT_ENSURE_PARSED(this);executed 12 times by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
| TRUE | evaluated 12 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 62 times by 4 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 12-62 |
| 904 | if (subnet.protocol() != d->protocol || netmask < 0)| TRUE | evaluated 26 times by 4 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 48 times by 4 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 47 times by 4 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 1-48 |
| 905 | return false;executed 27 times by 4 tests: return false;Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 27 |
| 906 | | - |
| 907 | union { | - |
| 908 | quint32 ip; | - |
| 909 | quint8 data[4]; | - |
| 910 | } ip4, net4; | - |
| 911 | const quint8 *ip; | - |
| 912 | const quint8 *net; | - |
| 913 | if (d->protocol == QAbstractSocket::IPv4Protocol) {| TRUE | evaluated 26 times by 4 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 21 times by 4 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 21-26 |
| 914 | if (netmask > 32)| TRUE | never evaluated | | FALSE | evaluated 26 times by 4 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 0-26 |
| 915 | netmask = 32; never executed: netmask = 32; | 0 |
| 916 | ip4.ip = qToBigEndian(d->a); | - |
| 917 | net4.ip = qToBigEndian(subnet.d->a); | - |
| 918 | ip = ip4.data; | - |
| 919 | net = net4.data; | - |
| 920 | } else if (d->protocol == QAbstractSocket::IPv6Protocol) {executed 26 times by 4 tests: end of blockExecuted by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| TRUE | evaluated 20 times by 4 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 1 time by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| 1-26 |
| 921 | if (netmask > 128)| TRUE | never evaluated | | FALSE | evaluated 20 times by 4 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 0-20 |
| 922 | netmask = 128; never executed: netmask = 128; | 0 |
| 923 | ip = d->a6.c; | - |
| 924 | net = subnet.d->a6.c; | - |
| 925 | } else {executed 20 times by 4 tests: end of blockExecuted by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 20 |
| 926 | return false;executed 1 time by 1 test: return false;Executed by:- tst_qhostaddress - unknown status
| 1 |
| 927 | } | - |
| 928 | | - |
| 929 | if (netmask >= 8 && memcmp(ip, net, netmask / 8) != 0)| TRUE | evaluated 30 times by 4 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 16 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| TRUE | evaluated 13 times by 4 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 17 times by 4 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 13-30 |
| 930 | return false;executed 13 times by 4 tests: return false;Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 13 |
| 931 | if ((netmask & 7) == 0)| TRUE | evaluated 16 times by 3 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
| | FALSE | evaluated 17 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 16-17 |
| 932 | return true;executed 16 times by 3 tests: return true;Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
| 16 |
| 933 | | - |
| 934 | | - |
| 935 | quint8 bytemask = 256 - (1 << (8 - (netmask & 7))); | - |
| 936 | quint8 ipbyte = ip[netmask / 8]; | - |
| 937 | quint8 netbyte = net[netmask / 8]; | - |
| 938 | return (ipbyte & bytemask) == (netbyte & bytemask);executed 17 times by 2 tests: return (ipbyte & bytemask) == (netbyte & bytemask);Executed by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 17 |
| 939 | } | - |
| 940 | | - |
| 941 | | - |
| 942 | | - |
| 943 | | - |
| 944 | | - |
| 945 | | - |
| 946 | | - |
| 947 | | - |
| 948 | | - |
| 949 | | - |
| 950 | bool QHostAddress::isInSubnet(const QPair<QHostAddress, int> &subnet) const | - |
| 951 | { | - |
| 952 | return isInSubnet(subnet.first, subnet.second);executed 10 times by 1 test: return isInSubnet(subnet.first, subnet.second);Executed by:- tst_qtcpsocket - unknown status
| 10 |
| 953 | } | - |
| 954 | | - |
| 955 | | - |
| 956 | | - |
| 957 | | - |
| 958 | | - |
| 959 | | - |
| 960 | | - |
| 961 | | - |
| 962 | | - |
| 963 | | - |
| 964 | | - |
| 965 | | - |
| 966 | | - |
| 967 | | - |
| 968 | | - |
| 969 | | - |
| 970 | | - |
| 971 | | - |
| 972 | | - |
| 973 | | - |
| 974 | | - |
| 975 | | - |
| 976 | | - |
| 977 | | - |
| 978 | | - |
| 979 | | - |
| 980 | QPair<QHostAddress, int> QHostAddress::parseSubnet(const QString &subnet) | - |
| 981 | { | - |
| 982 | | - |
| 983 | | - |
| 984 | | - |
| 985 | | - |
| 986 | | - |
| 987 | | - |
| 988 | | - |
| 989 | | - |
| 990 | | - |
| 991 | | - |
| 992 | | - |
| 993 | | - |
| 994 | | - |
| 995 | | - |
| 996 | | - |
| 997 | const QPair<QHostAddress, int> invalid = qMakePair(QHostAddress(), -1); | - |
| 998 | if (subnet.isEmpty())| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 85 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 1-85 |
| 999 | return invalid;executed 1 time by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 1 |
| 1000 | | - |
| 1001 | int slash = subnet.indexOf(QLatin1Char('/')); | - |
| 1002 | QString netStr = subnet; | - |
| 1003 | if (slash != -1)| TRUE | evaluated 72 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 13 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| 13-72 |
| 1004 | netStr.truncate(slash);executed 72 times by 2 tests: netStr.truncate(slash);Executed by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 72 |
| 1005 | | - |
| 1006 | int netmask = -1; | - |
| 1007 | bool isIpv6 = netStr.contains(QLatin1Char(':')); | - |
| 1008 | | - |
| 1009 | if (slash != -1) {| TRUE | evaluated 72 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 13 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| 13-72 |
| 1010 | | - |
| 1011 | if (!isIpv6 && subnet.indexOf(QLatin1Char('.'), slash + 1) != -1) {| TRUE | evaluated 40 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 32 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| TRUE | evaluated 16 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 16-40 |
| 1012 | | - |
| 1013 | QNetmaskAddress parser; | - |
| 1014 | if (!parser.setAddress(subnet.mid(slash + 1)))| TRUE | evaluated 3 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 13 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| 3-13 |
| 1015 | return invalid;executed 3 times by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 3 |
| 1016 | netmask = parser.prefixLength(); | - |
| 1017 | } else {executed 13 times by 1 test: end of blockExecuted by:- tst_qhostaddress - unknown status
| 13 |
| 1018 | bool ok; | - |
| 1019 | netmask = subnet.mid(slash + 1).toUInt(&ok); | - |
| 1020 | if (!ok)| TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 52 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 4-52 |
| 1021 | return invalid; executed 4 times by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 4 |
| 1022 | }executed 52 times by 2 tests: end of blockExecuted by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 52 |
| 1023 | } | - |
| 1024 | | - |
| 1025 | if (isIpv6) {| TRUE | evaluated 30 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 48 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 30-48 |
| 1026 | | - |
| 1027 | if (netmask > 128)| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 29 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 1-29 |
| 1028 | return invalid; executed 1 time by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 1 |
| 1029 | if (netmask < 0)| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 28 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 1-28 |
| 1030 | netmask = 128;executed 1 time by 1 test: netmask = 128;Executed by:- tst_qhostaddress - unknown status
| 1 |
| 1031 | | - |
| 1032 | QHostAddress net; | - |
| 1033 | if (!net.setAddress(netStr))| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 28 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 1-28 |
| 1034 | return invalid; executed 1 time by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 1 |
| 1035 | | - |
| 1036 | clearBits(net.d->a6.c, netmask, 128); | - |
| 1037 | return qMakePair(net, netmask);executed 28 times by 2 tests: return qMakePair(net, netmask);Executed by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 28 |
| 1038 | } | - |
| 1039 | | - |
| 1040 | if (netmask > 32)| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 47 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 1-47 |
| 1041 | return invalid; executed 1 time by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 1 |
| 1042 | | - |
| 1043 | | - |
| 1044 | QStringList parts = netStr.split(QLatin1Char('.')); | - |
| 1045 | if (parts.isEmpty() || parts.count() > 4)| TRUE | never evaluated | | FALSE | evaluated 47 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 45 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 0-47 |
| 1046 | return invalid; executed 2 times by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 2 |
| 1047 | | - |
| 1048 | if (parts.last().isEmpty())| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 43 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 2-43 |
| 1049 | parts.removeLast();executed 2 times by 1 test: parts.removeLast();Executed by:- tst_qhostaddress - unknown status
| 2 |
| 1050 | | - |
| 1051 | quint32 addr = 0; | - |
| 1052 | for (int i = 0; i < parts.count(); ++i) {| TRUE | evaluated 154 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 42 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 42-154 |
| 1053 | bool ok; | - |
| 1054 | uint byteValue = parts.at(i).toUInt(&ok); | - |
| 1055 | if (!ok || byteValue > 255)| TRUE | evaluated 3 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 151 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| TRUE | never evaluated | | FALSE | evaluated 151 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 0-151 |
| 1056 | return invalid; executed 3 times by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 3 |
| 1057 | | - |
| 1058 | addr <<= 8; | - |
| 1059 | addr += byteValue; | - |
| 1060 | }executed 151 times by 2 tests: end of blockExecuted by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 151 |
| 1061 | addr <<= 8 * (4 - parts.count()); | - |
| 1062 | if (netmask == -1) {| TRUE | evaluated 7 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 35 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 7-35 |
| 1063 | netmask = 8 * parts.count(); | - |
| 1064 | } else if (netmask == 0) {executed 7 times by 1 test: end of blockExecuted by:- tst_qhostaddress - unknown status
| TRUE | evaluated 3 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 32 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
| 3-32 |
| 1065 | | - |
| 1066 | | - |
| 1067 | | - |
| 1068 | addr = 0; | - |
| 1069 | } else if (netmask != 32) {executed 3 times by 1 test: end of blockExecuted by:- tst_qhostaddress - unknown status
| TRUE | evaluated 30 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| 2-30 |
| 1070 | | - |
| 1071 | quint32 mask = quint32(0xffffffff) >> (32 - netmask) << (32 - netmask); | - |
| 1072 | addr &= mask; | - |
| 1073 | }executed 30 times by 2 tests: end of blockExecuted by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 30 |
| 1074 | | - |
| 1075 | return qMakePair(QHostAddress(addr), netmask);executed 42 times by 2 tests: return qMakePair(QHostAddress(addr), netmask);Executed by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 42 |
| 1076 | } | - |
| 1077 | | - |
| 1078 | | - |
| 1079 | | - |
| 1080 | | - |
| 1081 | | - |
| 1082 | | - |
| 1083 | | - |
| 1084 | bool QHostAddress::isLoopback() const | - |
| 1085 | { | - |
| 1086 | QT_ENSURE_PARSED(this);executed 838 times by 11 tests: (this)->d->parse();Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| TRUE | evaluated 838 times by 11 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QXmlInputSource
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 10338 times by 31 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- ...
|
| 838-10338 |
| 1087 | if ((d->a & 0xFF000000) == 0x7F000000)| TRUE | evaluated 2373 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| | FALSE | evaluated 8803 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- ...
|
| 2373-8803 |
| 1088 | return true; executed 2373 times by 22 tests: return true;Executed by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_platformsocketengine - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkreply - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 2373 |
| 1089 | if (d->protocol == QAbstractSocket::IPv6Protocol) {| TRUE | evaluated 1103 times by 11 testsEvaluated by:- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 7700 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
|
| 1103-7700 |
| 1090 | #ifdef __SSE2__ | - |
| 1091 | const __m128i loopback = _mm_setr_epi8(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1); | - |
| 1092 | __m128i ipv6 = _mm_loadu_si128((const __m128i *)d->a6.c); | - |
| 1093 | __m128i cmp = _mm_cmpeq_epi8(ipv6, loopback); | - |
| 1094 | return _mm_movemask_epi8(cmp) == 0xffff;executed 1103 times by 11 tests: return _mm_movemask_epi8(cmp) == 0xffff;Executed by:- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qtcpsocket - unknown status
| 1103 |
| 1095 | #else | - |
| 1096 | if (d->a6_64.c[0] != 0 || qFromBigEndian(d->a6_64.c[1]) != 1) | - |
| 1097 | return false; | - |
| 1098 | #endif | - |
| 1099 | return true; dead code: return true; | - |
| 1100 | } | - |
| 1101 | return false;executed 7700 times by 25 tests: return false;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_Spdy
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qiodevice - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
- tst_qtextstream - unknown status
- tst_qxmlsimplereader - unknown status
| 7700 |
| 1102 | } | - |
| 1103 | | - |
| 1104 | | - |
| 1105 | | - |
| 1106 | | - |
| 1107 | | - |
| 1108 | | - |
| 1109 | | - |
| 1110 | bool QHostAddress::isMulticast() const | - |
| 1111 | { | - |
| 1112 | QT_ENSURE_PARSED(this);executed 17 times by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
| TRUE | evaluated 17 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 8 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| 8-17 |
| 1113 | if ((d->a & 0xF0000000) == 0xE0000000)| TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 21 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| 4-21 |
| 1114 | return true; executed 4 times by 1 test: return true;Executed by:- tst_qhostaddress - unknown status
| 4 |
| 1115 | if (d->protocol == QAbstractSocket::IPv6Protocol)| TRUE | evaluated 11 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 10 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| 10-11 |
| 1116 | return d->a6.c[0] == 0xff;executed 11 times by 1 test: return d->a6.c[0] == 0xff;Executed by:- tst_qhostaddress - unknown status
| 11 |
| 1117 | return false;executed 10 times by 1 test: return false;Executed by:- tst_qhostaddress - unknown status
| 10 |
| 1118 | } | - |
| 1119 | | - |
| 1120 | #ifndef QT_NO_DEBUG_STREAM | - |
| 1121 | QDebug operator<<(QDebug d, const QHostAddress &address) | - |
| 1122 | { | - |
| 1123 | QDebugStateSaver saver(d); | - |
| 1124 | d.resetFormat().nospace(); | - |
| 1125 | if (address == QHostAddress::Any)| TRUE | never evaluated | | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
|
| 0-4 |
| 1126 | d << "QHostAddress(QHostAddress::Any)"; never executed: d << "QHostAddress(QHostAddress::Any)"; | 0 |
| 1127 | else | - |
| 1128 | d << "QHostAddress(" << address.toString() << ')';executed 4 times by 2 tests: d << "QHostAddress(" << address.toString() << ')';Executed by:- tst_QTcpServer
- tst_QUdpSocket
| 4 |
| 1129 | return d;executed 4 times by 2 tests: return d;Executed by:- tst_QTcpServer
- tst_QUdpSocket
| 4 |
| 1130 | } | - |
| 1131 | #endif | - |
| 1132 | | - |
| 1133 | | - |
| 1134 | | - |
| 1135 | | - |
| 1136 | | - |
| 1137 | | - |
| 1138 | uint qHash(const QHostAddress &key, uint seed) | - |
| 1139 | { | - |
| 1140 | | - |
| 1141 | QT_ENSURE_PARSED(&key); never executed: (&key)->d->parse(); | TRUE | never evaluated | | FALSE | evaluated 10 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| 0-10 |
| 1142 | return qHashBits(key.d->a6.c, 16, seed);executed 10 times by 1 test: return qHashBits(key.d->a6.c, 16, seed);Executed by:- tst_qhostaddress - unknown status
| 10 |
| 1143 | } | - |
| 1144 | | - |
| 1145 | | - |
| 1146 | | - |
| 1147 | | - |
| 1148 | | - |
| 1149 | | - |
| 1150 | | - |
| 1151 | | - |
| 1152 | | - |
| 1153 | | - |
| 1154 | #ifndef QT_NO_DATASTREAM | - |
| 1155 | | - |
| 1156 | | - |
| 1157 | | - |
| 1158 | | - |
| 1159 | | - |
| 1160 | | - |
| 1161 | | - |
| 1162 | | - |
| 1163 | QDataStream &operator<<(QDataStream &out, const QHostAddress &address) | - |
| 1164 | { | - |
| 1165 | qint8 prot; | - |
| 1166 | prot = qint8(address.protocol()); | - |
| 1167 | out << prot; | - |
| 1168 | switch (address.protocol()) { | - |
| 1169 | case QAbstractSocket::UnknownNetworkLayerProtocol:executed 3 times by 1 test: case QAbstractSocket::UnknownNetworkLayerProtocol:Executed by:- tst_qhostaddress - unknown status
| 3 |
| 1170 | case QAbstractSocket::AnyIPProtocol:executed 1 time by 1 test: case QAbstractSocket::AnyIPProtocol:Executed by:- tst_qhostaddress - unknown status
| 1 |
| 1171 | break;executed 4 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 4 |
| 1172 | case QAbstractSocket::IPv4Protocol:executed 5 times by 1 test: case QAbstractSocket::IPv4Protocol:Executed by:- tst_qhostaddress - unknown status
| 5 |
| 1173 | out << address.toIPv4Address(); | - |
| 1174 | break;executed 5 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 5 |
| 1175 | case QAbstractSocket::IPv6Protocol:executed 4 times by 1 test: case QAbstractSocket::IPv6Protocol:Executed by:- tst_qhostaddress - unknown status
| 4 |
| 1176 | { | - |
| 1177 | Q_IPV6ADDR ipv6 = address.toIPv6Address(); | - |
| 1178 | for (int i = 0; i < 16; ++i)| TRUE | evaluated 64 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| 4-64 |
| 1179 | out << ipv6[i];executed 64 times by 1 test: out << ipv6[i];Executed by:- tst_qhostaddress - unknown status
| 64 |
| 1180 | out << address.scopeId(); | - |
| 1181 | } | - |
| 1182 | break;executed 4 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 4 |
| 1183 | } | - |
| 1184 | return out;executed 13 times by 1 test: return out;Executed by:- tst_qhostaddress - unknown status
| 13 |
| 1185 | } | - |
| 1186 | | - |
| 1187 | | - |
| 1188 | | - |
| 1189 | | - |
| 1190 | | - |
| 1191 | | - |
| 1192 | | - |
| 1193 | | - |
| 1194 | QDataStream &operator>>(QDataStream &in, QHostAddress &address) | - |
| 1195 | { | - |
| 1196 | qint8 prot; | - |
| 1197 | in >> prot; | - |
| 1198 | switch (QAbstractSocket::NetworkLayerProtocol(prot)) { | - |
| 1199 | case QAbstractSocket::UnknownNetworkLayerProtocol:executed 3 times by 1 test: case QAbstractSocket::UnknownNetworkLayerProtocol:Executed by:- tst_qhostaddress - unknown status
| 3 |
| 1200 | address.clear(); | - |
| 1201 | break;executed 3 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 3 |
| 1202 | case QAbstractSocket::IPv4Protocol:executed 5 times by 1 test: case QAbstractSocket::IPv4Protocol:Executed by:- tst_qhostaddress - unknown status
| 5 |
| 1203 | { | - |
| 1204 | quint32 ipv4; | - |
| 1205 | in >> ipv4; | - |
| 1206 | address.setAddress(ipv4); | - |
| 1207 | } | - |
| 1208 | break;executed 5 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 5 |
| 1209 | case QAbstractSocket::IPv6Protocol:executed 4 times by 1 test: case QAbstractSocket::IPv6Protocol:Executed by:- tst_qhostaddress - unknown status
| 4 |
| 1210 | { | - |
| 1211 | Q_IPV6ADDR ipv6; | - |
| 1212 | for (int i = 0; i < 16; ++i)| TRUE | evaluated 64 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
| 4-64 |
| 1213 | in >> ipv6[i];executed 64 times by 1 test: in >> ipv6[i];Executed by:- tst_qhostaddress - unknown status
| 64 |
| 1214 | address.setAddress(ipv6); | - |
| 1215 | | - |
| 1216 | QString scope; | - |
| 1217 | in >> scope; | - |
| 1218 | address.setScopeId(scope); | - |
| 1219 | } | - |
| 1220 | break;executed 4 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 4 |
| 1221 | case QAbstractSocket::AnyIPProtocol:executed 1 time by 1 test: case QAbstractSocket::AnyIPProtocol:Executed by:- tst_qhostaddress - unknown status
| 1 |
| 1222 | address = QHostAddress::Any; | - |
| 1223 | break;executed 1 time by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 1 |
| 1224 | default: never executed: default: | 0 |
| 1225 | address.clear(); | - |
| 1226 | in.setStatus(QDataStream::ReadCorruptData); | - |
| 1227 | } never executed: end of block | 0 |
| 1228 | return in;executed 13 times by 1 test: return in;Executed by:- tst_qhostaddress - unknown status
| 13 |
| 1229 | } | - |
| 1230 | | - |
| 1231 | #endif //QT_NO_DATASTREAM | - |
| 1232 | | - |
| 1233 | QT_END_NAMESPACE | - |
| | |