| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | static QList<QNetworkInterfacePrivate *> postProcess(QList<QNetworkInterfacePrivate *> list) | - |
| 8 | { | - |
| 9 | QList<QNetworkInterfacePrivate *>::Iterator it = list.begin(); | - |
| 10 | const QList<QNetworkInterfacePrivate *>::Iterator end = list.end(); | - |
| 11 | for ( ; it != end| TRUE | evaluated 612 times by 19 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_qtcpsocket - unknown status
| | FALSE | evaluated 204 times by 19 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_qtcpsocket - unknown status
|
; ++it) { | 204-612 |
| 12 | QList<QNetworkAddressEntry>::Iterator addr_it = (*it)->addressEntries.begin(); | - |
| 13 | const QList<QNetworkAddressEntry>::Iterator addr_end = (*it)->addressEntries.end(); | - |
| 14 | for ( ; addr_it != addr_end| TRUE | evaluated 1224 times by 19 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_qtcpsocket - unknown status
| | FALSE | evaluated 612 times by 19 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_qtcpsocket - unknown status
|
; ++addr_it) { | 612-1224 |
| 15 | if (addr_it->ip().protocol() != QAbstractSocket::IPv4Protocol| TRUE | evaluated 612 times by 19 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_qtcpsocket - unknown status
| | FALSE | evaluated 612 times by 19 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_qtcpsocket - unknown status
|
) | 612 |
| 16 | continue;executed 612 times by 19 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_qtcpsocket - unknown status
| 612 |
| 17 | | - |
| 18 | if (!addr_it->netmask().isNull()| TRUE | evaluated 612 times by 19 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_qtcpsocket - unknown status
| | FALSE | never evaluated |
&& addr_it->broadcast().isNull()| TRUE | evaluated 204 times by 19 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_qtcpsocket - unknown status
| | FALSE | evaluated 408 times by 19 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_qtcpsocket - unknown status
|
) { | 0-612 |
| 19 | QHostAddress bcast = addr_it->ip(); | - |
| 20 | bcast = QHostAddress(bcast.toIPv4Address() | ~addr_it->netmask().toIPv4Address()); | - |
| 21 | addr_it->setBroadcast(bcast); | - |
| 22 | }executed 204 times by 19 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qtcpsocket - unknown status
| 204 |
| 23 | }executed 612 times by 19 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qtcpsocket - unknown status
| 612 |
| 24 | }executed 612 times by 19 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qtcpsocket - unknown status
| 612 |
| 25 | | - |
| 26 | returnexecuted 204 times by 19 tests: return list;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_qtcpsocket - unknown status
list;executed 204 times by 19 tests: return list;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_qtcpsocket - unknown status
| 204 |
| 27 | } | - |
| 28 | | - |
| 29 | namespace { namespace Q_QGS_manager { typedef QNetworkInterfaceManager Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized| TRUE | evaluated 20 times by 20 testsEvaluated by:- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qftp - unknown status
- tst_qhostinfo - unknown status
- tst_qhttpnetworkconnection - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaccessmanager_and_qprogressdialog - unknown status
- tst_qnetworkconfiguration - unknown status
- tst_qnetworkconfigurationmanager - unknown status
- tst_qnetworkconfigurationmanagerqappless - unknown status
- tst_qnetworkdiskcache - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworkproxyfactory - unknown status
- tst_qnetworksession - unknown status
- tst_qtcpserver - unknown status
- tst_qtcpsocket - unknown status
- tst_qudpsocket - unknown status
- tst_qxmlinputsource - unknown status
- tst_qxmlstream - unknown status
- tst_spdy - unknown status
| | FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 20 times by 20 tests: guard.store(QtGlobalStatic::Destroyed);Executed by:- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qftp - unknown status
- tst_qhostinfo - unknown status
- tst_qhttpnetworkconnection - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaccessmanager_and_qprogressdialog - unknown status
- tst_qnetworkconfiguration - unknown status
- tst_qnetworkconfigurationmanager - unknown status
- tst_qnetworkconfigurationmanagerqappless - unknown status
- tst_qnetworkdiskcache - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworkproxyfactory - unknown status
- tst_qnetworksession - unknown status
- tst_qtcpserver - unknown status
- tst_qtcpsocket - unknown status
- tst_qudpsocket - unknown status
- tst_qxmlinputsource - unknown status
- tst_qxmlstream - unknown status
- tst_spdy - unknown status
}executed 20 times by 20 tests: end of blockExecuted by:- tst_networkselftest - unknown status
- tst_qabstractnetworkcache - unknown status
- tst_qftp - unknown status
- tst_qhostinfo - unknown status
- tst_qhttpnetworkconnection - unknown status
- tst_qnetworkaccessmanager - unknown status
- tst_qnetworkaccessmanager_and_qprogressdialog - unknown status
- tst_qnetworkconfiguration - unknown status
- tst_qnetworkconfigurationmanager - unknown status
- tst_qnetworkconfigurationmanagerqappless - unknown status
- tst_qnetworkdiskcache - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworkproxyfactory - unknown status
- tst_qnetworksession - unknown status
- tst_qtcpserver - unknown status
- tst_qtcpsocket - unknown status
- tst_qudpsocket - unknown status
- tst_qxmlinputsource - unknown status
- tst_qxmlstream - unknown status
- tst_spdy - unknown status
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 204 times by 19 tests: return &holder.value;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_qtcpsocket - unknown status
&holder.value;executed 204 times by 19 tests: return &holder.value;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_qtcpsocket - unknown status
} } } static QGlobalStatic<QNetworkInterfaceManager, Q_QGS_manager::innerFunction, Q_QGS_manager::guard> manager; | 0-204 |
| 30 | | - |
| 31 | QNetworkInterfaceManager::QNetworkInterfaceManager() | - |
| 32 | { | - |
| 33 | } | - |
| 34 | | - |
| 35 | QNetworkInterfaceManager::~QNetworkInterfaceManager() | - |
| 36 | { | - |
| 37 | } | - |
| 38 | | - |
| 39 | QSharedDataPointer<QNetworkInterfacePrivate> QNetworkInterfaceManager::interfaceFromName(const QString &name) | - |
| 40 | { | - |
| 41 | QList<QSharedDataPointer<QNetworkInterfacePrivate> > interfaceList = allInterfaces(); | - |
| 42 | QList<QSharedDataPointer<QNetworkInterfacePrivate> >::ConstIterator it = interfaceList.constBegin(); | - |
| 43 | | - |
| 44 | bool ok; | - |
| 45 | uint index = name.toUInt(&ok); | - |
| 46 | | - |
| 47 | for ( ; it != interfaceList.constEnd()| TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_QNetworkInterface
- tst_QNetworkSession
| | FALSE | evaluated 1 time by 1 test |
; ++it) { | 1-16 |
| 48 | if (ok| TRUE | never evaluated | | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QNetworkInterface
- tst_QNetworkSession
|
&& (*| TRUE | never evaluated | | FALSE | never evaluated |
it)->index == int(index)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-16 |
| 49 | return never executed: return *it; *it;never executed: return *it; | 0 |
| 50 | else if ((*| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QNetworkInterface
- tst_QNetworkSession
| | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_QNetworkInterface
- tst_QNetworkSession
|
it)->name == name| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QNetworkInterface
- tst_QNetworkSession
| | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_QNetworkInterface
- tst_QNetworkSession
|
) | 6-10 |
| 51 | returnexecuted 6 times by 2 tests: return *it;Executed by:- tst_QNetworkInterface
- tst_QNetworkSession
*it;executed 6 times by 2 tests: return *it;Executed by:- tst_QNetworkInterface
- tst_QNetworkSession
| 6 |
| 52 | }executed 10 times by 2 tests: end of blockExecuted by:- tst_QNetworkInterface
- tst_QNetworkSession
| 10 |
| 53 | | - |
| 54 | returnexecuted 1 time by 1 test: return empty; empty;executed 1 time by 1 test: return empty; | 1 |
| 55 | } | - |
| 56 | | - |
| 57 | QSharedDataPointer<QNetworkInterfacePrivate> QNetworkInterfaceManager::interfaceFromIndex(int index) | - |
| 58 | { | - |
| 59 | QList<QSharedDataPointer<QNetworkInterfacePrivate> > interfaceList = allInterfaces(); | - |
| 60 | QList<QSharedDataPointer<QNetworkInterfacePrivate> >::ConstIterator it = interfaceList.constBegin(); | - |
| 61 | for ( ; it != interfaceList.constEnd()| TRUE | evaluated 66 times by 16 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_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
| | FALSE | evaluated 18 times by 16 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_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
|
; ++it) | 18-66 |
| 62 | if ((*| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QNetworkInterface
- tst_QUdpSocket
| | FALSE | evaluated 60 times by 16 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_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
|
it)->index == index| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_QNetworkInterface
- tst_QUdpSocket
| | FALSE | evaluated 60 times by 16 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_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
|
) | 6-60 |
| 63 | returnexecuted 6 times by 2 tests: return *it;Executed by:- tst_QNetworkInterface
- tst_QUdpSocket
*it;executed 6 times by 2 tests: return *it;Executed by:- tst_QNetworkInterface
- tst_QUdpSocket
| 6 |
| 64 | | - |
| 65 | returnexecuted 18 times by 16 tests: return empty;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_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
empty;executed 18 times by 16 tests: return empty;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_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
| 18 |
| 66 | } | - |
| 67 | | - |
| 68 | QList<QSharedDataPointer<QNetworkInterfacePrivate> > QNetworkInterfaceManager::allInterfaces() | - |
| 69 | { | - |
| 70 | const QList<QNetworkInterfacePrivate *> list = postProcess(scan()); | - |
| 71 | QList<QSharedDataPointer<QNetworkInterfacePrivate> > result; | - |
| 72 | result.reserve(list.size()); | - |
| 73 | | - |
| 74 | for (QNetworkInterfacePrivate *ptr : list) | - |
| 75 | result << QSharedDataPointer<QNetworkInterfacePrivate>(ptr);executed 612 times by 19 tests: result << QSharedDataPointer<QNetworkInterfacePrivate>(ptr);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_qtcpsocket - unknown status
| 612 |
| 76 | | - |
| 77 | returnexecuted 204 times by 19 tests: return result;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_qtcpsocket - unknown status
result;executed 204 times by 19 tests: return result;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_qtcpsocket - unknown status
| 204 |
| 78 | } | - |
| 79 | | - |
| 80 | QString QNetworkInterfacePrivate::makeHwAddress(int len, uchar *data) | - |
| 81 | { | - |
| 82 | const int outLen = qMax(len * 2 + (len - 1) * 1, 0); | - |
| 83 | QString result(outLen, Qt::Uninitialized); | - |
| 84 | QChar *out = result.data(); | - |
| 85 | for (int i = 0; i < len| TRUE | evaluated 3672 times by 19 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_qtcpsocket - unknown status
| | FALSE | evaluated 612 times by 19 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_qtcpsocket - unknown status
|
; ++i) { | 612-3672 |
| 86 | if (i| TRUE | evaluated 3060 times by 19 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_qtcpsocket - unknown status
| | FALSE | evaluated 612 times by 19 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_qtcpsocket - unknown status
|
) | 612-3060 |
| 87 | *executed 3060 times by 19 tests: *out++ = QLatin1Char(':');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_qtcpsocket - unknown status
out++ = QLatin1Char(':');executed 3060 times by 19 tests: *out++ = QLatin1Char(':');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_qtcpsocket - unknown status
| 3060 |
| 88 | *out++ = QLatin1Char(QtMiscUtils::toHexUpper(data[i] / 16)); | - |
| 89 | *out++ = QLatin1Char(QtMiscUtils::toHexUpper(data[i] % 16)); | - |
| 90 | }executed 3672 times by 19 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qtcpsocket - unknown status
| 3672 |
| 91 | returnexecuted 612 times by 19 tests: return result;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_qtcpsocket - unknown status
result;executed 612 times by 19 tests: return result;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_qtcpsocket - unknown status
| 612 |
| 92 | } | - |
| 93 | QNetworkAddressEntry::QNetworkAddressEntry() | - |
| 94 | : d(new QNetworkAddressEntryPrivate) | - |
| 95 | { | - |
| 96 | }executed 1860 times by 20 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 1860 |
| 97 | | - |
| 98 | | - |
| 99 | | - |
| 100 | | - |
| 101 | | - |
| 102 | QNetworkAddressEntry::QNetworkAddressEntry(const QNetworkAddressEntry &other) | - |
| 103 | : d(new QNetworkAddressEntryPrivate(*other.d.data())) | - |
| 104 | { | - |
| 105 | }executed 1248 times by 19 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qtcpsocket - unknown status
| 1248 |
| 106 | | - |
| 107 | | - |
| 108 | | - |
| 109 | | - |
| 110 | QNetworkAddressEntry &QNetworkAddressEntry::operator=(const QNetworkAddressEntry &other) | - |
| 111 | { | - |
| 112 | *d.data() = *other.d.data(); | - |
| 113 | returnexecuted 1 time by 1 test: return *this;Executed by:- tst_qnetworkaddressentry - unknown status
*this;executed 1 time by 1 test: return *this;Executed by:- tst_qnetworkaddressentry - unknown status
| 1 |
| 114 | } | - |
| 115 | QNetworkAddressEntry::~QNetworkAddressEntry() | - |
| 116 | { | - |
| 117 | } | - |
| 118 | | - |
| 119 | | - |
| 120 | | - |
| 121 | | - |
| 122 | | - |
| 123 | bool QNetworkAddressEntry::operator==(const QNetworkAddressEntry &other) const | - |
| 124 | { | - |
| 125 | if (d == other.d| TRUE | evaluated 1 time by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
| | FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
|
) returnexecuted 1 time by 1 test: return true;Executed by:- tst_qnetworkaddressentry - unknown status
true;executed 1 time by 1 test: return true;Executed by:- tst_qnetworkaddressentry - unknown status
| 1-4 |
| 126 | if (!d| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
|
|| !other.d| TRUE | never evaluated | | FALSE | evaluated 4 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
|
) returnnever executed: return false; false;never executed: return false; | 0-4 |
| 127 | returnexecuted 4 times by 1 test: return d->address == other.d->address && d->netmask == other.d->netmask && d->broadcast == other.d->broadcast;Executed by:- tst_qnetworkaddressentry - unknown status
d->address == other.d->address &&executed 4 times by 1 test: return d->address == other.d->address && d->netmask == other.d->netmask && d->broadcast == other.d->broadcast;Executed by:- tst_qnetworkaddressentry - unknown status
| 4 |
| 128 | d->netmask == other.d->netmask &&executed 4 times by 1 test: return d->address == other.d->address && d->netmask == other.d->netmask && d->broadcast == other.d->broadcast;Executed by:- tst_qnetworkaddressentry - unknown status
| 4 |
| 129 | d->broadcast == other.d->broadcast;executed 4 times by 1 test: return d->address == other.d->address && d->netmask == other.d->netmask && d->broadcast == other.d->broadcast;Executed by:- tst_qnetworkaddressentry - unknown status
| 4 |
| 130 | } | - |
| 131 | QHostAddress QNetworkAddressEntry::ip() const | - |
| 132 | { | - |
| 133 | returnexecuted 4698 times by 20 tests: return d->address;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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
d->address;executed 4698 times by 20 tests: return d->address;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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 4698 |
| 134 | } | - |
| 135 | | - |
| 136 | | - |
| 137 | | - |
| 138 | | - |
| 139 | | - |
| 140 | void QNetworkAddressEntry::setIp(const QHostAddress &newIp) | - |
| 141 | { | - |
| 142 | d->address = newIp; | - |
| 143 | }executed 1861 times by 20 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 1861 |
| 144 | QHostAddress QNetworkAddressEntry::netmask() const | - |
| 145 | { | - |
| 146 | returnexecuted 965 times by 20 tests: return d->netmask;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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
d->netmask;executed 965 times by 20 tests: return d->netmask;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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 965 |
| 147 | } | - |
| 148 | void QNetworkAddressEntry::setNetmask(const QHostAddress &newNetmask) | - |
| 149 | { | - |
| 150 | if (newNetmask.protocol() != ip().protocol()| TRUE | evaluated 42 times by 1 testEvaluated by:- tst_qnetworkaddressentry - unknown status
| | FALSE | evaluated 1244 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
|
) { | 42-1244 |
| 151 | d->netmask = QNetmaskAddress(); | - |
| 152 | return;executed 42 times by 1 test: return;Executed by:- tst_qnetworkaddressentry - unknown status
| 42 |
| 153 | } | - |
| 154 | | - |
| 155 | d->netmask.setAddress(newNetmask); | - |
| 156 | }executed 1244 times by 20 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 1244 |
| 157 | int QNetworkAddressEntry::prefixLength() const | - |
| 158 | { | - |
| 159 | returnexecuted 107 times by 2 tests: return d->netmask.prefixLength();Executed by:- tst_QNetworkInterface
- tst_qnetworkaddressentry - unknown status
d->netmask.prefixLength();executed 107 times by 2 tests: return d->netmask.prefixLength();Executed by:- tst_QNetworkInterface
- tst_qnetworkaddressentry - unknown status
| 107 |
| 160 | } | - |
| 161 | void QNetworkAddressEntry::setPrefixLength(int length) | - |
| 162 | { | - |
| 163 | d->netmask.setPrefixLength(d->address.protocol(), length); | - |
| 164 | }executed 60 times by 1 test: end of blockExecuted by:- tst_qnetworkaddressentry - unknown status
| 60 |
| 165 | QHostAddress QNetworkAddressEntry::broadcast() const | - |
| 166 | { | - |
| 167 | returnexecuted 640 times by 20 tests: return d->broadcast;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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
d->broadcast;executed 640 times by 20 tests: return d->broadcast;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_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 640 |
| 168 | } | - |
| 169 | | - |
| 170 | | - |
| 171 | | - |
| 172 | | - |
| 173 | | - |
| 174 | void QNetworkAddressEntry::setBroadcast(const QHostAddress &newBroadcast) | - |
| 175 | { | - |
| 176 | d->broadcast = newBroadcast; | - |
| 177 | }executed 1023 times by 20 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qnetworkaddressentry - unknown status
- tst_qtcpsocket - unknown status
| 1023 |
| 178 | QNetworkInterface::QNetworkInterface() | - |
| 179 | : d(0) | - |
| 180 | { | - |
| 181 | }executed 558 times by 19 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qtcpsocket - unknown status
| 558 |
| 182 | | - |
| 183 | | - |
| 184 | | - |
| 185 | | - |
| 186 | QNetworkInterface::~QNetworkInterface() | - |
| 187 | { | - |
| 188 | } | - |
| 189 | | - |
| 190 | | - |
| 191 | | - |
| 192 | | - |
| 193 | | - |
| 194 | QNetworkInterface::QNetworkInterface(const QNetworkInterface &other) | - |
| 195 | : d(other.d) | - |
| 196 | { | - |
| 197 | }executed 999 times by 19 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qtcpsocket - unknown status
| 999 |
| 198 | | - |
| 199 | | - |
| 200 | | - |
| 201 | | - |
| 202 | | - |
| 203 | QNetworkInterface &QNetworkInterface::operator=(const QNetworkInterface &other) | - |
| 204 | { | - |
| 205 | d = other.d; | - |
| 206 | return never executed: return *this; *this;never executed: return *this; | 0 |
| 207 | } | - |
| 208 | bool QNetworkInterface::isValid() const | - |
| 209 | { | - |
| 210 | returnexecuted 497 times by 19 tests: return !name().isEmpty();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_qtcpsocket - unknown status
!name().isEmpty();executed 497 times by 19 tests: return !name().isEmpty();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_qtcpsocket - unknown status
| 497 |
| 211 | } | - |
| 212 | int QNetworkInterface::index() const | - |
| 213 | { | - |
| 214 | returnexecuted 648 times by 18 tests: return d ? d->index : 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
d ? d->index : 0;executed 648 times by 18 tests: return d ? d->index : 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
| 648 |
| 215 | } | - |
| 216 | | - |
| 217 | | - |
| 218 | | - |
| 219 | | - |
| 220 | | - |
| 221 | | - |
| 222 | | - |
| 223 | QString QNetworkInterface::name() const | - |
| 224 | { | - |
| 225 | returnexecuted 1247 times by 19 tests: return d ? d->name : QString();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_qtcpsocket - unknown status
d ? d->name : QString();executed 1247 times by 19 tests: return d ? d->name : QString();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_qtcpsocket - unknown status
| 1247 |
| 226 | } | - |
| 227 | QString QNetworkInterface::humanReadableName() const | - |
| 228 | { | - |
| 229 | returnexecuted 323 times by 18 tests: return d ? !d->friendlyName.isEmpty() ? d->friendlyName : name() : QString();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
d ? !d->friendlyName.isEmpty() ? d->friendlyName : name() : QString();executed 323 times by 18 tests: return d ? !d->friendlyName.isEmpty() ? d->friendlyName : name() : QString();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
| 323 |
| 230 | } | - |
| 231 | | - |
| 232 | | - |
| 233 | | - |
| 234 | | - |
| 235 | QNetworkInterface::InterfaceFlags QNetworkInterface::flags() const | - |
| 236 | { | - |
| 237 | returnexecuted 817 times by 18 tests: return d ? d->flags : InterfaceFlags(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
d ? d->flags : InterfaceFlags(0);executed 817 times by 18 tests: return d ? d->flags : InterfaceFlags(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
| 817 |
| 238 | } | - |
| 239 | QString QNetworkInterface::hardwareAddress() const | - |
| 240 | { | - |
| 241 | returnexecuted 4 times by 1 test: return d ? d->hardwareAddress : QString(); d ? d->hardwareAddress : QString();executed 4 times by 1 test: return d ? d->hardwareAddress : QString(); | 4 |
| 242 | } | - |
| 243 | QList<QNetworkAddressEntry> QNetworkInterface::addressEntries() const | - |
| 244 | { | - |
| 245 | returnexecuted 357 times by 19 tests: return d ? d->addressEntries : QList<QNetworkAddressEntry>();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_qtcpsocket - unknown status
d ? d->addressEntries : QList<QNetworkAddressEntry>();executed 357 times by 19 tests: return d ? d->addressEntries : QList<QNetworkAddressEntry>();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_qtcpsocket - unknown status
| 357 |
| 246 | } | - |
| 247 | int QNetworkInterface::interfaceIndexFromName(const QString &name) | - |
| 248 | { | - |
| 249 | if (name.isEmpty()| TRUE | evaluated 1556 times by 15 testsEvaluated by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - unknown status
- tst_qhttpsocketengine - unknown status
- tst_qimagereader - unknown status
- tst_qobject - unknown status
- tst_qsocketnotifier - unknown status
- tst_qsocks5socketengine - unknown status
- tst_qsslsocket - unknown status
- tst_qtcpsocket - unknown status
- tst_qxmlsimplereader - unknown status
| | FALSE | evaluated 27 times by 3 testsEvaluated by:- tst_QNetworkInterface
- tst_QTcpServer
- tst_QUdpSocket
|
) | 27-1556 |
| 250 | returnexecuted 1556 times by 15 tests: return 0;Executed by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - 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
0;executed 1556 times by 15 tests: return 0;Executed by:- tst_NetworkSelfTest
- tst_QHostInfo
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTcpServer
- tst_QUdpSocket
- tst_platformsocketengine - 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
| 1556 |
| 251 | | - |
| 252 | bool ok; | - |
| 253 | uint id = name.toUInt(&ok); | - |
| 254 | if (!ok| TRUE | evaluated 27 times by 3 testsEvaluated by:- tst_QNetworkInterface
- tst_QTcpServer
- tst_QUdpSocket
| | FALSE | never evaluated |
) | 0-27 |
| 255 | id = QNetworkInterfaceManager::interfaceIndexFromName(name);executed 27 times by 3 tests: id = QNetworkInterfaceManager::interfaceIndexFromName(name);Executed by:- tst_QNetworkInterface
- tst_QTcpServer
- tst_QUdpSocket
| 27 |
| 256 | returnexecuted 27 times by 3 tests: return int(id);Executed by:- tst_QNetworkInterface
- tst_QTcpServer
- tst_QUdpSocket
int(id);executed 27 times by 3 tests: return int(id);Executed by:- tst_QNetworkInterface
- tst_QTcpServer
- tst_QUdpSocket
| 27 |
| 257 | } | - |
| 258 | QNetworkInterface QNetworkInterface::interfaceFromName(const QString &name) | - |
| 259 | { | - |
| 260 | QNetworkInterface result; | - |
| 261 | result.d = manager()->interfaceFromName(name); | - |
| 262 | returnexecuted 7 times by 2 tests: return result;Executed by:- tst_QNetworkInterface
- tst_QNetworkSession
result;executed 7 times by 2 tests: return result;Executed by:- tst_QNetworkInterface
- tst_QNetworkSession
| 7 |
| 263 | } | - |
| 264 | QNetworkInterface QNetworkInterface::interfaceFromIndex(int index) | - |
| 265 | { | - |
| 266 | QNetworkInterface result; | - |
| 267 | result.d = manager()->interfaceFromIndex(index); | - |
| 268 | returnexecuted 24 times by 16 tests: return result;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_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
result;executed 24 times by 16 tests: return result;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_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
| 24 |
| 269 | } | - |
| 270 | QString QNetworkInterface::interfaceNameFromIndex(int index) | - |
| 271 | { | - |
| 272 | if (!index| TRUE | never evaluated | | FALSE | evaluated 33 times by 3 testsEvaluated by:- tst_QNetworkInterface
- tst_QTcpServer
- tst_QUdpSocket
|
) | 0-33 |
| 273 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
| 274 | returnexecuted 33 times by 3 tests: return QNetworkInterfaceManager::interfaceNameFromIndex(index);Executed by:- tst_QNetworkInterface
- tst_QTcpServer
- tst_QUdpSocket
QNetworkInterfaceManager::interfaceNameFromIndex(index);executed 33 times by 3 tests: return QNetworkInterfaceManager::interfaceNameFromIndex(index);Executed by:- tst_QNetworkInterface
- tst_QTcpServer
- tst_QUdpSocket
| 33 |
| 275 | } | - |
| 276 | | - |
| 277 | | - |
| 278 | | - |
| 279 | | - |
| 280 | | - |
| 281 | QList<QNetworkInterface> QNetworkInterface::allInterfaces() | - |
| 282 | { | - |
| 283 | const QList<QSharedDataPointer<QNetworkInterfacePrivate> > privs = manager()->allInterfaces(); | - |
| 284 | QList<QNetworkInterface> result; | - |
| 285 | result.reserve(privs.size()); | - |
| 286 | for (const auto &p : privs) { | - |
| 287 | QNetworkInterface item; | - |
| 288 | item.d = p; | - |
| 289 | result << item; | - |
| 290 | }executed 507 times by 19 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qtcpsocket - unknown status
| 507 |
| 291 | | - |
| 292 | returnexecuted 169 times by 19 tests: return result;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_qtcpsocket - unknown status
result;executed 169 times by 19 tests: return result;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_qtcpsocket - unknown status
| 169 |
| 293 | } | - |
| 294 | | - |
| 295 | | - |
| 296 | | - |
| 297 | | - |
| 298 | | - |
| 299 | | - |
| 300 | | - |
| 301 | QList<QHostAddress> QNetworkInterface::allAddresses() | - |
| 302 | { | - |
| 303 | const QList<QSharedDataPointer<QNetworkInterfacePrivate> > privs = manager()->allInterfaces(); | - |
| 304 | QList<QHostAddress> result; | - |
| 305 | for (const auto &p : privs) { | - |
| 306 | for (const QNetworkAddressEntry &entry : qAsConst(p->addressEntries)) | - |
| 307 | result += entry.ip();executed 24 times by 2 tests: result += entry.ip();Executed by:- tst_QNetworkInterface
- tst_QNetworkProxyFactory
| 24 |
| 308 | }executed 12 times by 2 tests: end of blockExecuted by:- tst_QNetworkInterface
- tst_QNetworkProxyFactory
| 12 |
| 309 | | - |
| 310 | returnexecuted 4 times by 2 tests: return result;Executed by:- tst_QNetworkInterface
- tst_QNetworkProxyFactory
result;executed 4 times by 2 tests: return result;Executed by:- tst_QNetworkInterface
- tst_QNetworkProxyFactory
| 4 |
| 311 | } | - |
| 312 | | - |
| 313 | | - |
| 314 | static inline QDebug flagsDebug(QDebug debug, QNetworkInterface::InterfaceFlags flags) | - |
| 315 | { | - |
| 316 | if (flags & QNetworkInterface::IsUp| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 317 | debug << "IsUp "; never executed: debug << "IsUp "; | 0 |
| 318 | if (flags & QNetworkInterface::IsRunning| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 319 | debug << "IsRunning "; never executed: debug << "IsRunning "; | 0 |
| 320 | if (flags & QNetworkInterface::CanBroadcast| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 321 | debug << "CanBroadcast "; never executed: debug << "CanBroadcast "; | 0 |
| 322 | if (flags & QNetworkInterface::IsLoopBack| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 323 | debug << "IsLoopBack "; never executed: debug << "IsLoopBack "; | 0 |
| 324 | if (flags & QNetworkInterface::IsPointToPoint| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 325 | debug << "IsPointToPoint "; never executed: debug << "IsPointToPoint "; | 0 |
| 326 | if (flags & QNetworkInterface::CanMulticast| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 327 | debug << "CanMulticast "; never executed: debug << "CanMulticast "; | 0 |
| 328 | return never executed: return debug; debug;never executed: return debug; | 0 |
| 329 | } | - |
| 330 | | - |
| 331 | static inline QDebug operator<<(QDebug debug, const QNetworkAddressEntry &entry) | - |
| 332 | { | - |
| 333 | debug << "(address = " << entry.ip(); | - |
| 334 | if (!entry.netmask().isNull()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 335 | debug << ", netmask = " << entry.netmask(); never executed: debug << ", netmask = " << entry.netmask(); | 0 |
| 336 | if (!entry.broadcast().isNull()| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 337 | debug << ", broadcast = " << entry.broadcast(); never executed: debug << ", broadcast = " << entry.broadcast(); | 0 |
| 338 | debug << ')'; | - |
| 339 | return never executed: return debug; debug;never executed: return debug; | 0 |
| 340 | } | - |
| 341 | | - |
| 342 | QDebug operator<<(QDebug debug, const QNetworkInterface &networkInterface) | - |
| 343 | { | - |
| 344 | QDebugStateSaver saver(debug); | - |
| 345 | debug.resetFormat().nospace(); | - |
| 346 | debug << "QNetworkInterface(name = " << networkInterface.name() | - |
| 347 | << ", hardware address = " << networkInterface.hardwareAddress() | - |
| 348 | << ", flags = "; | - |
| 349 | flagsDebug(debug, networkInterface.flags()); | - |
| 350 | debug << ", entries = " << networkInterface.addressEntries() | - |
| 351 | << ")\n"; | - |
| 352 | return never executed: return debug; debug;never executed: return debug; | 0 |
| 353 | } | - |
| 354 | | - |
| 355 | | - |
| 356 | | - |
| | |