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