| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | QQmlDebugClient::QQmlDebugClient(const QString &name, QQmlDebugConnection *parent) : | - |
| 6 | QObject(*(new QQmlDebugClientPrivate(name, parent)), parent) | - |
| 7 | { | - |
| 8 | QQmlDebugClientPrivate * const d = d_func(); | - |
| 9 | d->addToConnection(); | - |
| 10 | }executed 3180 times by 11 tests: end of blockExecuted by:- tst_qdebugmessageservice
- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginecontrol
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
| 3180 |
| 11 | | - |
| 12 | QQmlDebugClient::QQmlDebugClient(QQmlDebugClientPrivate &dd) : | - |
| 13 | QObject(dd, dd.connection.data()) | - |
| 14 | { | - |
| 15 | QQmlDebugClientPrivate * const d = d_func(); | - |
| 16 | d->addToConnection(); | - |
| 17 | }executed 80 times by 2 tests: end of blockExecuted by:- tst_qqmlenginecontrol
- tst_qqmlprofilerservice
| 80 |
| 18 | | - |
| 19 | QQmlDebugClient::~QQmlDebugClient() | - |
| 20 | { | - |
| 21 | QQmlDebugClientPrivate * const d = d_func(); | - |
| 22 | if (d->connection && !d->connection->removeClient(d->name)| TRUE | never evaluated | | FALSE | evaluated 3198 times by 11 testsEvaluated by:- tst_qdebugmessageservice
- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginecontrol
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
|
) | 0-3198 |
| 23 | QMessageLogger(__FILE__, 66, __PRETTY_FUNCTION__).warning() << "QQmlDebugClient: Plugin not registered" << d->name; never executed: QMessageLogger(__FILE__, 66, __PRETTY_FUNCTION__).warning() << "QQmlDebugClient: Plugin not registered" << d->name; | 0 |
| 24 | }executed 3260 times by 11 tests: end of blockExecuted by:- tst_qdebugmessageservice
- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginecontrol
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
| 3260 |
| 25 | | - |
| 26 | QQmlDebugClientPrivate::QQmlDebugClientPrivate(const QString &name, | - |
| 27 | QQmlDebugConnection *connection) : | - |
| 28 | name(name), connection(connection) | - |
| 29 | { | - |
| 30 | }executed 3260 times by 11 tests: end of blockExecuted by:- tst_qdebugmessageservice
- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginecontrol
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
| 3260 |
| 31 | | - |
| 32 | void QQmlDebugClientPrivate::addToConnection() | - |
| 33 | { | - |
| 34 | QQmlDebugClient * const q = q_func(); | - |
| 35 | if (connection && !connection->addClient(name, q)| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebuglocal
| | FALSE | evaluated 3202 times by 11 testsEvaluated by:- tst_qdebugmessageservice
- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginecontrol
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
|
) { | 4-3202 |
| 36 | QMessageLogger(__FILE__, 79, __PRETTY_FUNCTION__).warning() << "QQmlDebugClient: Conflicting plugin name" << name; | - |
| 37 | connection = nullptr; | - |
| 38 | }executed 4 times by 2 tests: end of blockExecuted by:- tst_qqmldebugclient
- tst_qqmldebuglocal
| 4 |
| 39 | }executed 3260 times by 11 tests: end of blockExecuted by:- tst_qdebugmessageservice
- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginecontrol
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
| 3260 |
| 40 | | - |
| 41 | QString QQmlDebugClient::name() const | - |
| 42 | { | - |
| 43 | const QQmlDebugClientPrivate * const d = d_func(); | - |
| 44 | returnexecuted 246 times by 4 tests: return d->name;Executed by:- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebuglocal
- tst_qqmlprofilerservice
d->name;executed 246 times by 4 tests: return d->name;Executed by:- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebuglocal
- tst_qqmlprofilerservice
| 246 |
| 45 | } | - |
| 46 | | - |
| 47 | float QQmlDebugClient::serviceVersion() const | - |
| 48 | { | - |
| 49 | const QQmlDebugClientPrivate * const d = d_func(); | - |
| 50 | returnexecuted 4 times by 2 tests: return d->connection->serviceVersion(d->name);Executed by:- tst_qqmldebugclient
- tst_qqmldebuglocal
d->connection->serviceVersion(d->name);executed 4 times by 2 tests: return d->connection->serviceVersion(d->name);Executed by:- tst_qqmldebugclient
- tst_qqmldebuglocal
| 4 |
| 51 | } | - |
| 52 | | - |
| 53 | QQmlDebugClient::State QQmlDebugClient::state() const | - |
| 54 | { | - |
| 55 | const QQmlDebugClientPrivate * const d = d_func(); | - |
| 56 | if (!d->connection| TRUE | evaluated 58 times by 3 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebuglocal
- tst_qqmlenginedebugservice
| | FALSE | evaluated 18653 times by 11 testsEvaluated by:- tst_qdebugmessageservice
- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginecontrol
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
|
|| !d->connection->isConnected()| TRUE | evaluated 54 times by 3 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebuglocal
- tst_qqmlprofilerservice
| | FALSE | evaluated 18599 times by 11 testsEvaluated by:- tst_qdebugmessageservice
- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginecontrol
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
|
) | 54-18653 |
| 57 | returnexecuted 112 times by 4 tests: return NotConnected;Executed by:- tst_qqmldebugclient
- tst_qqmldebuglocal
- tst_qqmlenginedebugservice
- tst_qqmlprofilerservice
NotConnected;executed 112 times by 4 tests: return NotConnected;Executed by:- tst_qqmldebugclient
- tst_qqmldebuglocal
- tst_qqmlenginedebugservice
- tst_qqmlprofilerservice
| 112 |
| 58 | | - |
| 59 | if (d->connection->serviceVersion(d->name) != -1| TRUE | evaluated 17209 times by 11 testsEvaluated by:- tst_qdebugmessageservice
- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginecontrol
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
| | FALSE | evaluated 1390 times by 9 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlenginecontrol
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
|
) | 1390-17209 |
| 60 | returnexecuted 17209 times by 11 tests: return Enabled;Executed by:- tst_qdebugmessageservice
- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginecontrol
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
Enabled;executed 17209 times by 11 tests: return Enabled;Executed by:- tst_qdebugmessageservice
- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginecontrol
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
| 17209 |
| 61 | | - |
| 62 | returnexecuted 1390 times by 9 tests: return Unavailable;Executed by:- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlenginecontrol
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
Unavailable;executed 1390 times by 9 tests: return Unavailable;Executed by:- tst_qqmldebugclient
- tst_qqmldebuggingenabler
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlenginecontrol
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
| 1390 |
| 63 | } | - |
| 64 | | - |
| 65 | void QQmlDebugClient::sendMessage(const QByteArray &message) | - |
| 66 | { | - |
| 67 | QQmlDebugClientPrivate * const d = d_func(); | - |
| 68 | d->connection->sendMessage(d->name, message); | - |
| 69 | }executed 1782 times by 9 tests: end of blockExecuted by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginecontrol
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
| 1782 |
| 70 | | - |
| 71 | QQmlDebugConnection *QQmlDebugClient::connection() const | - |
| 72 | { | - |
| 73 | const QQmlDebugClientPrivate * const d = d_func(); | - |
| 74 | returnexecuted 3787 times by 6 tests: return d->connection;Executed by:- tst_qdebugmessageservice
- tst_qqmldebugjs
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
d->connection;executed 3787 times by 6 tests: return d->connection;Executed by:- tst_qdebugmessageservice
- tst_qqmldebugjs
- tst_qqmlenginedebuginspectorintegration
- tst_qqmlenginedebugservice
- tst_qqmlinspector
- tst_qqmlprofilerservice
| 3787 |
| 75 | } | - |
| 76 | | - |
| 77 | void QQmlDebugClient::messageReceived(const QByteArray &message) | - |
| 78 | { | - |
| 79 | (void)message;; | - |
| 80 | }executed 30 times by 2 tests: end of blockExecuted by:- tst_qqmldebuggingenabler
- tst_qqmldebugjs
| 30 |
| 81 | | - |
| 82 | | - |
| | |