Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | namespace { namespace Q_QGS_QQmlDebugConnectorLoader { typedef QFactoryLoader Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::InitializedTRUE | evaluated 32 times by 7 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 32 times by 7 tests: guard.store(QtGlobalStatic::Destroyed); Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
}executed 32 times by 7 tests: end of block Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ("org.qt-project.Qt.QQmlDebugConnectorFactory", QLatin1String("/qmltooling")))) : value ("org.qt-project.Qt.QQmlDebugConnectorFactory", QLatin1String("/qmltooling")) { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 32 times by 7 tests: return &holder.value; Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
&holder.value;executed 32 times by 7 tests: return &holder.value; Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
} } } static QGlobalStatic<QFactoryLoader, Q_QGS_QQmlDebugConnectorLoader::innerFunction, Q_QGS_QQmlDebugConnectorLoader::guard> QQmlDebugConnectorLoader; QQmlDebugConnector *loadQQmlDebugConnector(const QString &key) { returnexecuted 32 times by 7 tests: return qLoadPlugin<QQmlDebugConnector, QQmlDebugConnectorFactory>(QQmlDebugConnectorLoader(), key); Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
qLoadPlugin<QQmlDebugConnector, QQmlDebugConnectorFactory>(QQmlDebugConnectorLoader(), key);executed 32 times by 7 tests: return qLoadPlugin<QQmlDebugConnector, QQmlDebugConnectorFactory>(QQmlDebugConnectorLoader(), key); Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
} QList<QJsonObject> metaDataForQQmlDebugConnector() { returnnever executed: return QQmlDebugConnectorLoader()->metaData(); QQmlDebugConnectorLoader()->metaData();never executed: return QQmlDebugConnectorLoader()->metaData(); } | 0-32 |
7 | | - |
8 | | - |
9 | namespace { namespace Q_QGS_QQmlDebugServiceLoader { typedef QFactoryLoader Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::InitializedTRUE | evaluated 32 times by 7 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 32 times by 7 tests: guard.store(QtGlobalStatic::Destroyed); Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
}executed 32 times by 7 tests: end of block Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ("org.qt-project.Qt.QQmlDebugServiceFactory", QLatin1String("/qmltooling")))) : value ("org.qt-project.Qt.QQmlDebugServiceFactory", QLatin1String("/qmltooling")) { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 180 times by 7 tests: return &holder.value; Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
&holder.value;executed 180 times by 7 tests: return &holder.value; Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
} } } static QGlobalStatic<QFactoryLoader, Q_QGS_QQmlDebugServiceLoader::innerFunction, Q_QGS_QQmlDebugServiceLoader::guard> QQmlDebugServiceLoader; QQmlDebugService *loadQQmlDebugService(const QString &key) { returnexecuted 148 times by 5 tests: return qLoadPlugin<QQmlDebugService, QQmlDebugServiceFactory>(QQmlDebugServiceLoader(), key); Executed by:- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
qLoadPlugin<QQmlDebugService, QQmlDebugServiceFactory>(QQmlDebugServiceLoader(), key);executed 148 times by 5 tests: return qLoadPlugin<QQmlDebugService, QQmlDebugServiceFactory>(QQmlDebugServiceLoader(), key); Executed by:- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
} QList<QJsonObject> metaDataForQQmlDebugService() { returnexecuted 32 times by 7 tests: return QQmlDebugServiceLoader()->metaData(); Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
QQmlDebugServiceLoader()->metaData();executed 32 times by 7 tests: return QQmlDebugServiceLoader()->metaData(); Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
} | 0-180 |
10 | | - |
11 | int QQmlDebugConnector::s_dataStreamVersion = QDataStream::Qt_4_7; | - |
12 | | - |
13 | struct QQmlDebugConnectorParams { | - |
14 | QString pluginKey; | - |
15 | QStringList services; | - |
16 | QString arguments; | - |
17 | QQmlDebugConnector *instance; | - |
18 | | - |
19 | QQmlDebugConnectorParams() : instance(nullptr) | - |
20 | { | - |
21 | if (QCoreApplication::instance()TRUE | evaluated 336 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
| FALSE | never evaluated |
) { | 0-336 |
22 | QCoreApplicationPrivate *appD = | - |
23 | static_cast<QCoreApplicationPrivate*>(QObjectPrivate::get(QCoreApplication::instance())); | - |
24 | if (appDTRUE | evaluated 336 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
| FALSE | never evaluated |
) | 0-336 |
25 | arguments = appD->qmljsDebugArgumentsString();executed 336 times by 152 tests: arguments = appD->qmljsDebugArgumentsString(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
| 336 |
26 | }executed 336 times by 152 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
| 336 |
27 | }executed 336 times by 152 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
| 336 |
28 | }; | - |
29 | | - |
30 | namespace { namespace Q_QGS_qmlDebugConnectorParams { typedef QQmlDebugConnectorParams Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::InitializedTRUE | evaluated 336 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
| FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 336 times by 152 tests: guard.store(QtGlobalStatic::Destroyed); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
}executed 336 times by 152 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 440896 times by 152 tests: return &holder.value; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
&holder.value;executed 440896 times by 152 tests: return &holder.value; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
} } } static QGlobalStatic<QQmlDebugConnectorParams, Q_QGS_qmlDebugConnectorParams::innerFunction, Q_QGS_qmlDebugConnectorParams::guard> qmlDebugConnectorParams; | 0-440896 |
31 | | - |
32 | void QQmlDebugConnector::setPluginKey(const QString &key) | - |
33 | { | - |
34 | QQmlDebugConnectorParams *params = qmlDebugConnectorParams(); | - |
35 | if (paramsTRUE | evaluated 12 times by 3 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebuglocal
- tst_qqmldebugservice
| FALSE | never evaluated |
&& params->pluginKey != keyTRUE | evaluated 6 times by 3 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebuglocal
- tst_qqmldebugservice
| FALSE | evaluated 6 times by 3 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebuglocal
- tst_qqmldebugservice
|
) { | 0-12 |
36 | if (params->instanceTRUE | never evaluated | FALSE | evaluated 6 times by 3 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebuglocal
- tst_qqmldebugservice
|
) | 0-6 |
37 | QMessageLogger(__FILE__, 87, __PRETTY_FUNCTION__).warning() << "QML debugger: Cannot set plugin key after loading the plugin."; never executed: QMessageLogger(__FILE__, 87, __PRETTY_FUNCTION__).warning() << "QML debugger: Cannot set plugin key after loading the plugin."; | 0 |
38 | else | - |
39 | params->pluginKey = key;executed 6 times by 3 tests: params->pluginKey = key; Executed by:- tst_qqmldebugclient
- tst_qqmldebuglocal
- tst_qqmldebugservice
| 6 |
40 | } | - |
41 | }executed 12 times by 3 tests: end of block Executed by:- tst_qqmldebugclient
- tst_qqmldebuglocal
- tst_qqmldebugservice
| 12 |
42 | | - |
43 | void QQmlDebugConnector::setServices(const QStringList &services) | - |
44 | { | - |
45 | QQmlDebugConnectorParams *params = qmlDebugConnectorParams(); | - |
46 | if (paramsTRUE | evaluated 30 times by 6 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| FALSE | never evaluated |
) | 0-30 |
47 | params->services = services;executed 30 times by 6 tests: params->services = services; Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| 30 |
48 | }executed 30 times by 6 tests: end of block Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| 30 |
49 | | - |
50 | QString QQmlDebugConnector::commandLineArguments() | - |
51 | { | - |
52 | QQmlDebugConnectorParams *params = qmlDebugConnectorParams(); | - |
53 | if (!paramsTRUE | never evaluated | FALSE | evaluated 32 times by 7 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
|
) | 0-32 |
54 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
55 | returnexecuted 32 times by 7 tests: return params->arguments; Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
params->arguments;executed 32 times by 7 tests: return params->arguments; Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| 32 |
56 | } | - |
57 | | - |
58 | QQmlDebugConnector *QQmlDebugConnector::instance() | - |
59 | { | - |
60 | QQmlDebugConnectorParams *params = qmlDebugConnectorParams(); | - |
61 | if (!paramsTRUE | never evaluated | FALSE | evaluated 440790 times by 152 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- ...
|
) | 0-440790 |
62 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
63 | | - |
64 | if (!QQmlEnginePrivate::qml_debugging_enabledTRUE | evaluated 430777 times by 142 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
| FALSE | evaluated 10013 times by 14 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
) { | 10013-430777 |
65 | if (!params->arguments.isEmpty()TRUE | never evaluated | FALSE | evaluated 430777 times by 142 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
|
) { | 0-430777 |
66 | QMessageLogger(__FILE__, 116, __PRETTY_FUNCTION__).warning().noquote() << QString::fromLatin1( | - |
67 | "QML Debugger: Ignoring \"-qmljsdebugger=%1\". Debugging " | - |
68 | "has not been enabled.").arg(params->arguments); | - |
69 | params->arguments.clear(); | - |
70 | } never executed: end of block | 0 |
71 | returnexecuted 430777 times by 142 tests: return nullptr; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
nullptr;executed 430777 times by 142 tests: return nullptr; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
| 430777 |
72 | } | - |
73 | | - |
74 | if (!params->instanceTRUE | evaluated 9283 times by 14 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 730 times by 7 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
|
) { | 730-9283 |
75 | if (!params->pluginKey.isEmpty()TRUE | evaluated 6 times by 3 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebuglocal
- tst_qqmldebugservice
| FALSE | evaluated 9277 times by 11 testsEvaluated by:- tst_qqmldebugjs
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
) { | 6-9277 |
76 | params->instance = loadQQmlDebugConnector(params->pluginKey); | - |
77 | }executed 6 times by 3 tests: end of block Executed by:- tst_qqmldebugclient
- tst_qqmldebuglocal
- tst_qqmldebugservice
else if (params->arguments.isEmpty()TRUE | evaluated 9251 times by 7 testsEvaluated by:- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 26 times by 4 testsEvaluated by:- tst_qqmldebugjs
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
|
) { | 6-9251 |
78 | returnexecuted 9251 times by 7 tests: return nullptr; Executed by:- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
nullptr;executed 9251 times by 7 tests: return nullptr; Executed by:- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 9251 |
79 | } else if (params->arguments.startsWith(QLatin1String("connector:"))TRUE | never evaluated | FALSE | evaluated 26 times by 4 testsEvaluated by:- tst_qqmldebugjs
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
|
) { | 0-26 |
80 | static const int connectorBegin = int(strlen("connector:")); | - |
81 | | - |
82 | int connectorEnd = params->arguments.indexOf(QLatin1Char(','), connectorBegin); | - |
83 | if (connectorEnd == -1TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
84 | connectorEnd = params->arguments.length(); never executed: connectorEnd = params->arguments.length(); | 0 |
85 | | - |
86 | params->instance = loadQQmlDebugConnector(params->arguments.mid( | - |
87 | connectorBegin, | - |
88 | connectorEnd - connectorBegin)); | - |
89 | } never executed: end of block else { | 0 |
90 | params->instance = loadQQmlDebugConnector( | - |
91 | params->arguments.startsWith(QLatin1String("native")) ? | - |
92 | ([]() noexcept -> QString { enum { Size = sizeof(u"" "QQmlNativeDebugConnector")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "QQmlNativeDebugConnector" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 2 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 2 times by 1 test: return qstring_literal_temp; }()) : | 2 |
93 | ([]() noexcept -> QString { enum { Size = sizeof(u"" "QQmlDebugServer")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "QQmlDebugServer" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 24 times by 3 tests: return qstring_literal_temp; Executed by:- tst_qqmldebugjs
- tst_qqmlenginedebugservice
- tst_qqmlprofilerservice
qstring_literal_temp;executed 24 times by 3 tests: return qstring_literal_temp; Executed by:- tst_qqmldebugjs
- tst_qqmlenginedebugservice
- tst_qqmlprofilerservice
}())); | 24 |
94 | }executed 26 times by 4 tests: end of block Executed by:- tst_qqmldebugjs
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| 26 |
95 | | - |
96 | if (params->instanceTRUE | evaluated 32 times by 7 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| FALSE | never evaluated |
) { | 0-32 |
97 | const auto metaData = metaDataForQQmlDebugService(); | - |
98 | for (const QJsonObject &object : metaData) { | - |
99 | const auto keys = object.value(QLatin1String("MetaData")).toObject() | - |
100 | .value(QLatin1String("Keys")).toArray(); | - |
101 | for (const QJsonValue &key : keys) { | - |
102 | QString keyString = key.toString(); | - |
103 | if (params->services.isEmpty()TRUE | evaluated 126 times by 2 testsEvaluated by:- tst_qqmldebugjs
- tst_qqmldebuglocal
| FALSE | evaluated 98 times by 5 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
|
|| params->services.contains(keyString)TRUE | evaluated 22 times by 3 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| FALSE | evaluated 76 times by 5 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
|
) | 22-126 |
104 | loadQQmlDebugService(keyString);executed 148 times by 5 tests: loadQQmlDebugService(keyString); Executed by:- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| 148 |
105 | }executed 224 times by 7 tests: end of block Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| 224 |
106 | }executed 160 times by 7 tests: end of block Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| 160 |
107 | }executed 32 times by 7 tests: end of block Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| 32 |
108 | }executed 32 times by 7 tests: end of block Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| 32 |
109 | | - |
110 | returnexecuted 762 times by 7 tests: return params->instance; Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
params->instance;executed 762 times by 7 tests: return params->instance; Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| 762 |
111 | } | - |
112 | | - |
113 | QQmlDebugConnectorFactory::~QQmlDebugConnectorFactory() | - |
114 | { | - |
115 | | - |
116 | QQmlDebugConnectorParams *params = qmlDebugConnectorParams(); | - |
117 | if (paramsTRUE | evaluated 32 times by 7 testsEvaluated by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| FALSE | never evaluated |
) { | 0-32 |
118 | params->pluginKey.clear(); | - |
119 | params->arguments.clear(); | - |
120 | params->services.clear(); | - |
121 | delete params->instance; | - |
122 | params->instance = nullptr; | - |
123 | }executed 32 times by 7 tests: end of block Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| 32 |
124 | }executed 32 times by 7 tests: end of block Executed by:- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlenginedebugservice
- tst_qqmlnativeconnector
- tst_qqmlprofilerservice
| 32 |
125 | | - |
126 | | - |
127 | | - |
| | |