| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | QBearerEngine::QBearerEngine(QObject *parent) | - |
| 7 | : QObject(parent), mutex(QMutex::Recursive) | - |
| 8 | { | - |
| 9 | }executed 54 times by 16 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_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
| 54 |
| 10 | | - |
| 11 | QBearerEngine::~QBearerEngine() | - |
| 12 | { | - |
| 13 | QHash<QString, QNetworkConfigurationPrivatePointer>::Iterator it; | - |
| 14 | QHash<QString, QNetworkConfigurationPrivatePointer>::Iterator end; | - |
| 15 | | - |
| 16 | for (it = snapConfigurations.begin(), end = snapConfigurations.end(); it != end| TRUE | never evaluated | | FALSE | evaluated 58 times by 34 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
- 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
- ...
|
; ++it) { | 0-58 |
| 17 | it.value()->isValid = false; | - |
| 18 | it.value()->id.clear(); | - |
| 19 | } never executed: end of block | 0 |
| 20 | snapConfigurations.clear(); | - |
| 21 | | - |
| 22 | for (it = accessPointConfigurations.begin(), end = accessPointConfigurations.end(); | - |
| 23 | it != end| TRUE | evaluated 60 times by 19 testsEvaluated by:- tst_QNetworkConfigurationManager
- 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_qnetworkdiskcache - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworkproxyfactory - unknown status
- tst_qnetworksession - unknown status
- tst_qtcpserver - unknown status
- tst_qudpsocket - unknown status
- tst_qxmlinputsource - unknown status
- tst_qxmlstream - unknown status
- tst_spdy - unknown status
| | FALSE | evaluated 58 times by 34 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
- 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
- ...
|
; ++it) { | 58-60 |
| 24 | it.value()->isValid = false; | - |
| 25 | it.value()->id.clear(); | - |
| 26 | }executed 60 times by 19 tests: end of blockExecuted by:- tst_QNetworkConfigurationManager
- 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_qnetworkdiskcache - unknown status
- tst_qnetworkinterface - unknown status
- tst_qnetworkproxyfactory - unknown status
- tst_qnetworksession - unknown status
- tst_qtcpserver - unknown status
- tst_qudpsocket - unknown status
- tst_qxmlinputsource - unknown status
- tst_qxmlstream - unknown status
- tst_spdy - unknown status
| 60 |
| 27 | accessPointConfigurations.clear(); | - |
| 28 | | - |
| 29 | for (it = userChoiceConfigurations.begin(), end = userChoiceConfigurations.end(); | - |
| 30 | it != end| TRUE | never evaluated | | FALSE | evaluated 58 times by 34 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
- 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
- ...
|
; ++it) { | 0-58 |
| 31 | it.value()->isValid = false; | - |
| 32 | it.value()->id.clear(); | - |
| 33 | } never executed: end of block | 0 |
| 34 | userChoiceConfigurations.clear(); | - |
| 35 | }executed 58 times by 34 tests: end of blockExecuted by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- 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
- ...
| 58 |
| 36 | | - |
| 37 | bool QBearerEngine::requiresPolling() const | - |
| 38 | { | - |
| 39 | returnexecuted 125 times by 18 tests: return false;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qnetworkaccessmanager - unknown status
false;executed 125 times by 18 tests: return false;Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkConfiguration
- tst_QNetworkConfigurationManager
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkSession
- tst_QTcpServer
- tst_QUdpSocket
- tst_QXmlInputSource
- tst_QXmlStream
- tst_qnetworkaccessmanager - unknown status
| 125 |
| 40 | } | - |
| 41 | | - |
| 42 | | - |
| 43 | | - |
| 44 | | - |
| 45 | | - |
| 46 | | - |
| 47 | | - |
| 48 | bool QBearerEngine::configurationsInUse() const | - |
| 49 | { | - |
| 50 | QHash<QString, QNetworkConfigurationPrivatePointer>::ConstIterator it; | - |
| 51 | QHash<QString, QNetworkConfigurationPrivatePointer>::ConstIterator end; | - |
| 52 | | - |
| 53 | QMutexLocker locker(&mutex); | - |
| 54 | | - |
| 55 | for (it = accessPointConfigurations.constBegin(), | - |
| 56 | end = accessPointConfigurations.constEnd(); it != end| TRUE | evaluated 12 times by 4 testsEvaluated by:- tst_QFtp
- tst_QNetworkConfigurationManager
- tst_QTcpServer
- tst_qnetworkaccessmanager - unknown status
| | FALSE | evaluated 6 times by 4 testsEvaluated by:- tst_QFtp
- tst_QNetworkConfigurationManager
- tst_QTcpServer
- tst_qnetworkaccessmanager - unknown status
|
; ++it) { | 6-12 |
| 57 | if (it.value()->ref.load() > 1| TRUE | never evaluated | | FALSE | evaluated 12 times by 4 testsEvaluated by:- tst_QFtp
- tst_QNetworkConfigurationManager
- tst_QTcpServer
- tst_qnetworkaccessmanager - unknown status
|
) | 0-12 |
| 58 | return never executed: return true; true;never executed: return true; | 0 |
| 59 | }executed 12 times by 4 tests: end of blockExecuted by:- tst_QFtp
- tst_QNetworkConfigurationManager
- tst_QTcpServer
- tst_qnetworkaccessmanager - unknown status
| 12 |
| 60 | | - |
| 61 | for (it = snapConfigurations.constBegin(), | - |
| 62 | end = snapConfigurations.constEnd(); it != end| TRUE | never evaluated | | FALSE | evaluated 6 times by 4 testsEvaluated by:- tst_QFtp
- tst_QNetworkConfigurationManager
- tst_QTcpServer
- tst_qnetworkaccessmanager - unknown status
|
; ++it) { | 0-6 |
| 63 | if (it.value()->ref.load() > 1| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 64 | return never executed: return true; true;never executed: return true; | 0 |
| 65 | } never executed: end of block | 0 |
| 66 | | - |
| 67 | for (it = userChoiceConfigurations.constBegin(), | - |
| 68 | end = userChoiceConfigurations.constEnd(); it != end| TRUE | never evaluated | | FALSE | evaluated 6 times by 4 testsEvaluated by:- tst_QFtp
- tst_QNetworkConfigurationManager
- tst_QTcpServer
- tst_qnetworkaccessmanager - unknown status
|
; ++it) { | 0-6 |
| 69 | if (it.value()->ref.load() > 1| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 70 | return never executed: return true; true;never executed: return true; | 0 |
| 71 | } never executed: end of block | 0 |
| 72 | | - |
| 73 | returnexecuted 6 times by 4 tests: return false;Executed by:- tst_QFtp
- tst_QNetworkConfigurationManager
- tst_QTcpServer
- tst_qnetworkaccessmanager - unknown status
false;executed 6 times by 4 tests: return false;Executed by:- tst_QFtp
- tst_QNetworkConfigurationManager
- tst_QTcpServer
- tst_qnetworkaccessmanager - unknown status
| 6 |
| 74 | } | - |
| 75 | | - |
| 76 | | - |
| 77 | | - |
| 78 | | - |
| 79 | | - |
| | |