Line | Source | Count |
1 | | - |
2 | | - |
3 | namespace QIPAddressUtils { | - |
4 | | - |
5 | static QString number(quint8 val, int base = 10) | - |
6 | { | - |
7 | QChar zero(0x30); | - |
8 | returnexecuted 15104 times by 31 tests: return val ? qulltoa(val, base, zero) : zero; Executed by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- ...
val ? qulltoa(val, base, zero) : zero;executed 15104 times by 31 tests: return val ? qulltoa(val, base, zero) : zero; Executed by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- ...
| 15104 |
9 | } | - |
10 | | - |
11 | typedef QVarLengthArray<char, 64> Buffer; | - |
12 | static const QChar *checkedToAscii(Buffer &buffer, const QChar *begin, const QChar *end) | - |
13 | { | - |
14 | const ushort *const ubegin = reinterpret_cast<const ushort *>(begin); | - |
15 | const ushort *const uend = reinterpret_cast<const ushort *>(end); | - |
16 | const ushort *src = ubegin; | - |
17 | | - |
18 | buffer.resize(uend - ubegin + 1); | - |
19 | char *dst = buffer.data(); | - |
20 | | - |
21 | while (src != uendTRUE | evaluated 802927 times by 50 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkAddressEntry
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- ...
| FALSE | evaluated 41034 times by 50 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkAddressEntry
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- ...
|
) { | 41034-802927 |
22 | if (*TRUE | evaluated 364 times by 3 testsEvaluated by:- tst_QHostInfo
- tst_QUrl
- tst_QUrlInternal
| FALSE | evaluated 802563 times by 50 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkAddressEntry
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- ...
|
src >= 0x7fTRUE | evaluated 364 times by 3 testsEvaluated by:- tst_QHostInfo
- tst_QUrl
- tst_QUrlInternal
| FALSE | evaluated 802563 times by 50 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkAddressEntry
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- ...
|
) | 364-802563 |
23 | returnexecuted 364 times by 3 tests: return reinterpret_cast<const QChar *>(src); Executed by:- tst_QHostInfo
- tst_QUrl
- tst_QUrlInternal
reinterpret_cast<const QChar *>(src);executed 364 times by 3 tests: return reinterpret_cast<const QChar *>(src); Executed by:- tst_QHostInfo
- tst_QUrl
- tst_QUrlInternal
| 364 |
24 | *dst++ = *src++; | - |
25 | }executed 802563 times by 50 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkAddressEntry
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- ...
| 802563 |
26 | *dst = '\0'; | - |
27 | returnexecuted 41034 times by 50 tests: return 0; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkAddressEntry
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- ...
0;executed 41034 times by 50 tests: return 0; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkAddressEntry
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- ...
| 41034 |
28 | } | - |
29 | | - |
30 | static bool parseIp4Internal(IPv4Address &address, const char *ptr, bool acceptLeadingZero); | - |
31 | bool parseIp4(IPv4Address &address, const QChar *begin, const QChar *end) | - |
32 | { | - |
33 | ((!(begin != end)) ? qt_assert("begin != end",__FILE__,76) : qt_noop()); | - |
34 | Buffer buffer; | - |
35 | if (checkedToAscii(buffer, begin, end)TRUE | evaluated 356 times by 3 testsEvaluated by:- tst_QHostInfo
- tst_QUrl
- tst_QUrlInternal
| FALSE | evaluated 40373 times by 50 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkAddressEntry
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- ...
|
) | 356-40373 |
36 | returnexecuted 356 times by 3 tests: return false; Executed by:- tst_QHostInfo
- tst_QUrl
- tst_QUrlInternal
false;executed 356 times by 3 tests: return false; Executed by:- tst_QHostInfo
- tst_QUrl
- tst_QUrlInternal
| 356 |
37 | | - |
38 | const char *ptr = buffer.data(); | - |
39 | returnexecuted 40373 times by 50 tests: return parseIp4Internal(address, ptr, true); Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkAddressEntry
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- ...
parseIp4Internal(address, ptr, true);executed 40373 times by 50 tests: return parseIp4Internal(address, ptr, true); Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkAddressEntry
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- ...
| 40373 |
40 | } | - |
41 | | - |
42 | static bool parseIp4Internal(IPv4Address &address, const char *ptr, bool acceptLeadingZero) | - |
43 | { | - |
44 | address = 0; | - |
45 | int dotCount = 0; | - |
46 | while (dotCount < 4TRUE | evaluated 54388 times by 50 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkAddressEntry
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- ...
| FALSE | never evaluated |
) { | 0-54388 |
47 | if (!acceptLeadingZeroTRUE | evaluated 224 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
| FALSE | evaluated 54164 times by 50 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkAddressEntry
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- ...
|
&& *TRUE | evaluated 60 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
| FALSE | evaluated 164 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
|
ptr == '0'TRUE | evaluated 60 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
| FALSE | evaluated 164 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
|
&& | 60-54164 |
48 | ptr[1] != '.'TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
| FALSE | evaluated 50 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
|
&& ptr[1] != '\0'TRUE | evaluated 4 times by 1 test | FALSE | evaluated 6 times by 3 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
|
) | 4-50 |
49 | returnexecuted 4 times by 1 test: return false; false;executed 4 times by 1 test: return false; | 4 |
50 | | - |
51 | const char *endptr; | - |
52 | bool ok; | - |
53 | quint64 ll = qstrtoull(ptr, &endptr, 0, &ok); | - |
54 | quint32 x = ll; | - |
55 | if (!okTRUE | evaluated 35733 times by 42 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QFtp
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
| FALSE | evaluated 18651 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
|| endptr == ptrTRUE | never evaluated | FALSE | evaluated 18651 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
|| ll != xTRUE | evaluated 1 time by 1 test | FALSE | evaluated 18650 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
) | 0-35733 |
56 | returnexecuted 35734 times by 42 tests: return false; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QFtp
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
false;executed 35734 times by 42 tests: return false; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QFtp
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QIpAddress
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- ...
| 35734 |
57 | | - |
58 | if (*TRUE | evaluated 13970 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
| FALSE | evaluated 4680 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
endptr == '.'TRUE | evaluated 13970 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
| FALSE | evaluated 4680 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
|| dotCount == 3TRUE | evaluated 4630 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
| FALSE | evaluated 50 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QUrl
|
) { | 50-13970 |
59 | if (x & ~0xffTRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
| FALSE | evaluated 18593 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
) | 7-18593 |
60 | returnexecuted 7 times by 2 tests: return false; Executed by:- tst_QHostAddress
- tst_QIpAddress
false;executed 7 times by 2 tests: return false; Executed by:- tst_QHostAddress
- tst_QIpAddress
| 7 |
61 | address <<= 8; | - |
62 | }executed 18593 times by 30 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
else if (dotCount == 2TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
| FALSE | evaluated 44 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QUrl
|
) { | 6-18593 |
63 | if (x & ~0xffffTRUE | evaluated 1 time by 1 test | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
|
) | 1-5 |
64 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
65 | address <<= 16; | - |
66 | }executed 5 times by 2 tests: end of block Executed by:- tst_QHostAddress
- tst_QIpAddress
else if (dotCount == 1TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
| FALSE | evaluated 39 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QUrl
|
) { | 5-39 |
67 | if (x & ~0xffffffTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
|
) | 1-4 |
68 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
69 | address <<= 24; | - |
70 | }executed 4 times by 2 tests: end of block Executed by:- tst_QHostAddress
- tst_QIpAddress
| 4 |
71 | address |= x; | - |
72 | | - |
73 | if (dotCount == 3TRUE | evaluated 4634 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
| FALSE | evaluated 14007 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
&& *TRUE | evaluated 9 times by 3 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
| FALSE | evaluated 4625 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
endptr != '\0'TRUE | evaluated 9 times by 3 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
| FALSE | evaluated 4625 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
) | 9-14007 |
74 | returnexecuted 9 times by 3 tests: return false; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
false;executed 9 times by 3 tests: return false; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
| 9 |
75 | else if (dotCount == 3TRUE | evaluated 4625 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
| FALSE | evaluated 14007 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
|| *TRUE | evaluated 11 times by 3 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
| FALSE | evaluated 13996 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
endptr == '\0'TRUE | evaluated 11 times by 3 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
| FALSE | evaluated 13996 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
) | 11-14007 |
76 | returnexecuted 4636 times by 30 tests: return true; Executed by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
true;executed 4636 times by 30 tests: return true; Executed by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
| 4636 |
77 | if (*TRUE | evaluated 37 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QUrl
| FALSE | evaluated 13959 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
endptr != '.'TRUE | evaluated 37 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QUrl
| FALSE | evaluated 13959 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
|
) | 37-13959 |
78 | returnexecuted 37 times by 4 tests: return false; Executed by:- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QUrl
false;executed 37 times by 4 tests: return false; Executed by:- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QUrl
| 37 |
79 | | - |
80 | ++dotCount; | - |
81 | ptr = endptr + 1; | - |
82 | }executed 13959 times by 30 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- ...
| 13959 |
83 | return never executed: return false; false;never executed: return false; | 0 |
84 | } | - |
85 | | - |
86 | void toString(QString &appendTo, IPv4Address address) | - |
87 | { | - |
88 | | - |
89 | | - |
90 | appendTo += number(address >> 24) | - |
91 | % QLatin1Char('.') | - |
92 | % number(address >> 16) | - |
93 | % QLatin1Char('.') | - |
94 | % number(address >> 8) | - |
95 | % QLatin1Char('.') | - |
96 | % number(address); | - |
97 | }executed 3776 times by 31 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostAddress
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- ...
| 3776 |
98 | const QChar *parseIp6(IPv6Address &address, const QChar *begin, const QChar *end) | - |
99 | { | - |
100 | ((!(begin != end)) ? qt_assert("begin != end",__FILE__,154) : qt_noop()); | - |
101 | Buffer buffer; | - |
102 | const QChar *ret = checkedToAscii(buffer, begin, end); | - |
103 | if (retTRUE | evaluated 8 times by 2 tests | FALSE | evaluated 661 times by 16 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
|
) | 8-661 |
104 | returnexecuted 8 times by 2 tests: return ret; ret;executed 8 times by 2 tests: return ret; | 8 |
105 | | - |
106 | const char *ptr = buffer.data(); | - |
107 | | - |
108 | | - |
109 | int colonCount = 0; | - |
110 | int dotCount = 0; | - |
111 | while (*TRUE | evaluated 8925 times by 16 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| FALSE | evaluated 661 times by 16 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
|
ptrTRUE | evaluated 8925 times by 16 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| FALSE | evaluated 661 times by 16 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
|
) { | 661-8925 |
112 | if (*TRUE | evaluated 2143 times by 16 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| FALSE | evaluated 6782 times by 16 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
|
ptr == ':'TRUE | evaluated 2143 times by 16 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| FALSE | evaluated 6782 times by 16 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
|
) | 2143-6782 |
113 | ++executed 2143 times by 16 tests: ++colonCount; Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
colonCount;executed 2143 times by 16 tests: ++colonCount; Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| 2143 |
114 | if (*TRUE | evaluated 325 times by 6 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 8600 times by 16 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
|
ptr == '.'TRUE | evaluated 325 times by 6 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 8600 times by 16 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
|
) | 325-8600 |
115 | ++executed 325 times by 6 tests: ++dotCount; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUrl
- tst_Spdy
dotCount;executed 325 times by 6 tests: ++dotCount; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUrl
- tst_Spdy
| 325 |
116 | ++ptr; | - |
117 | }executed 8925 times by 16 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| 8925 |
118 | | - |
119 | if (dotCount != 0TRUE | evaluated 144 times by 6 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 517 times by 15 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
|
&& dotCount != 3TRUE | evaluated 68 times by 5 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 76 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
|
) | 68-517 |
120 | returnexecuted 68 times by 5 tests: return end; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
end;executed 68 times by 5 tests: return end; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 68 |
121 | | - |
122 | memset(address, 0, sizeof address); | - |
123 | if (colonCount == 2TRUE | evaluated 230 times by 11 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 363 times by 12 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUrl
- tst_QUrlInternal
|
&& end - begin == 2TRUE | evaluated 37 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpSocket
- tst_QUrl
| FALSE | evaluated 193 times by 11 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) | 37-363 |
124 | returnexecuted 37 times by 4 tests: return 0; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpSocket
- tst_QUrl
0;executed 37 times by 4 tests: return 0; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpSocket
- tst_QUrl
| 37 |
125 | | - |
126 | | - |
127 | int zeroWordsToFill; | - |
128 | ptr = buffer.data(); | - |
129 | | - |
130 | | - |
131 | | - |
132 | if ((ptr[0] == ':'TRUE | evaluated 185 times by 10 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 371 times by 13 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
|
&& ptr[1] == ':'TRUE | evaluated 173 times by 10 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 12 times by 3 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
|
) || | 12-371 |
133 | (ptr[end - begin - 2] == ':'TRUE | evaluated 186 times by 10 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 197 times by 10 testsEvaluated by:- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkProxyFactory
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
|
&& ptr[end - begin - 1] == ':'TRUE | evaluated 84 times by 7 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 102 times by 7 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkCookieJar
- tst_QTcpSocket
- tst_QUrl
|
)) { | 84-197 |
134 | zeroWordsToFill = 9 - colonCount; | - |
135 | }executed 257 times by 11 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
else if (colonCount < 2TRUE | evaluated 61 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
- tst_QUrlInternal
| FALSE | evaluated 238 times by 12 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
|| colonCount > 7TRUE | evaluated 3 times by 2 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
| FALSE | evaluated 235 times by 12 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) { | 3-257 |
136 | returnexecuted 64 times by 4 tests: return end; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
- tst_QUrlInternal
end;executed 64 times by 4 tests: return end; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
- tst_QUrlInternal
| 64 |
137 | } else { | - |
138 | zeroWordsToFill = 8 - colonCount; | - |
139 | }executed 235 times by 12 tests: end of block Executed by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 235 |
140 | if (dotCountTRUE | evaluated 69 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
| FALSE | evaluated 423 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) | 69-423 |
141 | --executed 69 times by 4 tests: --zeroWordsToFill; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
zeroWordsToFill;executed 69 times by 4 tests: --zeroWordsToFill; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
| 69 |
142 | | - |
143 | int pos = 0; | - |
144 | while (pos < 15TRUE | evaluated 2118 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 73 times by 7 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) { | 73-2118 |
145 | if (*TRUE | evaluated 394 times by 13 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 1724 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
ptr == ':'TRUE | evaluated 394 times by 13 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 1724 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) { | 394-1724 |
146 | | - |
147 | if (zeroWordsToFill < 1TRUE | evaluated 26 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QUrl
| FALSE | evaluated 368 times by 13 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) | 26-368 |
148 | returnexecuted 26 times by 4 tests: return begin + (ptr - buffer.data()); Executed by:- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QUrl
begin + (ptr - buffer.data());executed 26 times by 4 tests: return begin + (ptr - buffer.data()); Executed by:- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QUrl
| 26 |
149 | if (pos == 0TRUE | evaluated 181 times by 10 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 187 times by 11 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
|| pos == colonCount * 2TRUE | never evaluated | FALSE | evaluated 187 times by 11 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) { | 0-187 |
150 | if (ptr[0] == '\0'TRUE | never evaluated | FALSE | evaluated 181 times by 10 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
|| ptr[1] != ':'TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
| FALSE | evaluated 173 times by 10 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) | 0-181 |
151 | returnexecuted 8 times by 2 tests: return begin + (ptr - buffer.data()); Executed by:- tst_QHostAddress
- tst_QIpAddress
begin + (ptr - buffer.data());executed 8 times by 2 tests: return begin + (ptr - buffer.data()); Executed by:- tst_QHostAddress
- tst_QIpAddress
| 8 |
152 | ++ptr; | - |
153 | }executed 173 times by 10 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 173 |
154 | pos += zeroWordsToFill * 2; | - |
155 | zeroWordsToFill = 0; | - |
156 | ++ptr; | - |
157 | continue;executed 360 times by 13 tests: continue; Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 360 |
158 | } | - |
159 | | - |
160 | const char *endptr; | - |
161 | bool ok; | - |
162 | quint64 ll = qstrtoull(ptr, &endptr, 16, &ok); | - |
163 | quint16 x = ll; | - |
164 | | - |
165 | if (!okTRUE | evaluated 14 times by 3 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
| FALSE | evaluated 1710 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
|| ll != xTRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
| FALSE | evaluated 1705 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) | 5-1710 |
166 | returnexecuted 19 times by 3 tests: return begin + (ptr - buffer.data()); Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
begin + (ptr - buffer.data());executed 19 times by 3 tests: return begin + (ptr - buffer.data()); Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
| 19 |
167 | | - |
168 | if (*TRUE | evaluated 63 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
| FALSE | evaluated 1642 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
endptr == '.'TRUE | evaluated 63 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
| FALSE | evaluated 1642 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) { | 63-1642 |
169 | | - |
170 | | - |
171 | if (pos != 12TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
| FALSE | evaluated 56 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
|
) | 7-56 |
172 | returnexecuted 7 times by 2 tests: return begin + (ptr - buffer.data()); Executed by:- tst_QHostAddress
- tst_QIpAddress
begin + (ptr - buffer.data());executed 7 times by 2 tests: return begin + (ptr - buffer.data()); Executed by:- tst_QHostAddress
- tst_QIpAddress
| 7 |
173 | | - |
174 | IPv4Address ip4; | - |
175 | if (!parseIp4Internal(ip4, ptr, false)TRUE | evaluated 4 times by 1 test | FALSE | evaluated 52 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
|
) | 4-52 |
176 | returnexecuted 4 times by 1 test: return begin + (ptr - buffer.data()); begin + (ptr - buffer.data());executed 4 times by 1 test: return begin + (ptr - buffer.data()); | 4 |
177 | | - |
178 | address[12] = ip4 >> 24; | - |
179 | address[13] = ip4 >> 16; | - |
180 | address[14] = ip4 >> 8; | - |
181 | address[15] = ip4; | - |
182 | returnexecuted 52 times by 4 tests: return 0; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
0;executed 52 times by 4 tests: return 0; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
| 52 |
183 | } | - |
184 | | - |
185 | address[pos++] = x >> 8; | - |
186 | address[pos++] = x & 0xff; | - |
187 | | - |
188 | if (*TRUE | evaluated 294 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 1348 times by 12 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
endptr == '\0'TRUE | evaluated 294 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 1348 times by 12 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) | 294-1348 |
189 | break;executed 294 times by 14 tests: break; Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 294 |
190 | if (*TRUE | evaluated 9 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
| FALSE | evaluated 1339 times by 12 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
endptr != ':'TRUE | evaluated 9 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
| FALSE | evaluated 1339 times by 12 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) | 9-1339 |
191 | returnexecuted 9 times by 4 tests: return begin + (endptr - buffer.data()); Executed by:- tst_QHostAddress
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
begin + (endptr - buffer.data());executed 9 times by 4 tests: return begin + (endptr - buffer.data()); Executed by:- tst_QHostAddress
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
| 9 |
192 | ptr = endptr + 1; | - |
193 | }executed 1339 times by 12 tests: end of block Executed by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 1339 |
194 | returnexecuted 367 times by 14 tests: return pos == 16 ? 0 : end; Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
pos == 16 ? 0 : end;executed 367 times by 14 tests: return pos == 16 ? 0 : end; Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocks5SocketEngine
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 367 |
195 | } | - |
196 | | - |
197 | static inline QChar toHex(uchar c) | - |
198 | { | - |
199 | returnexecuted 3406 times by 14 tests: return QtMiscUtils::toHexLower(c); Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
QtMiscUtils::toHexLower(c);executed 3406 times by 14 tests: return QtMiscUtils::toHexLower(c); Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 3406 |
200 | } | - |
201 | | - |
202 | void toString(QString &appendTo, IPv6Address address) | - |
203 | { | - |
204 | | - |
205 | | - |
206 | | - |
207 | | - |
208 | | - |
209 | | - |
210 | | - |
211 | static const int Ip6AddressMaxLen = sizeof "1111:2222:3333:4444:5555:6666:7777:8888"; | - |
212 | static const int Ip6WithIp4AddressMaxLen = sizeof "::ffff:255.255.255.255"; | - |
213 | | - |
214 | | - |
215 | const quint64 zeroes[] = { 0, 0 }; | - |
216 | bool embeddedIp4 = false; | - |
217 | | - |
218 | | - |
219 | | - |
220 | | - |
221 | if (memcmp(address, zeroes, 10) == 0TRUE | evaluated 166 times by 11 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 252 times by 11 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
|
) { | 166-252 |
222 | if (address[10] == 0xffTRUE | evaluated 22 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
| FALSE | evaluated 144 times by 11 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
&& address[11] == 0xffTRUE | evaluated 22 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
| FALSE | never evaluated |
) { | 0-144 |
223 | embeddedIp4 = true; | - |
224 | }executed 22 times by 4 tests: end of block Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
else if (address[10] == 0TRUE | evaluated 144 times by 11 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | never evaluated |
&& address[11] == 0TRUE | evaluated 144 times by 11 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | never evaluated |
) { | 0-144 |
225 | if (address[12] != 0TRUE | evaluated 6 times by 3 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
| FALSE | evaluated 138 times by 11 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
|| address[13] != 0TRUE | never evaluated | FALSE | evaluated 138 times by 11 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
|| address[14] != 0TRUE | never evaluated | FALSE | evaluated 138 times by 11 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) { | 0-138 |
226 | embeddedIp4 = true; | - |
227 | }executed 6 times by 3 tests: end of block Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
else if (address[15] == 0TRUE | evaluated 51 times by 7 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 87 times by 10 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) { | 6-87 |
228 | appendTo.append(QLatin1String("::")); | - |
229 | return;executed 51 times by 7 tests: return; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 51 |
230 | } | - |
231 | }executed 93 times by 10 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 93 |
232 | }executed 115 times by 10 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 115 |
233 | | - |
234 | | - |
235 | appendTo.reserve(appendTo.size() + | - |
236 | (embeddedIp4 ? Ip6WithIp4AddressMaxLen : Ip6AddressMaxLen)); | - |
237 | | - |
238 | | - |
239 | int zeroRunLength = 0; | - |
240 | int zeroRunOffset = 0; | - |
241 | for (int i = 0; i < 16TRUE | evaluated 1369 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 367 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
; i += 2) { | 367-1369 |
242 | if (address[i] == 0TRUE | evaluated 704 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 665 times by 11 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
|
&& address[i + 1] == 0TRUE | evaluated 376 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 328 times by 7 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkCookieJar
- tst_QTcpServer
- tst_QUrl
|
) { | 328-704 |
243 | | - |
244 | int j; | - |
245 | for (j = i; j < 16TRUE | evaluated 1968 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 94 times by 5 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkInterface
- tst_QUrl
|
; j += 2) { | 94-1968 |
246 | if (address[j] != 0TRUE | evaluated 70 times by 8 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 1898 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
|| address[j+1] != 0TRUE | evaluated 212 times by 12 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 1686 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) | 70-1898 |
247 | break;executed 282 times by 13 tests: break; Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 282 |
248 | }executed 1686 times by 14 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 1686 |
249 | | - |
250 | if (j - i > zeroRunLengthTRUE | evaluated 348 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 28 times by 3 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QUrl
|
) { | 28-348 |
251 | zeroRunLength = j - i; | - |
252 | zeroRunOffset = i; | - |
253 | i = j; | - |
254 | }executed 348 times by 14 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 348 |
255 | }executed 376 times by 14 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 376 |
256 | }executed 1369 times by 14 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 1369 |
257 | | - |
258 | const QChar colon = ushort(':'); | - |
259 | if (zeroRunLength < 4TRUE | evaluated 60 times by 6 testsEvaluated by:- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkInterface
- tst_QUrl
| FALSE | evaluated 307 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) | 60-307 |
260 | zeroRunOffset = -1;executed 60 times by 6 tests: zeroRunOffset = -1; Executed by:- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkInterface
- tst_QUrl
| 60 |
261 | else if (zeroRunOffset == 0TRUE | evaluated 117 times by 10 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 190 times by 11 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
|
) | 117-190 |
262 | appendTo.append(colon);executed 117 times by 10 tests: appendTo.append(colon); Executed by:- tst_PlatformSocketEngine
- tst_QHostAddress
- tst_QIpAddress
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 117 |
263 | | - |
264 | for (int i = 0; i < 16TRUE | evaluated 1616 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 339 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
; i += 2) { | 339-1616 |
265 | if (i == zeroRunOffsetTRUE | evaluated 307 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 1309 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) { | 307-1309 |
266 | appendTo.append(colon); | - |
267 | i += zeroRunLength - 2; | - |
268 | continue;executed 307 times by 14 tests: continue; Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 307 |
269 | } | - |
270 | | - |
271 | if (i == 12TRUE | evaluated 160 times by 11 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 1149 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
&& embeddedIp4TRUE | evaluated 28 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
| FALSE | evaluated 132 times by 11 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
|
) { | 28-1149 |
272 | IPv4Address ip4 = address[12] << 24 | | - |
273 | address[13] << 16 | | - |
274 | address[14] << 8 | | - |
275 | address[15]; | - |
276 | toString(appendTo, ip4); | - |
277 | return;executed 28 times by 4 tests: return; Executed by:- tst_QHostAddress
- tst_QIpAddress
- tst_QTcpServer
- tst_QUrl
| 28 |
278 | } | - |
279 | | - |
280 | if (address[i]TRUE | evaluated 685 times by 11 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 596 times by 13 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) { | 596-685 |
281 | if (address[i] >> 4TRUE | evaluated 560 times by 11 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 125 times by 10 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
|
) { | 125-560 |
282 | appendTo.append(toHex(address[i] >> 4)); | - |
283 | appendTo.append(toHex(address[i] & 0xf)); | - |
284 | appendTo.append(toHex(address[i + 1] >> 4)); | - |
285 | appendTo.append(toHex(address[i + 1] & 0xf)); | - |
286 | }executed 560 times by 11 tests: end of block Executed by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
else if (address[i] & 0xfTRUE | evaluated 125 times by 10 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
| FALSE | never evaluated |
) { | 0-560 |
287 | appendTo.append(toHex(address[i] & 0xf)); | - |
288 | appendTo.append(toHex(address[i + 1] >> 4)); | - |
289 | appendTo.append(toHex(address[i + 1] & 0xf)); | - |
290 | }executed 125 times by 10 tests: end of block Executed by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
| 125 |
291 | }executed 685 times by 11 tests: end of block Executed by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
else if (address[i + 1] >> 4TRUE | evaluated 195 times by 4 testsEvaluated by:- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QUrl
| FALSE | evaluated 401 times by 13 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) { | 195-685 |
292 | appendTo.append(toHex(address[i + 1] >> 4)); | - |
293 | appendTo.append(toHex(address[i + 1] & 0xf)); | - |
294 | }executed 195 times by 4 tests: end of block Executed by:- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QUrl
else { | 195 |
295 | appendTo.append(toHex(address[i + 1] & 0xf)); | - |
296 | }executed 401 times by 13 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 401 |
297 | | - |
298 | if (i != 14TRUE | evaluated 1015 times by 11 testsEvaluated by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 266 times by 14 testsEvaluated by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) | 266-1015 |
299 | appendTo.append(colon);executed 1015 times by 11 tests: appendTo.append(colon); Executed by:- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QUrl
| 1015 |
300 | }executed 1281 times by 14 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 1281 |
301 | }executed 339 times by 14 tests: end of block Executed by:- tst_PlatformSocketEngine
- tst_QDnsLookup
- tst_QHostAddress
- tst_QHostInfo
- tst_QIpAddress
- tst_QNetworkAddressEntry
- tst_QNetworkCookieJar
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 339 |
302 | | - |
303 | } | - |
304 | | - |
| | |