| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | | - |
| 15 | class QHostAddressPrivate | - |
| 16 | { | - |
| 17 | public: | - |
| 18 | QHostAddressPrivate(); | - |
| 19 | | - |
| 20 | void setAddress(quint32 a_ = 0); | - |
| 21 | void setAddress(const quint8 *a_); | - |
| 22 | void setAddress(const Q_IPV6ADDR &a_); | - |
| 23 | | - |
| 24 | bool parse(); | - |
| 25 | void clear(); | - |
| 26 | | - |
| 27 | QString ipString; | - |
| 28 | QString scopeId; | - |
| 29 | | - |
| 30 | union { | - |
| 31 | Q_IPV6ADDR a6; | - |
| 32 | struct { quint64 c[2]; } a6_64; | - |
| 33 | struct { quint32 c[4]; } a6_32; | - |
| 34 | }; | - |
| 35 | quint32 a; | - |
| 36 | qint8 protocol; | - |
| 37 | bool isParsed; | - |
| 38 | | - |
| 39 | friend class QHostAddress; | - |
| 40 | }; | - |
| 41 | | - |
| 42 | QHostAddressPrivate::QHostAddressPrivate() | - |
| 43 | : a(0), protocol(QAbstractSocket::UnknownNetworkLayerProtocol), isParsed(true) | - |
| 44 | { | - |
| 45 | memset(&a6, 0, sizeof(a6)); | - |
| 46 | }executed 235092 times by 46 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
- ...
| 235092 |
| 47 | | - |
| 48 | void QHostAddressPrivate::setAddress(quint32 a_) | - |
| 49 | { | - |
| 50 | a = a_; | - |
| 51 | protocol = QAbstractSocket::IPv4Protocol; | - |
| 52 | isParsed = true; | - |
| 53 | | - |
| 54 | | - |
| 55 | a6_64.c[0] = 0; | - |
| 56 | if (a| TRUE | evaluated 20978 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_qdnslookup_appless - unknown status
- tst_qeventloop - unknown status
- tst_qguieventloop - unknown status
- tst_qhostaddress - unknown status
- ...
| | FALSE | evaluated 644 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
|
) { | 644-20978 |
| 57 | a6_32.c[2] = qToBigEndian(0xffff); | - |
| 58 | a6_32.c[3] = qToBigEndian(a); | - |
| 59 | }executed 20978 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
- ...
else { | 20978 |
| 60 | a6_64.c[1] = 0; | - |
| 61 | }executed 644 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
| 644 |
| 62 | } | - |
| 63 | | - |
| 64 | | - |
| 65 | | - |
| 66 | static bool convertToIpv4(quint32& a, const Q_IPV6ADDR &a6) | - |
| 67 | { | - |
| 68 | const uchar *ptr = a6.c; | - |
| 69 | if (qFromUnaligned<quint64>(ptr) != 0| TRUE | evaluated 1566 times by 26 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_qnetworkaddressentry - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
| | FALSE | evaluated 2282 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_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- ...
|
) | 1566-2282 |
| 70 | returnexecuted 1566 times by 26 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_qnetworkaddressentry - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
false;executed 1566 times by 26 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_qnetworkaddressentry - unknown status
- tst_qnetworkcookiejar - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- ...
| 1566 |
| 71 | if (qFromBigEndian<quint32>(ptr + 8) == 0| TRUE | evaluated 1295 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_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- ...
| | FALSE | evaluated 987 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
|
) { | 987-1295 |
| 72 | | - |
| 73 | a = 0; | - |
| 74 | returnexecuted 1295 times by 29 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_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- ...
qFromBigEndian<quint32>(ptr + 12) == 0;executed 1295 times by 29 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_qnetworkaddressentry - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- ...
| 1295 |
| 75 | } | - |
| 76 | if (qFromBigEndian<quint32>(ptr + 8) != 0xFFFF| TRUE | never evaluated | | FALSE | evaluated 987 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-987 |
| 77 | return never executed: return false; false;never executed: return false; | 0 |
| 78 | a = qFromBigEndian<quint32>(ptr + 12); | - |
| 79 | returnexecuted 987 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
true;executed 987 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
| 987 |
| 80 | } | - |
| 81 | | - |
| 82 | void QHostAddressPrivate::setAddress(const quint8 *a_) | - |
| 83 | { | - |
| 84 | protocol = QAbstractSocket::IPv6Protocol; | - |
| 85 | isParsed = true; | - |
| 86 | memcpy(a6.c, a_, sizeof(a6)); | - |
| 87 | a = 0; | - |
| 88 | convertToIpv4(a, a6); | - |
| 89 | }executed 3840 times by 33 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_qnetworkaddressentry - unknown status
- tst_qnetworkcookiejar - unknown status
- ...
| 3840 |
| 90 | | - |
| 91 | void QHostAddressPrivate::setAddress(const Q_IPV6ADDR &a_) | - |
| 92 | { | - |
| 93 | setAddress(a_.c); | - |
| 94 | }executed 1930 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
| 1930 |
| 95 | | - |
| 96 | static bool parseIp6(const QString &address, QIPAddressUtils::IPv6Address &addr, QString *scopeId) | - |
| 97 | { | - |
| 98 | QString tmp = address; | - |
| 99 | int scopeIdPos = tmp.lastIndexOf(QLatin1Char('%')); | - |
| 100 | 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 |
| 101 | *scopeId = tmp.mid(scopeIdPos + 1); | - |
| 102 | tmp.chop(tmp.size() - scopeIdPos); | - |
| 103 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_QTcpServer
- tst_qhostaddress - unknown status
else { | 6 |
| 104 | scopeId->clear(); | - |
| 105 | }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 |
| 106 | returnexecuted 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
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 |
| 107 | } | - |
| 108 | | - |
| 109 | __attribute__((noinline)) bool QHostAddressPrivate::parse() | - |
| 110 | { | - |
| 111 | isParsed = true; | - |
| 112 | protocol = QAbstractSocket::UnknownNetworkLayerProtocol; | - |
| 113 | QString a = ipString.simplified(); | - |
| 114 | if (a.isEmpty()| TRUE | evaluated 3499 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 19113 times by 36 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
- ...
|
) | 3499-19113 |
| 115 | returnexecuted 3499 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
false;executed 3499 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
| 3499 |
| 116 | | - |
| 117 | | - |
| 118 | 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 18794 times by 36 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-18794 |
| 119 | quint8 maybeIp6[16]; | - |
| 120 | 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 |
| 121 | setAddress(maybeIp6); | - |
| 122 | returnexecuted 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
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 |
| 123 | } | - |
| 124 | }executed 47 times by 3 tests: end of blockExecuted by:- tst_QHostInfo
- tst_Spdy
- tst_qhostaddress - unknown status
| 47 |
| 125 | | - |
| 126 | quint32 maybeIp4 = 0; | - |
| 127 | if (QIPAddressUtils::parseIp4(maybeIp4, a.constBegin(), a.constEnd())| TRUE | evaluated 3326 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 15515 times by 28 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_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
|
) { | 3326-15515 |
| 128 | setAddress(maybeIp4); | - |
| 129 | returnexecuted 3326 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
- ...
true;executed 3326 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
- ...
| 3326 |
| 130 | } | - |
| 131 | | - |
| 132 | returnexecuted 15515 times by 28 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_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
false;executed 15515 times by 28 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_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- ...
| 15515 |
| 133 | } | - |
| 134 | | - |
| 135 | void QHostAddressPrivate::clear() | - |
| 136 | { | - |
| 137 | a = 0; | - |
| 138 | protocol = QAbstractSocket::UnknownNetworkLayerProtocol; | - |
| 139 | isParsed = true; | - |
| 140 | memset(&a6, 0, sizeof(a6)); | - |
| 141 | }executed 198791 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_qnetworkaddressentry - unknown status
- ...
| 198791 |
| 142 | | - |
| 143 | | - |
| 144 | bool QNetmaskAddress::setAddress(const QString &address) | - |
| 145 | { | - |
| 146 | length = -1; | - |
| 147 | QHostAddress other; | - |
| 148 | returnexecuted 16 times by 1 test: return other.setAddress(address) && setAddress(other);Executed by:- tst_qhostaddress - unknown status
other.setAddress(address) && setAddress(other);executed 16 times by 1 test: return other.setAddress(address) && setAddress(other);Executed by:- tst_qhostaddress - unknown status
| 16 |
| 149 | } | - |
| 150 | | - |
| 151 | bool QNetmaskAddress::setAddress(const QHostAddress &address) | - |
| 152 | { | - |
| 153 | static const quint8 zeroes[16] = { 0 }; | - |
| 154 | union { | - |
| 155 | quint32 v4; | - |
| 156 | quint8 v6[16]; | - |
| 157 | } ip; | - |
| 158 | | - |
| 159 | int netmask = 0; | - |
| 160 | quint8 *ptr = ip.v6; | - |
| 161 | quint8 *end; | - |
| 162 | length = -1; | - |
| 163 | | - |
| 164 | QHostAddress::operator=(address); | - |
| 165 | | - |
| 166 | if (d->protocol == QAbstractSocket::IPv4Protocol| TRUE | evaluated 634 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 625 times by 20 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
|
) { | 625-634 |
| 167 | ip.v4 = qToBigEndian(d->a); | - |
| 168 | end = ptr + 4; | - |
| 169 | }executed 634 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
else if (d->protocol == QAbstractSocket::IPv6Protocol| TRUE | evaluated 621 times by 20 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
|
) { | 4-634 |
| 170 | memcpy(ip.v6, d->a6.c, 16); | - |
| 171 | end = ptr + 16; | - |
| 172 | }executed 621 times by 20 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
else { | 621 |
| 173 | d->clear(); | - |
| 174 | returnexecuted 4 times by 1 test: return false;Executed by:- tst_qnetworkaddressentry - unknown status
false;executed 4 times by 1 test: return false;Executed by:- tst_qnetworkaddressentry - unknown status
| 4 |
| 175 | } | - |
| 176 | | - |
| 177 | while (ptr < end| TRUE | evaluated 8881 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 207 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
|
) { | 207-8881 |
| 178 | switch (*ptr) { | - |
| 179 | caseexecuted 7833 times by 21 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
255:executed 7833 times by 21 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 7833 |
| 180 | netmask += 8; | - |
| 181 | ++ptr; | - |
| 182 | continue;executed 7833 times by 21 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 7833 |
| 183 | | - |
| 184 | defaultexecuted 4 times by 2 tests: default:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
:executed 4 times by 2 tests: default:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 4 |
| 185 | d->clear(); | - |
| 186 | returnexecuted 4 times by 2 tests: return false;Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
false;executed 4 times by 2 tests: return false;Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 4 |
| 187 | | - |
| 188 | | - |
| 189 | caseexecuted 4 times by 2 tests: case 254:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
254:executed 4 times by 2 tests: case 254:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 4 |
| 190 | ++netmask; | - |
| 191 | caseexecuted 1 time by 1 test: case 252:Executed by:- tst_qhostaddress - unknown status
252:executed 1 time by 1 test: case 252:Executed by:- tst_qhostaddress - unknown status
code before this statement executed 4 times by 2 tests: case 252:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 1-4 |
| 192 | ++netmask; | - |
| 193 | caseexecuted 205 times by 20 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_qtcpsocket - unknown status
248:executed 205 times by 20 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_qtcpsocket - unknown status
code before this statement executed 5 times by 2 tests: case 248:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 5-205 |
| 194 | ++netmask; | - |
| 195 | caseexecuted 3 times by 2 tests: case 240:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
240:executed 3 times by 2 tests: case 240:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
code before this statement executed 210 times by 21 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 3-210 |
| 196 | ++netmask; | - |
| 197 | caseexecuted 2 times by 2 tests: case 224:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
224:executed 2 times by 2 tests: case 224:Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
code before this statement executed 213 times by 21 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 2-213 |
| 198 | ++netmask; | - |
| 199 | caseexecuted 1 time by 1 test: case 192:Executed by:- tst_qhostaddress - unknown status
192:executed 1 time by 1 test: case 192:Executed by:- tst_qhostaddress - unknown status
code before this statement executed 215 times by 21 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 1-215 |
| 200 | ++netmask; | - |
| 201 | caseexecuted 1 time by 1 test: case 128:Executed by:- tst_qhostaddress - unknown status
128:executed 1 time by 1 test: case 128:Executed by:- tst_qhostaddress - unknown status
code before this statement executed 216 times by 21 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 1-216 |
| 202 | ++netmask; | - |
| 203 | caseexecuted 1044 times by 21 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
0:executed 1044 times by 21 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
code before this statement executed 217 times by 21 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 217-1044 |
| 204 | break;executed 1044 times by 21 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 1044 |
| 205 | } | - |
| 206 | break;executed 1044 times by 21 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 1044 |
| 207 | } | - |
| 208 | | - |
| 209 | | - |
| 210 | if (ptr < end| TRUE | evaluated 1044 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| | FALSE | evaluated 207 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
|
&& memcmp(ptr + 1, zeroes, end - ptr - 1) != 0| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| | FALSE | evaluated 1042 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
|
) { | 2-1044 |
| 211 | d->clear(); | - |
| 212 | returnexecuted 2 times by 2 tests: return false;Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
false;executed 2 times by 2 tests: return false;Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 2 |
| 213 | } | - |
| 214 | | - |
| 215 | length = netmask; | - |
| 216 | returnexecuted 1249 times by 21 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
true;executed 1249 times by 21 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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 1249 |
| 217 | } | - |
| 218 | | - |
| 219 | static void clearBits(quint8 *where, int start, int end) | - |
| 220 | { | - |
| 221 | ((!(end == 32 || end == 128)) ? qt_assert("end == 32 || end == 128",__FILE__,309) : qt_noop()); | - |
| 222 | 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 |
| 223 | return;executed 2 times by 2 tests: return;Executed by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 2 |
| 224 | | - |
| 225 | | - |
| 226 | quint8 bytemask = 256 - (1 << (8 - (start & 7))); | - |
| 227 | where[start / 8] &= bytemask; | - |
| 228 | | - |
| 229 | | - |
| 230 | memset(where + (start + 7) / 8, 0, end / 8 - (start + 7) / 8); | - |
| 231 | }executed 33 times by 3 tests: end of blockExecuted by:- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 33 |
| 232 | | - |
| 233 | int QNetmaskAddress::prefixLength() const | - |
| 234 | { | - |
| 235 | returnexecuted 120 times by 3 tests: return length;Executed by:- tst_QNetworkInterface
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
length;executed 120 times by 3 tests: return length;Executed by:- tst_QNetworkInterface
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
| 120 |
| 236 | } | - |
| 237 | | - |
| 238 | void QNetmaskAddress::setPrefixLength(QAbstractSocket::NetworkLayerProtocol proto, int newLength) | - |
| 239 | { | - |
| 240 | length = newLength; | - |
| 241 | if (length < 0| TRUE | evaluated 32 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
| | FALSE | evaluated 28 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
|
|| length > (proto == QAbstractSocket::IPv4Protocol ? 32 :| 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 |
| 242 | 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 |
| 243 | | - |
| 244 | d->protocol = QAbstractSocket::UnknownNetworkLayerProtocol; | - |
| 245 | length = -1; | - |
| 246 | return;executed 48 times by 1 test: return;Executed by:- tst_qnetworkaddressentry - unknown status
| 48 |
| 247 | } | - |
| 248 | | - |
| 249 | d->protocol = proto; | - |
| 250 | 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 |
| 251 | 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 |
| 252 | d->a = 0; | - |
| 253 | }executed 1 time by 1 test: end of blockExecuted by:- tst_qnetworkaddressentry - unknown status
else if (length == 32| 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 |
| 254 | d->a = quint32(0xffffffff); | - |
| 255 | }executed 1 time by 1 test: end of blockExecuted by:- tst_qnetworkaddressentry - unknown status
else { | 1 |
| 256 | d->a = quint32(0xffffffff) >> (32 - length) << (32 - length); | - |
| 257 | }executed 3 times by 1 test: end of blockExecuted by:- tst_qnetworkaddressentry - unknown status
| 3 |
| 258 | } else { | - |
| 259 | memset(d->a6.c, 0xFF, sizeof(d->a6)); | - |
| 260 | clearBits(d->a6.c, length, 128); | - |
| 261 | }executed 7 times by 1 test: end of blockExecuted by:- tst_qnetworkaddressentry - unknown status
| 7 |
| 262 | } | - |
| 263 | QHostAddress::QHostAddress() | - |
| 264 | : d(new QHostAddressPrivate) | - |
| 265 | { | - |
| 266 | }executed 230862 times by 44 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
- ...
| 230862 |
| 267 | | - |
| 268 | | - |
| 269 | | - |
| 270 | | - |
| 271 | QHostAddress::QHostAddress(quint32 ip4Addr) | - |
| 272 | : d(new QHostAddressPrivate) | - |
| 273 | { | - |
| 274 | setAddress(ip4Addr); | - |
| 275 | }executed 286 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_qdnslookup - unknown status
- tst_qdnslookup_appless - unknown status
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 286 |
| 276 | | - |
| 277 | | - |
| 278 | | - |
| 279 | | - |
| 280 | | - |
| 281 | | - |
| 282 | | - |
| 283 | QHostAddress::QHostAddress(quint8 *ip6Addr) | - |
| 284 | : d(new QHostAddressPrivate) | - |
| 285 | { | - |
| 286 | setAddress(ip6Addr); | - |
| 287 | }executed 18 times by 1 test: end of blockExecuted by:- tst_qdnslookup - unknown status
| 18 |
| 288 | QHostAddress::QHostAddress(const quint8 *ip6Addr) | - |
| 289 | : d(new QHostAddressPrivate) | - |
| 290 | { | - |
| 291 | setAddress(ip6Addr); | - |
| 292 | } never executed: end of block | 0 |
| 293 | | - |
| 294 | | - |
| 295 | | - |
| 296 | | - |
| 297 | QHostAddress::QHostAddress(const Q_IPV6ADDR &ip6Addr) | - |
| 298 | : d(new QHostAddressPrivate) | - |
| 299 | { | - |
| 300 | setAddress(ip6Addr); | - |
| 301 | }executed 14 times by 3 tests: end of blockExecuted by:- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 14 |
| 302 | | - |
| 303 | | - |
| 304 | | - |
| 305 | | - |
| 306 | | - |
| 307 | | - |
| 308 | | - |
| 309 | QHostAddress::QHostAddress(const QString &address) | - |
| 310 | : d(new QHostAddressPrivate) | - |
| 311 | { | - |
| 312 | d->ipString = address; | - |
| 313 | d->isParsed = false; | - |
| 314 | }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 |
| 315 | QHostAddress::QHostAddress(const struct sockaddr *sockaddr) | - |
| 316 | : d(new QHostAddressPrivate) | - |
| 317 | { | - |
| 318 | | - |
| 319 | if (sockaddr->sa_family == 2| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 320 | setAddress(htonl(((const sockaddr_in *)sockaddr)->sin_addr.s_addr)); never executed: setAddress(htonl(((const sockaddr_in *)sockaddr)->sin_addr.s_addr)); | 0 |
| 321 | else if (sockaddr->sa_family == 10| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 322 | setAddress(((const sockaddr_in6 *)sockaddr)->sin6_addr.__in6_u.__u6_addr8); never executed: setAddress(((const sockaddr_in6 *)sockaddr)->sin6_addr.__in6_u.__u6_addr8); | 0 |
| 323 | | - |
| 324 | | - |
| 325 | | - |
| 326 | } never executed: end of block | 0 |
| 327 | | - |
| 328 | | - |
| 329 | | - |
| 330 | | - |
| 331 | QHostAddress::QHostAddress(const QHostAddress &address) | - |
| 332 | : d(new QHostAddressPrivate(*address.d.data())) | - |
| 333 | { | - |
| 334 | }executed 56939 times by 39 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
- ...
| 56939 |
| 335 | | - |
| 336 | | - |
| 337 | | - |
| 338 | | - |
| 339 | QHostAddress::QHostAddress(SpecialAddress address) | - |
| 340 | : d(new QHostAddressPrivate) | - |
| 341 | { | - |
| 342 | Q_IPV6ADDR ip6; | - |
| 343 | memset(&ip6, 0, sizeof ip6); | - |
| 344 | quint32 ip4 = ((in_addr_t) 0x00000000); | - |
| 345 | | - |
| 346 | switch (address) { | - |
| 347 | caseexecuted 11 times by 2 tests: case Null:Executed by:- tst_QTcpServer
- tst_qhostaddress - unknown status
Null:executed 11 times by 2 tests: case Null:Executed by:- tst_QTcpServer
- tst_qhostaddress - unknown status
| 11 |
| 348 | return;executed 11 times by 2 tests: return;Executed by:- tst_QTcpServer
- tst_qhostaddress - unknown status
| 11 |
| 349 | | - |
| 350 | caseexecuted 174 times by 3 tests: case Broadcast:Executed by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
Broadcast:executed 174 times by 3 tests: case Broadcast:Executed by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
| 174 |
| 351 | ip4 = ((in_addr_t) 0xffffffff); | - |
| 352 | break;executed 174 times by 3 tests: break;Executed by:- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
| 174 |
| 353 | caseexecuted 272 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
LocalHost:executed 272 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
| 272 |
| 354 | ip4 = ((in_addr_t) 0x7f000001); | - |
| 355 | break;executed 272 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
| 272 |
| 356 | caseexecuted 215 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
AnyIPv4:executed 215 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
| 215 |
| 357 | break;executed 215 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
| 215 |
| 358 | | - |
| 359 | caseexecuted 52 times by 5 tests: case LocalHostIPv6:Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
LocalHostIPv6:executed 52 times by 5 tests: case LocalHostIPv6:Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 52 |
| 360 | ip6[15] = 1; | - |
| 361 | | - |
| 362 | caseexecuted 49 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
AnyIPv6:executed 49 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
code before this statement executed 52 times by 5 tests: case AnyIPv6:Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 49-52 |
| 363 | d->setAddress(ip6); | - |
| 364 | return;executed 101 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
| 101 |
| 365 | | - |
| 366 | caseexecuted 1834 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
Any:executed 1834 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
| 1834 |
| 367 | d->protocol = QAbstractSocket::AnyIPProtocol; | - |
| 368 | return;executed 1834 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
| 1834 |
| 369 | } | - |
| 370 | | - |
| 371 | | - |
| 372 | d->setAddress(ip4); | - |
| 373 | }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 |
| 374 | | - |
| 375 | | - |
| 376 | | - |
| 377 | | - |
| 378 | QHostAddress::~QHostAddress() | - |
| 379 | { | - |
| 380 | } | - |
| 381 | | - |
| 382 | | - |
| 383 | | - |
| 384 | | - |
| 385 | | - |
| 386 | QHostAddress &QHostAddress::operator=(const QHostAddress &address) | - |
| 387 | { | - |
| 388 | *d.data() = *address.d.data(); | - |
| 389 | returnexecuted 29795 times by 38 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
- ...
*this;executed 29795 times by 38 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
- ...
| 29795 |
| 390 | } | - |
| 391 | | - |
| 392 | | - |
| 393 | | - |
| 394 | | - |
| 395 | | - |
| 396 | | - |
| 397 | | - |
| 398 | QHostAddress &QHostAddress::operator=(const QString &address) | - |
| 399 | { | - |
| 400 | setAddress(address); | - |
| 401 | returnexecuted 2 times by 1 test: return *this;Executed by:- tst_qhostaddress - unknown status
*this;executed 2 times by 1 test: return *this;Executed by:- tst_qhostaddress - unknown status
| 2 |
| 402 | } | - |
| 403 | void QHostAddress::clear() | - |
| 404 | { | - |
| 405 | d->clear(); | - |
| 406 | }executed 198781 times by 34 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_qobject - unknown status
- ...
| 198781 |
| 407 | | - |
| 408 | | - |
| 409 | | - |
| 410 | | - |
| 411 | void QHostAddress::setAddress(quint32 ip4Addr) | - |
| 412 | { | - |
| 413 | d->setAddress(ip4Addr); | - |
| 414 | }executed 17635 times by 38 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
- ...
| 17635 |
| 415 | void QHostAddress::setAddress(quint8 *ip6Addr) | - |
| 416 | { | - |
| 417 | d->setAddress(ip6Addr); | - |
| 418 | }executed 1638 times by 24 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_qobject - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket_onDemandCertificates_member - unknown status
- tst_qsslsocket_onDemandCertificates_static - unknown status
- tst_qtcpsocket - unknown status
| 1638 |
| 419 | void QHostAddress::setAddress(const quint8 *ip6Addr) | - |
| 420 | { | - |
| 421 | d->setAddress(ip6Addr); | - |
| 422 | } never executed: end of block | 0 |
| 423 | | - |
| 424 | | - |
| 425 | | - |
| 426 | | - |
| 427 | | - |
| 428 | | - |
| 429 | void QHostAddress::setAddress(const Q_IPV6ADDR &ip6Addr) | - |
| 430 | { | - |
| 431 | d->setAddress(ip6Addr); | - |
| 432 | }executed 1829 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
| 1829 |
| 433 | bool QHostAddress::setAddress(const QString &address) | - |
| 434 | { | - |
| 435 | d->ipString = address; | - |
| 436 | returnexecuted 21302 times by 32 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_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsocketnotifier - unknown status
- ...
d->parse();executed 21302 times by 32 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_qobject - unknown status
- tst_qprocess - unknown status
- tst_qsocketnotifier - unknown status
- ...
| 21302 |
| 437 | } | - |
| 438 | void QHostAddress::setAddress(const struct sockaddr *sockaddr) | - |
| 439 | { | - |
| 440 | | - |
| 441 | clear(); | - |
| 442 | if (sockaddr->sa_family == 2| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | never evaluated |
) | 0-1 |
| 443 | 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 |
| 444 | else if (sockaddr->sa_family == 10| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 445 | setAddress(((const sockaddr_in6 *)sockaddr)->sin6_addr.__in6_u.__u6_addr8); never executed: setAddress(((const sockaddr_in6 *)sockaddr)->sin6_addr.__in6_u.__u6_addr8); | 0 |
| 446 | | - |
| 447 | | - |
| 448 | | - |
| 449 | }executed 1 time by 1 test: end of blockExecuted by:- tst_qhostaddress - unknown status
| 1 |
| 450 | quint32 QHostAddress::toIPv4Address() const | - |
| 451 | { | - |
| 452 | returnexecuted 10697 times by 37 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
- ...
toIPv4Address(nullptr);executed 10697 times by 37 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
- ...
| 10697 |
| 453 | } | - |
| 454 | quint32 QHostAddress::toIPv4Address(bool *ok) const | - |
| 455 | { | - |
| 456 | do { if (!(this)->d->isParsed| TRUE | evaluated 7 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 10699 times by 37 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
- ...
|
) (executed 7 times by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
this)->d->parse();executed 7 times by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
} while (0); | 7-10699 |
| 457 | quint32 dummy; | - |
| 458 | if (ok| TRUE | evaluated 9 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 10697 times by 37 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-10697 |
| 459 | *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
ok = d->protocol == QAbstractSocket::IPv4Protocol| TRUE | never evaluated | | FALSE | evaluated 9 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
|| d->protocol == QAbstractSocket::AnyIPProtocol| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 8 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
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
| 0-9 |
| 460 | || (d->protocol == QAbstractSocket::IPv6Protocol| TRUE | evaluated 8 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | never evaluated |
&& convertToIpv4(dummy, d->a6)| TRUE | evaluated 3 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 5 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
);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
| 0-9 |
| 461 | returnexecuted 10706 times by 37 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
- ...
d->a;executed 10706 times by 37 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
- ...
| 10706 |
| 462 | } | - |
| 463 | | - |
| 464 | | - |
| 465 | | - |
| 466 | | - |
| 467 | QAbstractSocket::NetworkLayerProtocol QHostAddress::protocol() const | - |
| 468 | { | - |
| 469 | do { if (!(this)->d->isParsed| 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 40148 times by 38 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
- ...
|
) (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
this)->d->parse();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
} while (0); | 286-40148 |
| 470 | returnexecuted 40434 times by 39 tests: return QAbstractSocket::NetworkLayerProtocol(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
- ...
QAbstractSocket::NetworkLayerProtocol(d->protocol);executed 40434 times by 39 tests: return QAbstractSocket::NetworkLayerProtocol(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
- ...
| 40434 |
| 471 | } | - |
| 472 | Q_IPV6ADDR QHostAddress::toIPv6Address() const | - |
| 473 | { | - |
| 474 | do { if (!(this)->d->isParsed| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 1611 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
|
) (executed 1 time by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
this)->d->parse();executed 1 time by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
} while (0); | 1-1611 |
| 475 | returnexecuted 1612 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
d->a6;executed 1612 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
| 1612 |
| 476 | } | - |
| 477 | QString QHostAddress::toString() const | - |
| 478 | { | - |
| 479 | do { if (!(this)->d->isParsed| TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
| | FALSE | evaluated 2970 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
|
) (executed 3 times by 2 tests: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
this)->d->parse();executed 3 times by 2 tests: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
- tst_qhttpsocketengine - unknown status
} while (0); | 3-2970 |
| 480 | QString s; | - |
| 481 | if (d->protocol == QAbstractSocket::IPv4Protocol| TRUE | evaluated 2486 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 487 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
|
| 487-2486 |
| 482 | || d->protocol == QAbstractSocket::AnyIPProtocol| TRUE | evaluated 23 times by 2 testsEvaluated by:- tst_QUdpSocket
- tst_qhttpsocketengine - unknown status
| | FALSE | evaluated 464 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-464 |
| 483 | quint32 i = toIPv4Address(); | - |
| 484 | QIPAddressUtils::toString(s, i); | - |
| 485 | }executed 2509 times by 25 tests: end of blockExecuted 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
else if (d->protocol == QAbstractSocket::IPv6Protocol| TRUE | evaluated 283 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-2509 |
| 486 | QIPAddressUtils::toString(s, d->a6.c); | - |
| 487 | 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 250 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-250 |
| 488 | 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 |
| 489 | }executed 283 times by 10 tests: end of blockExecuted 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
| 283 |
| 490 | returnexecuted 2973 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
s;executed 2973 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
| 2973 |
| 491 | } | - |
| 492 | QString QHostAddress::scopeId() const | - |
| 493 | { | - |
| 494 | do { if (!(this)->d->isParsed| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 1601 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
|
) (executed 2 times by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
this)->d->parse();executed 2 times by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
} while (0); | 2-1601 |
| 495 | returnexecuted 1603 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
(d->protocol == QAbstractSocket::IPv6Protocol) ? d->scopeId : QString();executed 1603 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
| 1603 |
| 496 | } | - |
| 497 | void QHostAddress::setScopeId(const QString &id) | - |
| 498 | { | - |
| 499 | do { if (!(this)->d->isParsed| TRUE | never evaluated | | FALSE | evaluated 443 times by 20 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_qtcpsocket - unknown status
|
) (never executed: (this)->d->parse(); this)->d->parse();never executed: (this)->d->parse(); } while (0); | 0-443 |
| 500 | if (d->protocol == QAbstractSocket::IPv6Protocol| TRUE | evaluated 443 times by 20 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_qtcpsocket - unknown status
| | FALSE | never evaluated |
) | 0-443 |
| 501 | d->scopeId = id;executed 443 times by 20 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_qtcpsocket - unknown status
| 443 |
| 502 | }executed 443 times by 20 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_qtcpsocket - unknown status
| 443 |
| 503 | | - |
| 504 | | - |
| 505 | | - |
| 506 | | - |
| 507 | | - |
| 508 | bool QHostAddress::operator==(const QHostAddress &other) const | - |
| 509 | { | - |
| 510 | do { if (!(this)->d->isParsed| TRUE | never evaluated | | FALSE | evaluated 6340 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
- ...
|
) (never executed: (this)->d->parse(); this)->d->parse();never executed: (this)->d->parse(); } while (0); | 0-6340 |
| 511 | do { if (!(&other)->d->isParsed| TRUE | evaluated 53 times by 3 testsEvaluated by:- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qsocks5socketengine - unknown status
| | FALSE | evaluated 6287 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
- ...
|
) (executed 53 times by 3 tests: (&other)->d->parse();Executed by:- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qsocks5socketengine - unknown status
&other)->d->parse();executed 53 times by 3 tests: (&other)->d->parse();Executed by:- tst_platformsocketengine - unknown status
- tst_qhostaddress - unknown status
- tst_qsocks5socketengine - unknown status
} while (0); | 53-6287 |
| 512 | | - |
| 513 | if (d->protocol == QAbstractSocket::IPv4Protocol| TRUE | evaluated 5508 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 832 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
|
) | 832-5508 |
| 514 | returnexecuted 5508 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
- ...
other.d->protocol == QAbstractSocket::IPv4Protocol && d->a == other.d->a;executed 5508 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
- ...
| 5508 |
| 515 | 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 147 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
|
) { | 147-685 |
| 516 | returnexecuted 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
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
| 685 |
| 517 | && 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
| 685 |
| 518 | } | - |
| 519 | returnexecuted 147 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
d->protocol == other.d->protocol;executed 147 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
| 147 |
| 520 | } | - |
| 521 | | - |
| 522 | | - |
| 523 | | - |
| 524 | | - |
| 525 | | - |
| 526 | bool QHostAddress::operator ==(SpecialAddress other) const | - |
| 527 | { | - |
| 528 | do { if (!(this)->d->isParsed| TRUE | evaluated 15 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 2547 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
|
) (executed 15 times by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
this)->d->parse();executed 15 times by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
} while (0); | 15-2547 |
| 529 | quint32 ip4 = ((in_addr_t) 0x00000000); | - |
| 530 | switch (other) { | - |
| 531 | caseexecuted 6 times by 1 test: case Null:Executed by:- tst_qhostaddress - unknown status
Null:executed 6 times by 1 test: case Null:Executed by:- tst_qhostaddress - unknown status
| 6 |
| 532 | returnexecuted 6 times by 1 test: return d->protocol == QAbstractSocket::UnknownNetworkLayerProtocol;Executed by:- tst_qhostaddress - unknown status
d->protocol == QAbstractSocket::UnknownNetworkLayerProtocol;executed 6 times by 1 test: return d->protocol == QAbstractSocket::UnknownNetworkLayerProtocol;Executed by:- tst_qhostaddress - unknown status
| 6 |
| 533 | | - |
| 534 | caseexecuted 6 times by 1 test: case Broadcast:Executed by:- tst_qhostaddress - unknown status
Broadcast:executed 6 times by 1 test: case Broadcast:Executed by:- tst_qhostaddress - unknown status
| 6 |
| 535 | ip4 = ((in_addr_t) 0xffffffff); | - |
| 536 | break;executed 6 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 6 |
| 537 | | - |
| 538 | caseexecuted 9 times by 1 test: case LocalHost:Executed by:- tst_qhostaddress - unknown status
LocalHost:executed 9 times by 1 test: case LocalHost:Executed by:- tst_qhostaddress - unknown status
| 9 |
| 539 | ip4 = ((in_addr_t) 0x7f000001); | - |
| 540 | break;executed 9 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 9 |
| 541 | | - |
| 542 | caseexecuted 57 times by 5 tests: case Any:Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qsocketnotifier - unknown status
- tst_qtcpsocket - unknown status
Any:executed 57 times by 5 tests: case Any:Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qsocketnotifier - unknown status
- tst_qtcpsocket - unknown status
| 57 |
| 543 | returnexecuted 57 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
d->protocol == QAbstractSocket::AnyIPProtocol;executed 57 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
| 57 |
| 544 | | - |
| 545 | caseexecuted 1242 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
AnyIPv4:executed 1242 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
| 1242 |
| 546 | break;executed 1242 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
| 1242 |
| 547 | | - |
| 548 | caseexecuted 13 times by 3 tests: case LocalHostIPv6:Executed by:- tst_QNetworkInterface
- tst_QTcpServer
- tst_qhostaddress - unknown status
LocalHostIPv6:executed 13 times by 3 tests: case LocalHostIPv6:Executed by:- tst_QNetworkInterface
- tst_QTcpServer
- tst_qhostaddress - unknown status
| 13 |
| 549 | caseexecuted 1229 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
AnyIPv6:executed 1229 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
| 1229 |
| 550 | 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 |
| 551 | quint64 second = quint8(other == LocalHostIPv6); | - |
| 552 | returnexecuted 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
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
| 1226 |
| 553 | } | - |
| 554 | returnexecuted 16 times by 4 tests: return false;Executed by:- tst_QNetworkInterface
- tst_QTcpServer
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
false;executed 16 times by 4 tests: return false;Executed by:- tst_QNetworkInterface
- tst_QTcpServer
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 16 |
| 555 | } | - |
| 556 | | - |
| 557 | | - |
| 558 | returnexecuted 1257 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
d->protocol == QAbstractSocket::IPv4Protocol && d->a == ip4;executed 1257 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
| 1257 |
| 559 | } | - |
| 560 | | - |
| 561 | | - |
| 562 | | - |
| 563 | | - |
| 564 | | - |
| 565 | | - |
| 566 | bool QHostAddress::isNull() const | - |
| 567 | { | - |
| 568 | do { if (!(this)->d->isParsed| TRUE | evaluated 76 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qsslsocket - unknown status
| | FALSE | evaluated 4241 times by 28 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_qnetworkaddressentry - unknown status
- tst_qsocketnotifier - unknown status
- ...
|
) (executed 76 times by 2 tests: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
- tst_qsslsocket - unknown status
this)->d->parse();executed 76 times by 2 tests: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
- tst_qsslsocket - unknown status
} while (0); | 76-4241 |
| 569 | returnexecuted 4317 times by 28 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_qnetworkaddressentry - unknown status
- tst_qsocketnotifier - unknown status
- ...
d->protocol == QAbstractSocket::UnknownNetworkLayerProtocol;executed 4317 times by 28 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_qnetworkaddressentry - unknown status
- tst_qsocketnotifier - unknown status
- ...
| 4317 |
| 570 | } | - |
| 571 | bool QHostAddress::isInSubnet(const QHostAddress &subnet, int netmask) const | - |
| 572 | { | - |
| 573 | do { if (!(this)->d->isParsed| 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
|
) (executed 12 times by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
this)->d->parse();executed 12 times by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
} while (0); | 12-62 |
| 574 | if (subnet.protocol() != d->protocol| 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
|
|| netmask < 0| 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 |
| 575 | returnexecuted 27 times by 4 tests: return false;Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
false;executed 27 times by 4 tests: return false;Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 27 |
| 576 | | - |
| 577 | union { | - |
| 578 | quint32 ip; | - |
| 579 | quint8 data[4]; | - |
| 580 | } ip4, net4; | - |
| 581 | const quint8 *ip; | - |
| 582 | const quint8 *net; | - |
| 583 | 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 |
| 584 | 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 |
| 585 | netmask = 32; never executed: netmask = 32; | 0 |
| 586 | ip4.ip = qToBigEndian(d->a); | - |
| 587 | net4.ip = qToBigEndian(subnet.d->a); | - |
| 588 | ip = ip4.data; | - |
| 589 | net = net4.data; | - |
| 590 | }executed 26 times by 4 tests: end of blockExecuted by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
else if (d->protocol == QAbstractSocket::IPv6Protocol| 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 |
| 591 | 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 |
| 592 | netmask = 128; never executed: netmask = 128; | 0 |
| 593 | ip = d->a6.c; | - |
| 594 | net = subnet.d->a6.c; | - |
| 595 | }executed 20 times by 4 tests: end of blockExecuted by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
else { | 20 |
| 596 | returnexecuted 1 time by 1 test: return false;Executed by:- tst_qhostaddress - unknown status
false;executed 1 time by 1 test: return false;Executed by:- tst_qhostaddress - unknown status
| 1 |
| 597 | } | - |
| 598 | | - |
| 599 | if (netmask >= 8| 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
|
&& memcmp(ip, net, netmask / 8) != 0| 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 |
| 600 | returnexecuted 13 times by 4 tests: return false;Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
false;executed 13 times by 4 tests: return false;Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 13 |
| 601 | if ((| 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
|
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 |
| 602 | returnexecuted 16 times by 3 tests: return true;Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
true;executed 16 times by 3 tests: return true;Executed by:- tst_QTcpServer
- tst_QUdpSocket
- tst_qhostaddress - unknown status
| 16 |
| 603 | | - |
| 604 | | - |
| 605 | quint8 bytemask = 256 - (1 << (8 - (netmask & 7))); | - |
| 606 | quint8 ipbyte = ip[netmask / 8]; | - |
| 607 | quint8 netbyte = net[netmask / 8]; | - |
| 608 | returnexecuted 17 times by 2 tests: return (ipbyte & bytemask) == (netbyte & bytemask);Executed by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
(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 |
| 609 | } | - |
| 610 | bool QHostAddress::isInSubnet(const QPair<QHostAddress, int> &subnet) const | - |
| 611 | { | - |
| 612 | returnexecuted 10 times by 1 test: return isInSubnet(subnet.first, subnet.second);Executed by:- tst_qtcpsocket - unknown status
isInSubnet(subnet.first, subnet.second);executed 10 times by 1 test: return isInSubnet(subnet.first, subnet.second);Executed by:- tst_qtcpsocket - unknown status
| 10 |
| 613 | } | - |
| 614 | QPair<QHostAddress, int> QHostAddress::parseSubnet(const QString &subnet) | - |
| 615 | { | - |
| 616 | const QPair<QHostAddress, int> invalid = qMakePair(QHostAddress(), -1); | - |
| 617 | 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 |
| 618 | returnexecuted 1 time by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
invalid;executed 1 time by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 1 |
| 619 | | - |
| 620 | int slash = subnet.indexOf(QLatin1Char('/')); | - |
| 621 | QString netStr = subnet; | - |
| 622 | 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 |
| 623 | netStr.truncate(slash);executed 72 times by 2 tests: netStr.truncate(slash);Executed by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 72 |
| 624 | | - |
| 625 | int netmask = -1; | - |
| 626 | bool isIpv6 = netStr.contains(QLatin1Char(':')); | - |
| 627 | | - |
| 628 | 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 |
| 629 | | - |
| 630 | if (!isIpv6| 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
|
&& subnet.indexOf(QLatin1Char('.'), slash + 1) != -1| 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 |
| 631 | | - |
| 632 | QNetmaskAddress parser; | - |
| 633 | 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 |
| 634 | returnexecuted 3 times by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
invalid;executed 3 times by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 3 |
| 635 | netmask = parser.prefixLength(); | - |
| 636 | }executed 13 times by 1 test: end of blockExecuted by:- tst_qhostaddress - unknown status
else { | 13 |
| 637 | bool ok; | - |
| 638 | netmask = subnet.midRef(slash + 1).toUInt(&ok); | - |
| 639 | 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 |
| 640 | returnexecuted 4 times by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
invalid;executed 4 times by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 4 |
| 641 | }executed 52 times by 2 tests: end of blockExecuted by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 52 |
| 642 | } | - |
| 643 | | - |
| 644 | 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 |
| 645 | | - |
| 646 | 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 |
| 647 | returnexecuted 1 time by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
invalid;executed 1 time by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 1 |
| 648 | 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 |
| 649 | netmask = 128;executed 1 time by 1 test: netmask = 128;Executed by:- tst_qhostaddress - unknown status
| 1 |
| 650 | | - |
| 651 | QHostAddress net; | - |
| 652 | 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 |
| 653 | returnexecuted 1 time by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
invalid;executed 1 time by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 1 |
| 654 | | - |
| 655 | clearBits(net.d->a6.c, netmask, 128); | - |
| 656 | returnexecuted 28 times by 2 tests: return qMakePair(net, netmask);Executed by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
qMakePair(net, netmask);executed 28 times by 2 tests: return qMakePair(net, netmask);Executed by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 28 |
| 657 | } | - |
| 658 | | - |
| 659 | 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 |
| 660 | returnexecuted 1 time by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
invalid;executed 1 time by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 1 |
| 661 | | - |
| 662 | | - |
| 663 | auto parts = netStr.splitRef(QLatin1Char('.')); | - |
| 664 | if (parts.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 47 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
|| parts.count() > 4| 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 |
| 665 | returnexecuted 2 times by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
invalid;executed 2 times by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 2 |
| 666 | | - |
| 667 | if (parts.constLast().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 |
| 668 | parts.removeLast();executed 2 times by 1 test: parts.removeLast();Executed by:- tst_qhostaddress - unknown status
| 2 |
| 669 | | - |
| 670 | quint32 addr = 0; | - |
| 671 | for (int i = 0; i < parts.count()| 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
|
; ++i) { | 42-154 |
| 672 | bool ok; | - |
| 673 | uint byteValue = parts.at(i).toUInt(&ok); | - |
| 674 | if (!ok| 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
|
|| byteValue > 255| TRUE | never evaluated | | FALSE | evaluated 151 times by 2 testsEvaluated by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
|
) | 0-151 |
| 675 | returnexecuted 3 times by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
invalid;executed 3 times by 1 test: return invalid;Executed by:- tst_qhostaddress - unknown status
| 3 |
| 676 | | - |
| 677 | addr <<= 8; | - |
| 678 | addr += byteValue; | - |
| 679 | }executed 151 times by 2 tests: end of blockExecuted by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 151 |
| 680 | addr <<= 8 * (4 - parts.count()); | - |
| 681 | 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 |
| 682 | netmask = 8 * parts.count(); | - |
| 683 | }executed 7 times by 1 test: end of blockExecuted by:- tst_qhostaddress - unknown status
else if (netmask == 0| 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 |
| 684 | | - |
| 685 | | - |
| 686 | | - |
| 687 | addr = 0; | - |
| 688 | }executed 3 times by 1 test: end of blockExecuted by:- tst_qhostaddress - unknown status
else if (netmask != 32| 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 |
| 689 | | - |
| 690 | quint32 mask = quint32(0xffffffff) >> (32 - netmask) << (32 - netmask); | - |
| 691 | addr &= mask; | - |
| 692 | }executed 30 times by 2 tests: end of blockExecuted by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
| 30 |
| 693 | | - |
| 694 | returnexecuted 42 times by 2 tests: return qMakePair(QHostAddress(addr), netmask);Executed by:- tst_qhostaddress - unknown status
- tst_qtcpsocket - unknown status
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 |
| 695 | } | - |
| 696 | | - |
| 697 | | - |
| 698 | | - |
| 699 | | - |
| 700 | | - |
| 701 | | - |
| 702 | | - |
| 703 | bool QHostAddress::isLoopback() const | - |
| 704 | { | - |
| 705 | do { if (!(this)->d->isParsed| 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 10150 times by 30 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_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- ...
|
) (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
this)->d->parse();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
} while (0); | 838-10150 |
| 706 | if ((| TRUE | evaluated 2396 times by 21 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_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 8592 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
- ...
|
d->a & 0xFF000000) == 0x7F000000| TRUE | evaluated 2396 times by 21 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_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 8592 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
- ...
|
) | 2396-8592 |
| 707 | returnexecuted 2396 times by 21 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_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
true;executed 2396 times by 21 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_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| 2396 |
| 708 | if (d->protocol == QAbstractSocket::IPv6Protocol| TRUE | evaluated 884 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 7708 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
|
) { | 884-7708 |
| 709 | | - |
| 710 | const __m128i loopback = _mm_setr_epi8(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1); | - |
| 711 | __m128i ipv6 = _mm_loadu_si128((const __m128i *)d->a6.c); | - |
| 712 | __m128i cmp = _mm_cmpeq_epi8(ipv6, loopback); | - |
| 713 | returnexecuted 884 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
_mm_movemask_epi8(cmp) == 0xffff;executed 884 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
| 884 |
| 714 | | - |
| 715 | | - |
| 716 | | - |
| 717 | | - |
| 718 | return dead code: return true; true;dead code: return true; | - |
| 719 | } | - |
| 720 | returnexecuted 7708 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
false;executed 7708 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
| 7708 |
| 721 | } | - |
| 722 | | - |
| 723 | | - |
| 724 | | - |
| 725 | | - |
| 726 | | - |
| 727 | | - |
| 728 | | - |
| 729 | bool QHostAddress::isMulticast() const | - |
| 730 | { | - |
| 731 | do { if (!(this)->d->isParsed| TRUE | evaluated 17 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 8 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
) (executed 17 times by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
this)->d->parse();executed 17 times by 1 test: (this)->d->parse();Executed by:- tst_qhostaddress - unknown status
} while (0); | 8-17 |
| 732 | if ((| TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 21 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
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 |
| 733 | returnexecuted 4 times by 1 test: return true;Executed by:- tst_qhostaddress - unknown status
true;executed 4 times by 1 test: return true;Executed by:- tst_qhostaddress - unknown status
| 4 |
| 734 | 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 |
| 735 | returnexecuted 11 times by 1 test: return d->a6.c[0] == 0xff;Executed by:- tst_qhostaddress - unknown status
d->a6.c[0] == 0xff;executed 11 times by 1 test: return d->a6.c[0] == 0xff;Executed by:- tst_qhostaddress - unknown status
| 11 |
| 736 | returnexecuted 10 times by 1 test: return false;Executed by:- tst_qhostaddress - unknown status
false;executed 10 times by 1 test: return false;Executed by:- tst_qhostaddress - unknown status
| 10 |
| 737 | } | - |
| 738 | | - |
| 739 | | - |
| 740 | QDebug operator<<(QDebug d, const QHostAddress &address) | - |
| 741 | { | - |
| 742 | QDebugStateSaver saver(d); | - |
| 743 | d.resetFormat().nospace(); | - |
| 744 | if (address == QHostAddress::Any| TRUE | never evaluated | | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QTcpServer
- tst_QUdpSocket
|
) | 0-4 |
| 745 | d << "QHostAddress(QHostAddress::Any)"; never executed: d << "QHostAddress(QHostAddress::Any)"; | 0 |
| 746 | else | - |
| 747 | d << "QHostAddress(" << address.toString() << ')';executed 4 times by 2 tests: d << "QHostAddress(" << address.toString() << ')';Executed by:- tst_QTcpServer
- tst_QUdpSocket
| 4 |
| 748 | returnexecuted 4 times by 2 tests: return d;Executed by:- tst_QTcpServer
- tst_QUdpSocket
d;executed 4 times by 2 tests: return d;Executed by:- tst_QTcpServer
- tst_QUdpSocket
| 4 |
| 749 | } | - |
| 750 | | - |
| 751 | | - |
| 752 | uint qHash(const QHostAddress &key, uint seed) | - |
| 753 | { | - |
| 754 | | - |
| 755 | do { if (!(&key)->d->isParsed| TRUE | never evaluated | | FALSE | evaluated 10 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
) (never executed: (&key)->d->parse(); &key)->d->parse();never executed: (&key)->d->parse(); } while (0); | 0-10 |
| 756 | returnexecuted 10 times by 1 test: return qHashBits(key.d->a6.c, 16, seed);Executed by:- tst_qhostaddress - unknown status
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 |
| 757 | } | - |
| 758 | QDataStream &operator<<(QDataStream &out, const QHostAddress &address) | - |
| 759 | { | - |
| 760 | qint8 prot; | - |
| 761 | prot = qint8(address.protocol()); | - |
| 762 | out << prot; | - |
| 763 | switch (address.protocol()) { | - |
| 764 | caseexecuted 3 times by 1 test: case QAbstractSocket::UnknownNetworkLayerProtocol:Executed by:- tst_qhostaddress - unknown status
QAbstractSocket::UnknownNetworkLayerProtocol:executed 3 times by 1 test: case QAbstractSocket::UnknownNetworkLayerProtocol:Executed by:- tst_qhostaddress - unknown status
| 3 |
| 765 | caseexecuted 1 time by 1 test: case QAbstractSocket::AnyIPProtocol:Executed by:- tst_qhostaddress - unknown status
QAbstractSocket::AnyIPProtocol:executed 1 time by 1 test: case QAbstractSocket::AnyIPProtocol:Executed by:- tst_qhostaddress - unknown status
| 1 |
| 766 | break;executed 4 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 4 |
| 767 | caseexecuted 5 times by 1 test: case QAbstractSocket::IPv4Protocol:Executed by:- tst_qhostaddress - unknown status
QAbstractSocket::IPv4Protocol:executed 5 times by 1 test: case QAbstractSocket::IPv4Protocol:Executed by:- tst_qhostaddress - unknown status
| 5 |
| 768 | out << address.toIPv4Address(); | - |
| 769 | break;executed 5 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 5 |
| 770 | caseexecuted 4 times by 1 test: case QAbstractSocket::IPv6Protocol:Executed by:- tst_qhostaddress - unknown status
QAbstractSocket::IPv6Protocol:executed 4 times by 1 test: case QAbstractSocket::IPv6Protocol:Executed by:- tst_qhostaddress - unknown status
| 4 |
| 771 | { | - |
| 772 | Q_IPV6ADDR ipv6 = address.toIPv6Address(); | - |
| 773 | for (int i = 0; i < 16| TRUE | evaluated 64 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
; ++i) | 4-64 |
| 774 | out << ipv6[i];executed 64 times by 1 test: out << ipv6[i];Executed by:- tst_qhostaddress - unknown status
| 64 |
| 775 | out << address.scopeId(); | - |
| 776 | } | - |
| 777 | break;executed 4 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 4 |
| 778 | } | - |
| 779 | returnexecuted 13 times by 1 test: return out;Executed by:- tst_qhostaddress - unknown status
out;executed 13 times by 1 test: return out;Executed by:- tst_qhostaddress - unknown status
| 13 |
| 780 | } | - |
| 781 | QDataStream &operator>>(QDataStream &in, QHostAddress &address) | - |
| 782 | { | - |
| 783 | qint8 prot; | - |
| 784 | in >> prot; | - |
| 785 | switch (QAbstractSocket::NetworkLayerProtocol(prot)) { | - |
| 786 | caseexecuted 3 times by 1 test: case QAbstractSocket::UnknownNetworkLayerProtocol:Executed by:- tst_qhostaddress - unknown status
QAbstractSocket::UnknownNetworkLayerProtocol:executed 3 times by 1 test: case QAbstractSocket::UnknownNetworkLayerProtocol:Executed by:- tst_qhostaddress - unknown status
| 3 |
| 787 | address.clear(); | - |
| 788 | break;executed 3 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 3 |
| 789 | caseexecuted 5 times by 1 test: case QAbstractSocket::IPv4Protocol:Executed by:- tst_qhostaddress - unknown status
QAbstractSocket::IPv4Protocol:executed 5 times by 1 test: case QAbstractSocket::IPv4Protocol:Executed by:- tst_qhostaddress - unknown status
| 5 |
| 790 | { | - |
| 791 | quint32 ipv4; | - |
| 792 | in >> ipv4; | - |
| 793 | address.setAddress(ipv4); | - |
| 794 | } | - |
| 795 | break;executed 5 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 5 |
| 796 | caseexecuted 4 times by 1 test: case QAbstractSocket::IPv6Protocol:Executed by:- tst_qhostaddress - unknown status
QAbstractSocket::IPv6Protocol:executed 4 times by 1 test: case QAbstractSocket::IPv6Protocol:Executed by:- tst_qhostaddress - unknown status
| 4 |
| 797 | { | - |
| 798 | Q_IPV6ADDR ipv6; | - |
| 799 | for (int i = 0; i < 16| TRUE | evaluated 64 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
| | FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qhostaddress - unknown status
|
; ++i) | 4-64 |
| 800 | in >> ipv6[i];executed 64 times by 1 test: in >> ipv6[i];Executed by:- tst_qhostaddress - unknown status
| 64 |
| 801 | address.setAddress(ipv6); | - |
| 802 | | - |
| 803 | QString scope; | - |
| 804 | in >> scope; | - |
| 805 | address.setScopeId(scope); | - |
| 806 | } | - |
| 807 | break;executed 4 times by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 4 |
| 808 | caseexecuted 1 time by 1 test: case QAbstractSocket::AnyIPProtocol:Executed by:- tst_qhostaddress - unknown status
QAbstractSocket::AnyIPProtocol:executed 1 time by 1 test: case QAbstractSocket::AnyIPProtocol:Executed by:- tst_qhostaddress - unknown status
| 1 |
| 809 | address = QHostAddress::Any; | - |
| 810 | break;executed 1 time by 1 test: break;Executed by:- tst_qhostaddress - unknown status
| 1 |
| 811 | default never executed: default: :never executed: default: | 0 |
| 812 | address.clear(); | - |
| 813 | in.setStatus(QDataStream::ReadCorruptData); | - |
| 814 | } never executed: end of block | 0 |
| 815 | returnexecuted 13 times by 1 test: return in;Executed by:- tst_qhostaddress - unknown status
in;executed 13 times by 1 test: return in;Executed by:- tst_qhostaddress - unknown status
| 13 |
| 816 | } | - |
| 817 | | - |
| 818 | | - |
| 819 | | - |
| 820 | | - |
| | |