| Line | Source | Count | 
|---|
| 1 |  | - | 
| 2 |  | - | 
| 3 |  | - | 
| 4 |  | - | 
| 5 |  | - | 
| 6 |  | - | 
| 7 |  | - | 
| 8 |  | - | 
| 9 |  | - | 
| 10 |  | - | 
| 11 |  | - | 
| 12 |  | - | 
| 13 |  | - | 
| 14 |  | - | 
| 15 |  | - | 
| 16 |  | - | 
| 17 |  | - | 
| 18 |  | - | 
| 19 |  | - | 
| 20 |  | - | 
| 21 |  | - | 
| 22 |  | - | 
| 23 |  | - | 
| 24 |  | - | 
| 25 |  | - | 
| 26 |  | - | 
| 27 |  | - | 
| 28 |  | - | 
| 29 |  | - | 
| 30 |  | - | 
| 31 |  | - | 
| 32 |  | - | 
| 33 |  | - | 
| 34 |  | - | 
| 35 |  | - | 
| 36 |  | - | 
| 37 |  | - | 
| 38 |  | - | 
| 39 |  | - | 
| 40 | #include "qqmldebugpluginmanager_p.h" | - | 
| 41 | #include "qqmldebugconnector_p.h" | - | 
| 42 | #include "qqmldebugservicefactory_p.h" | - | 
| 43 | #include <QtCore/QPluginLoader> | - | 
| 44 | #include <QtCore/QCoreApplication> | - | 
| 45 | #include <QtCore/QDir> | - | 
| 46 | #include <QtCore/QDebug> | - | 
| 47 | #include <QtCore/QJsonArray> | - | 
| 48 | #include <QtCore/QDataStream> | - | 
| 49 |  | - | 
| 50 | #include <private/qcoreapplication_p.h> | - | 
| 51 | #include <private/qqmlengine_p.h> | - | 
| 52 |  | - | 
| 53 | QT_BEGIN_NAMESPACE | - | 
| 54 |  | - | 
| 55 |  | - | 
| 56 | Q_QML_DEBUG_PLUGIN_LOADER(QQmlDebugConnector) executed 32 times by 7 tests:  end of blockExecuted by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 executed 32 times by 7 tests:  guard.store(QtGlobalStatic::Destroyed);Executed by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 executed 32 times by 7 tests:  return &holder.value;Executed by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 executed 32 times by 7 tests:  return qLoadPlugin<QQmlDebugConnector, QQmlDebugConnectorFactory>(QQmlDebugConnectorLoader(), key);Executed by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 never executed: return QQmlDebugConnectorLoader()->metaData(); | TRUE | evaluated 32 times by 7 tests Evaluated by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 |  | FALSE | never evaluated | 
 | 0-32 | 
| 57 |  | - | 
| 58 |  | - | 
| 59 | Q_QML_DEBUG_PLUGIN_LOADER(QQmlDebugService) executed 32 times by 7 tests:  end of blockExecuted by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 executed 32 times by 7 tests:  guard.store(QtGlobalStatic::Destroyed);Executed by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 executed 180 times by 7 tests:  return &holder.value;Executed by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 executed 148 times by 5 tests:  return qLoadPlugin<QQmlDebugService, QQmlDebugServiceFactory>(QQmlDebugServiceLoader(), key);Executed by:tst_qqmldebugjstst_qqmldebuglocaltst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 executed 32 times by 7 tests:  return QQmlDebugServiceLoader()->metaData();Executed by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | TRUE | evaluated 32 times by 7 tests Evaluated by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 |  | FALSE | never evaluated | 
 | 0-180 | 
| 60 |  | - | 
| 61 | int QQmlDebugConnector::s_dataStreamVersion = QDataStream::Qt_4_7; | - | 
| 62 |  | - | 
| 63 | struct QQmlDebugConnectorParams { | - | 
| 64 | QString pluginKey; | - | 
| 65 | QStringList services; | - | 
| 66 | QString arguments; | - | 
| 67 | QQmlDebugConnector *instance; | - | 
| 68 |  | - | 
| 69 | QQmlDebugConnectorParams() : instance(nullptr) | - | 
| 70 | { | - | 
| 71 | if (qApp) { | TRUE | evaluated 336 times by 152 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanuptst_qqmlenginedebugservice...
 |  | FALSE | never evaluated | 
 | 0-336 | 
| 72 | QCoreApplicationPrivate *appD = | - | 
| 73 | static_cast<QCoreApplicationPrivate*>(QObjectPrivate::get(qApp)); | - | 
| 74 | if (appD) | TRUE | evaluated 336 times by 152 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanuptst_qqmlenginedebugservice...
 |  | FALSE | never evaluated | 
 | 0-336 | 
| 75 | arguments = appD->qmljsDebugArgumentsString(); executed 336 times by 152 tests:  arguments = appD->qmljsDebugArgumentsString();Executed by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanuptst_qqmlenginedebugservice...
 | 336 | 
| 76 | } executed 336 times by 152 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanuptst_qqmlenginedebugservice...
 | 336 | 
| 77 | } executed 336 times by 152 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanuptst_qqmlenginedebugservice...
 | 336 | 
| 78 | }; | - | 
| 79 |  | - | 
| 80 | Q_GLOBAL_STATIC(QQmlDebugConnectorParams, qmlDebugConnectorParams) executed 336 times by 152 tests:  end of blockExecuted by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanuptst_qqmlenginedebugservice...
 executed 336 times by 152 tests:  guard.store(QtGlobalStatic::Destroyed);Executed by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanuptst_qqmlenginedebugservice...
 executed 440896 times by 152 tests:  return &holder.value;Executed by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanuptst_qqmlenginedebugservice...
 | TRUE | evaluated 336 times by 152 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanuptst_qqmlenginedebugservice...
 |  | FALSE | never evaluated | 
 | 0-440896 | 
| 81 |  | - | 
| 82 | void QQmlDebugConnector::setPluginKey(const QString &key) | - | 
| 83 | { | - | 
| 84 | QQmlDebugConnectorParams *params = qmlDebugConnectorParams(); | - | 
| 85 | if (params && params->pluginKey != key) { | TRUE | evaluated 12 times by 3 tests Evaluated by:tst_qqmldebugclienttst_qqmldebuglocaltst_qqmldebugservice
 |  | FALSE | never evaluated | 
| TRUE | evaluated 6 times by 3 tests Evaluated by:tst_qqmldebugclienttst_qqmldebuglocaltst_qqmldebugservice
 |  | FALSE | evaluated 6 times by 3 tests Evaluated by:tst_qqmldebugclienttst_qqmldebuglocaltst_qqmldebugservice
 | 
 | 0-12 | 
| 86 | if (params->instance) | TRUE | never evaluated |  | FALSE | evaluated 6 times by 3 tests Evaluated by:tst_qqmldebugclienttst_qqmldebuglocaltst_qqmldebugservice
 | 
 | 0-6 | 
| 87 | qWarning() << "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 | 
| 88 | else | - | 
| 89 | params->pluginKey = key; executed 6 times by 3 tests:  params->pluginKey = key;Executed by:tst_qqmldebugclienttst_qqmldebuglocaltst_qqmldebugservice
 | 6 | 
| 90 | } | - | 
| 91 | } executed 12 times by 3 tests:  end of blockExecuted by:tst_qqmldebugclienttst_qqmldebuglocaltst_qqmldebugservice
 | 12 | 
| 92 |  | - | 
| 93 | void QQmlDebugConnector::setServices(const QStringList &services) | - | 
| 94 | { | - | 
| 95 | QQmlDebugConnectorParams *params = qmlDebugConnectorParams(); | - | 
| 96 | if (params) | TRUE | evaluated 30 times by 6 tests Evaluated by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 |  | FALSE | never evaluated | 
 | 0-30 | 
| 97 | params->services = services; executed 30 times by 6 tests:  params->services = services;Executed by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 30 | 
| 98 | } executed 30 times by 6 tests:  end of blockExecuted by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 30 | 
| 99 |  | - | 
| 100 | QString QQmlDebugConnector::commandLineArguments() | - | 
| 101 | { | - | 
| 102 | QQmlDebugConnectorParams *params = qmlDebugConnectorParams(); | - | 
| 103 | if (!params) | TRUE | never evaluated |  | FALSE | evaluated 32 times by 7 tests Evaluated by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 
 | 0-32 | 
| 104 | return QString(); never executed: return QString(); | 0 | 
| 105 | return params->arguments; executed 32 times by 7 tests:  return params->arguments;Executed by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 32 | 
| 106 | } | - | 
| 107 |  | - | 
| 108 | QQmlDebugConnector *QQmlDebugConnector::instance() | - | 
| 109 | { | - | 
| 110 | QQmlDebugConnectorParams *params = qmlDebugConnectorParams(); | - | 
| 111 | if (!params) | TRUE | never evaluated |  | FALSE | evaluated 440790 times by 152 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlecmascripttst_qqmlenginecleanuptst_qqmlenginedebugservice...
 | 
 | 0-440790 | 
| 112 | return nullptr; never executed: return nullptr; | 0 | 
| 113 |  | - | 
| 114 | if (!QQmlEnginePrivate::qml_debugging_enabled) { | TRUE | evaluated 430777 times by 142 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugjstst_qqmlecmascripttst_qqmlenginecleanuptst_qqmlexpressiontst_qqmlfileselectortst_qqmlimporttst_qqmlincubator...
 |  | FALSE | evaluated 10013 times by 14 tests Evaluated by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmllistmodeltst_qqmlnativeconnectortst_qqmlprofilerservicetst_qquickanimationcontrollertst_qquicklayoutstst_qquicklistviewtst_quicktestmainwithsetuptst_signalspytst_testfiltering
 | 
 | 10013-430777 | 
| 115 | if (!params->arguments.isEmpty()) { | TRUE | never evaluated |  | FALSE | evaluated 430777 times by 142 tests Evaluated by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugjstst_qqmlecmascripttst_qqmlenginecleanuptst_qqmlexpressiontst_qqmlfileselectortst_qqmlimporttst_qqmlincubator...
 | 
 | 0-430777 | 
| 116 | qWarning().noquote() << QString::fromLatin1( | - | 
| 117 | "QML Debugger: Ignoring \"-qmljsdebugger=%1\". Debugging " | - | 
| 118 | "has not been enabled.").arg(params->arguments); | - | 
| 119 | params->arguments.clear(); | - | 
| 120 | } never executed: end of block | 0 | 
| 121 | return nullptr; executed 430777 times by 142 tests:  return nullptr;Executed by:tst_bindingdependencyapitst_drawingmodestst_examplestst_flickableinteroptst_multipointtoucharea_interoptst_parserstresstst_qjsenginetst_qjsonbindingtst_qjsvaluetst_qjsvalueiteratortst_qmlcachegentst_qmldiskcachetst_qqmlapplicationenginetst_qqmlbindingtst_qqmlcomponenttst_qqmlconnectionstst_qqmlconsoletst_qqmlcontexttst_qqmldebugjstst_qqmlecmascripttst_qqmlenginecleanuptst_qqmlexpressiontst_qqmlfileselectortst_qqmlimporttst_qqmlincubator...
 | 430777 | 
| 122 | } | - | 
| 123 |  | - | 
| 124 | if (!params->instance) { | TRUE | evaluated 9283 times by 14 tests Evaluated by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmllistmodeltst_qqmlnativeconnectortst_qqmlprofilerservicetst_qquickanimationcontrollertst_qquicklayoutstst_qquicklistviewtst_quicktestmainwithsetuptst_signalspytst_testfiltering
 |  | FALSE | evaluated 730 times by 7 tests Evaluated by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 
 | 730-9283 | 
| 125 | if (!params->pluginKey.isEmpty()) { | TRUE | evaluated 6 times by 3 tests Evaluated by:tst_qqmldebugclienttst_qqmldebuglocaltst_qqmldebugservice
 |  | FALSE | evaluated 9277 times by 11 tests Evaluated by:tst_qqmldebugjstst_qqmlenginedebugservicetst_qqmllistmodeltst_qqmlnativeconnectortst_qqmlprofilerservicetst_qquickanimationcontrollertst_qquicklayoutstst_qquicklistviewtst_quicktestmainwithsetuptst_signalspytst_testfiltering
 | 
 | 6-9277 | 
| 126 | params->instance = loadQQmlDebugConnector(params->pluginKey); | - | 
| 127 | } else if (params->arguments.isEmpty()) { executed 6 times by 3 tests:  end of blockExecuted by:tst_qqmldebugclienttst_qqmldebuglocaltst_qqmldebugservice
 | TRUE | evaluated 9251 times by 7 tests Evaluated by:tst_qqmllistmodeltst_qquickanimationcontrollertst_qquicklayoutstst_qquicklistviewtst_quicktestmainwithsetuptst_signalspytst_testfiltering
 |  | FALSE | evaluated 26 times by 4 tests Evaluated by:tst_qqmldebugjstst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 
 | 6-9251 | 
| 128 | return nullptr; executed 9251 times by 7 tests:  return nullptr;Executed by:tst_qqmllistmodeltst_qquickanimationcontrollertst_qquicklayoutstst_qquicklistviewtst_quicktestmainwithsetuptst_signalspytst_testfiltering
 | 9251 | 
| 129 | } else if (params->arguments.startsWith(QLatin1String("connector:"))) { | TRUE | never evaluated |  | FALSE | evaluated 26 times by 4 tests Evaluated by:tst_qqmldebugjstst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 
 | 0-26 | 
| 130 | static const int connectorBegin = int(strlen("connector:")); | - | 
| 131 |  | - | 
| 132 | int connectorEnd = params->arguments.indexOf(QLatin1Char(','), connectorBegin); | - | 
| 133 | if (connectorEnd == -1) | TRUE | never evaluated |  | FALSE | never evaluated | 
 | 0 | 
| 134 | connectorEnd = params->arguments.length(); never executed: connectorEnd = params->arguments.length(); | 0 | 
| 135 |  | - | 
| 136 | params->instance = loadQQmlDebugConnector(params->arguments.mid( | - | 
| 137 | connectorBegin, | - | 
| 138 | connectorEnd - connectorBegin)); | - | 
| 139 | } else { never executed: end of block | 0 | 
| 140 | params->instance = loadQQmlDebugConnector( | - | 
| 141 | params->arguments.startsWith(QLatin1String("native")) ? | - | 
| 142 | QStringLiteral("QQmlNativeDebugConnector") : executed 2 times by 1 test:  return qstring_literal_temp; | 2 | 
| 143 | QStringLiteral("QQmlDebugServer")); executed 24 times by 3 tests:  return qstring_literal_temp;Executed by:tst_qqmldebugjstst_qqmlenginedebugservicetst_qqmlprofilerservice
 | 24 | 
| 144 | } executed 26 times by 4 tests:  end of blockExecuted by:tst_qqmldebugjstst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 26 | 
| 145 |  | - | 
| 146 | if (params->instance) { | TRUE | evaluated 32 times by 7 tests Evaluated by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 |  | FALSE | never evaluated | 
 | 0-32 | 
| 147 | const auto metaData = metaDataForQQmlDebugService(); | - | 
| 148 | for (const QJsonObject &object : metaData) { | - | 
| 149 | const auto keys = object.value(QLatin1String("MetaData")).toObject() | - | 
| 150 | .value(QLatin1String("Keys")).toArray(); | - | 
| 151 | for (const QJsonValue &key : keys) { | - | 
| 152 | QString keyString = key.toString(); | - | 
| 153 | if (params->services.isEmpty() || params->services.contains(keyString)) | TRUE | evaluated 126 times by 2 tests Evaluated by:tst_qqmldebugjstst_qqmldebuglocal
 |  | FALSE | evaluated 98 times by 5 tests Evaluated by:tst_qqmldebugclienttst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 
| TRUE | evaluated 22 times by 3 tests Evaluated by:tst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 |  | FALSE | evaluated 76 times by 5 tests Evaluated by:tst_qqmldebugclienttst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 
 | 22-126 | 
| 154 | loadQQmlDebugService(keyString); executed 148 times by 5 tests:  loadQQmlDebugService(keyString);Executed by:tst_qqmldebugjstst_qqmldebuglocaltst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 148 | 
| 155 | } executed 224 times by 7 tests:  end of blockExecuted by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 224 | 
| 156 | } executed 160 times by 7 tests:  end of blockExecuted by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 160 | 
| 157 | } executed 32 times by 7 tests:  end of blockExecuted by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 32 | 
| 158 | } executed 32 times by 7 tests:  end of blockExecuted by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 32 | 
| 159 |  | - | 
| 160 | return params->instance; executed 762 times by 7 tests:  return params->instance;Executed by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 762 | 
| 161 | } | - | 
| 162 |  | - | 
| 163 | QQmlDebugConnectorFactory::~QQmlDebugConnectorFactory() | - | 
| 164 | { | - | 
| 165 |  | - | 
| 166 | QQmlDebugConnectorParams *params = qmlDebugConnectorParams(); | - | 
| 167 | if (params) { | TRUE | evaluated 32 times by 7 tests Evaluated by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 |  | FALSE | never evaluated | 
 | 0-32 | 
| 168 | params->pluginKey.clear(); | - | 
| 169 | params->arguments.clear(); | - | 
| 170 | params->services.clear(); | - | 
| 171 | delete params->instance; | - | 
| 172 | params->instance = nullptr; | - | 
| 173 | } executed 32 times by 7 tests:  end of blockExecuted by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 32 | 
| 174 | } executed 32 times by 7 tests:  end of blockExecuted by:tst_qqmldebugclienttst_qqmldebugjstst_qqmldebuglocaltst_qqmldebugservicetst_qqmlenginedebugservicetst_qqmlnativeconnectortst_qqmlprofilerservice
 | 32 | 
| 175 |  | - | 
| 176 | QT_END_NAMESPACE | - | 
| 177 |  | - | 
| 178 | #include "moc_qqmldebugconnector_p.cpp" | - | 
|  |  |  |