| 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 "qv8engine_p.h" | - |
| 41 | | - |
| 42 | #if QT_CONFIG(qml_sequence_object) | - |
| 43 | #include "qv4sequenceobject_p.h" | - |
| 44 | #endif | - |
| 45 | | - |
| 46 | #include "private/qjsengine_p.h" | - |
| 47 | | - |
| 48 | #include <private/qqmlbuiltinfunctions_p.h> | - |
| 49 | #include <private/qqmllist_p.h> | - |
| 50 | #include <private/qqmlengine_p.h> | - |
| 51 | #if QT_CONFIG(qml_xml_http_request) | - |
| 52 | #include <private/qqmlxmlhttprequest_p.h> | - |
| 53 | #endif | - |
| 54 | #if QT_CONFIG(qml_locale) | - |
| 55 | #include <private/qqmllocale_p.h> | - |
| 56 | #endif | - |
| 57 | #include <private/qqmlglobal_p.h> | - |
| 58 | #include <private/qqmlmemoryprofiler_p.h> | - |
| 59 | #include <private/qqmlplatform_p.h> | - |
| 60 | #include <private/qjsvalue_p.h> | - |
| 61 | #include <private/qqmltypewrapper_p.h> | - |
| 62 | #include <private/qqmlvaluetypewrapper_p.h> | - |
| 63 | #include <private/qqmllistwrapper_p.h> | - |
| 64 | #include <private/qv4scopedvalue_p.h> | - |
| 65 | | - |
| 66 | #include "qv4domerrors_p.h" | - |
| 67 | #include "qv4sqlerrors_p.h" | - |
| 68 | | - |
| 69 | #include <QtCore/qjsonarray.h> | - |
| 70 | #include <QtCore/qjsonobject.h> | - |
| 71 | #include <QtCore/qjsonvalue.h> | - |
| 72 | #include <QtCore/qdatetime.h> | - |
| 73 | #include <QtCore/qdatastream.h> | - |
| 74 | #include <private/qsimd_p.h> | - |
| 75 | | - |
| 76 | #include <private/qv4value_p.h> | - |
| 77 | #include <private/qv4dateobject_p.h> | - |
| 78 | #include <private/qv4objectiterator_p.h> | - |
| 79 | #include <private/qv4qobjectwrapper_p.h> | - |
| 80 | #include <private/qv4mm_p.h> | - |
| 81 | #include <private/qv4objectproto_p.h> | - |
| 82 | #include <private/qv4globalobject_p.h> | - |
| 83 | #include <private/qv4regexpobject_p.h> | - |
| 84 | #include <private/qv4variantobject_p.h> | - |
| 85 | #include <private/qv4script_p.h> | - |
| 86 | #include <private/qv4include_p.h> | - |
| 87 | #include <private/qv4jsonobject_p.h> | - |
| 88 | #include <private/qv4identifiertable_p.h> | - |
| 89 | | - |
| 90 | Q_DECLARE_METATYPE(QList<int>) | - |
| 91 | | - |
| 92 | | - |
| 93 | | - |
| 94 | | - |
| 95 | QT_BEGIN_NAMESPACE | - |
| 96 | | - |
| 97 | template <typename ReturnType> | - |
| 98 | ReturnType convertJSValueToVariantType(const QJSValue &value) | - |
| 99 | { | - |
| 100 | return value.toVariant().value<ReturnType>();executed 3176 times by 16 tests: return value.toVariant().value<ReturnType>();Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickparticlegroup
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickworkerscript
| 3176 |
| 101 | } | - |
| 102 | | - |
| 103 | static void saveJSValue(QDataStream &stream, const void *data) | - |
| 104 | { | - |
| 105 | const QJSValue *jsv = reinterpret_cast<const QJSValue *>(data); | - |
| 106 | quint32 isNullOrUndefined = 0; | - |
| 107 | if (jsv->isNull())| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 18 times by 1 test |
| 2-18 |
| 108 | isNullOrUndefined |= 0x1;executed 2 times by 1 test: isNullOrUndefined |= 0x1; | 2 |
| 109 | if (jsv->isUndefined())| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 18 times by 1 test |
| 2-18 |
| 110 | isNullOrUndefined |= 0x2;executed 2 times by 1 test: isNullOrUndefined |= 0x2; | 2 |
| 111 | stream << isNullOrUndefined; | - |
| 112 | if (!isNullOrUndefined)| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 4 times by 1 test |
| 4-16 |
| 113 | reinterpret_cast<const QJSValue*>(data)->toVariant().save(stream);executed 16 times by 1 test: reinterpret_cast<const QJSValue*>(data)->toVariant().save(stream); | 16 |
| 114 | }executed 20 times by 1 test: end of block | 20 |
| 115 | | - |
| 116 | static void restoreJSValue(QDataStream &stream, void *data) | - |
| 117 | { | - |
| 118 | QJSValue *jsv = reinterpret_cast<QJSValue*>(data); | - |
| 119 | | - |
| 120 | quint32 isNullOrUndefined; | - |
| 121 | stream >> isNullOrUndefined; | - |
| 122 | | - |
| 123 | if (isNullOrUndefined & 0x1) {| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 18 times by 1 test |
| 2-18 |
| 124 | *jsv = QJSValue(QJSValue::NullValue); | - |
| 125 | } else if (isNullOrUndefined & 0x2) {executed 2 times by 1 test: end of block | TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 16 times by 1 test |
| 2-16 |
| 126 | *jsv = QJSValue(); | - |
| 127 | } else {executed 2 times by 1 test: end of block | 2 |
| 128 | QVariant v; | - |
| 129 | v.load(stream); | - |
| 130 | QJSValuePrivate::setVariant(jsv, v); | - |
| 131 | }executed 16 times by 1 test: end of block | 16 |
| 132 | } | - |
| 133 | | - |
| 134 | QV8Engine::QV8Engine(QV4::ExecutionEngine *v4) | - |
| 135 | : m_engine(nullptr) | - |
| 136 | , m_v4Engine(v4) | - |
| 137 | #if QT_CONFIG(qml_xml_http_request) | - |
| 138 | , m_xmlHttpRequestData(nullptr) | - |
| 139 | #endif | - |
| 140 | { | - |
| 141 | #ifdef Q_PROCESSOR_X86_32 | - |
| 142 | if (!qCpuHasFeature(SSE2)) { | - |
| 143 | qFatal("This program requires an X86 processor that supports SSE2 extension, at least a Pentium 4 or newer"); | - |
| 144 | } | - |
| 145 | #endif | - |
| 146 | | - |
| 147 | QML_MEMORY_SCOPE_STRING("QV8Engine::QV8Engine"); | - |
| 148 | qMetaTypeId<QJSValue>(); | - |
| 149 | qMetaTypeId<QList<int> >(); | - |
| 150 | | - |
| 151 | if (!QMetaType::hasRegisteredConverterFunction<QJSValue, QVariantMap>())| TRUE | evaluated 334 times by 151 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 | evaluated 11114 times by 114 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- ...
|
| 334-11114 |
| 152 | QMetaType::registerConverter<QJSValue, QVariantMap>(convertJSValueToVariantType<QVariantMap>);executed 334 times by 151 tests: QMetaType::registerConverter<QJSValue, QVariantMap>(convertJSValueToVariantType<QVariantMap>);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
- ...
| 334 |
| 153 | if (!QMetaType::hasRegisteredConverterFunction<QJSValue, QVariantList>())| TRUE | evaluated 334 times by 151 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 | evaluated 11114 times by 114 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- ...
|
| 334-11114 |
| 154 | QMetaType::registerConverter<QJSValue, QVariantList>(convertJSValueToVariantType<QVariantList>);executed 334 times by 151 tests: QMetaType::registerConverter<QJSValue, QVariantList>(convertJSValueToVariantType<QVariantList>);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
- ...
| 334 |
| 155 | if (!QMetaType::hasRegisteredConverterFunction<QJSValue, QStringList>())| TRUE | evaluated 334 times by 151 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 | evaluated 11114 times by 114 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- ...
|
| 334-11114 |
| 156 | QMetaType::registerConverter<QJSValue, QStringList>(convertJSValueToVariantType<QStringList>);executed 334 times by 151 tests: QMetaType::registerConverter<QJSValue, QStringList>(convertJSValueToVariantType<QStringList>);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
- ...
| 334 |
| 157 | QMetaType::registerStreamOperators(qMetaTypeId<QJSValue>(), saveJSValue, restoreJSValue); | - |
| 158 | | - |
| 159 | m_delayedCallQueue.init(m_v4Engine); | - |
| 160 | | - |
| 161 | QV4::QObjectWrapper::initializeBindings(m_v4Engine); | - |
| 162 | }executed 11448 times by 151 tests: end of blockExecuted 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
- ...
| 11448 |
| 163 | | - |
| 164 | QV8Engine::~QV8Engine() | - |
| 165 | { | - |
| 166 | qDeleteAll(m_extensionData); | - |
| 167 | m_extensionData.clear(); | - |
| 168 | | - |
| 169 | #if QT_CONFIG(qml_xml_http_request) | - |
| 170 | qt_rem_qmlxmlhttprequest(m_v4Engine, m_xmlHttpRequestData); | - |
| 171 | m_xmlHttpRequestData = nullptr; | - |
| 172 | #endif | - |
| 173 | }executed 11434 times by 151 tests: end of blockExecuted 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
- ...
| 11434 |
| 174 | | - |
| 175 | #if QT_CONFIG(qml_network) | - |
| 176 | QNetworkAccessManager *QV8Engine::networkAccessManager() | - |
| 177 | { | - |
| 178 | return QQmlEnginePrivate::get(m_engine)->getNetworkAccessManager();executed 206 times by 2 tests: return QQmlEnginePrivate::get(m_engine)->getNetworkAccessManager();Executed by:- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
| 206 |
| 179 | } | - |
| 180 | #endif | - |
| 181 | | - |
| 182 | const QSet<QString> &QV8Engine::illegalNames() const | - |
| 183 | { | - |
| 184 | return m_illegalNames;executed 145501 times by 141 tests: return m_illegalNames;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 145501 |
| 185 | } | - |
| 186 | | - |
| 187 | void QV8Engine::initializeGlobal() | - |
| 188 | { | - |
| 189 | QV4::Scope scope(m_v4Engine); | - |
| 190 | QV4::GlobalExtensions::init(m_v4Engine->globalObject, QJSEngine::AllExtensions); | - |
| 191 | | - |
| 192 | QV4::ScopedObject qt(scope, m_v4Engine->memoryManager->allocate<QV4::QtObject>(m_engine)); | - |
| 193 | m_v4Engine->globalObject->defineDefaultProperty(QStringLiteral("Qt"), qt);executed 8784 times by 148 tests: return qstring_literal_temp;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 8784 |
| 194 | | - |
| 195 | #if QT_CONFIG(qml_locale) | - |
| 196 | QQmlLocale::registerStringLocaleCompare(m_v4Engine); | - |
| 197 | QQmlDateExtension::registerExtension(m_v4Engine); | - |
| 198 | QQmlNumberExtension::registerExtension(m_v4Engine); | - |
| 199 | #endif | - |
| 200 | | - |
| 201 | #if QT_CONFIG(qml_xml_http_request) | - |
| 202 | qt_add_domexceptions(m_v4Engine); | - |
| 203 | m_xmlHttpRequestData = qt_add_qmlxmlhttprequest(m_v4Engine); | - |
| 204 | #endif | - |
| 205 | | - |
| 206 | qt_add_sqlexceptions(m_v4Engine); | - |
| 207 | | - |
| 208 | { | - |
| 209 | for (uint i = 0; i < m_v4Engine->globalObject->internalClass()->size; ++i) {| TRUE | evaluated 527040 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| | FALSE | evaluated 8784 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
|
| 8784-527040 |
| 210 | if (m_v4Engine->globalObject->internalClass()->nameMap.at(i).isString()) {| TRUE | evaluated 527040 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| | FALSE | never evaluated |
| 0-527040 |
| 211 | QV4::PropertyKey id = m_v4Engine->globalObject->internalClass()->nameMap.at(i); | - |
| 212 | m_illegalNames.insert(id.toQString()); | - |
| 213 | }executed 527040 times by 148 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 527040 |
| 214 | }executed 527040 times by 148 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 527040 |
| 215 | } | - |
| 216 | }executed 8784 times by 148 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 8784 |
| 217 | | - |
| 218 | static void freeze_recursive(QV4::ExecutionEngine *v4, QV4::Object *object) | - |
| 219 | { | - |
| 220 | if (object->as<QV4::QObjectWrapper>())| TRUE | never evaluated | | FALSE | evaluated 4226178 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
|
| 0-4226178 |
| 221 | return; never executed: return; | 0 |
| 222 | | - |
| 223 | QV4::Scope scope(v4); | - |
| 224 | | - |
| 225 | bool instanceOfObject = false; | - |
| 226 | QV4::ScopedObject p(scope, object->getPrototypeOf()); | - |
| 227 | while (p) {| TRUE | evaluated 8399656 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| | FALSE | evaluated 8784 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
|
| 8784-8399656 |
| 228 | if (p->d() == v4->objectPrototype()->d()) {| TRUE | evaluated 4217394 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| | FALSE | evaluated 4182262 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
|
| 4182262-4217394 |
| 229 | instanceOfObject = true; | - |
| 230 | break;executed 4217394 times by 148 tests: break;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 4217394 |
| 231 | } | - |
| 232 | p = p->getPrototypeOf(); | - |
| 233 | }executed 4182262 times by 148 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 4182262 |
| 234 | if (!instanceOfObject)| TRUE | evaluated 8784 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| | FALSE | evaluated 4217394 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
|
| 8784-4217394 |
| 235 | return;executed 8784 times by 148 tests: return;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 8784 |
| 236 | | - |
| 237 | QV4::Heap::InternalClass *frozen = object->internalClass()->propertiesFrozen(); | - |
| 238 | if (object->internalClass() == frozen)| TRUE | evaluated 368928 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| | FALSE | evaluated 3848466 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
|
| 368928-3848466 |
| 239 | return;executed 368928 times by 148 tests: return;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 368928 |
| 240 | object->setInternalClass(frozen); | - |
| 241 | | - |
| 242 | QV4::ScopedObject o(scope); | - |
| 243 | for (uint i = 0; i < frozen->size; ++i) {| TRUE | evaluated 15736430 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| | FALSE | evaluated 3848466 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
|
| 3848466-15736430 |
| 244 | if (!frozen->nameMap.at(i).isStringOrSymbol())| TRUE | evaluated 377758 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| | FALSE | evaluated 15358672 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
|
| 377758-15358672 |
| 245 | continue;executed 377758 times by 148 tests: continue;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 377758 |
| 246 | o = *object->propertyData(i); | - |
| 247 | if (o)| TRUE | evaluated 4217380 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| | FALSE | evaluated 11141292 times by 148 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
|
| 4217380-11141292 |
| 248 | freeze_recursive(v4, o);executed 4217380 times by 148 tests: freeze_recursive(v4, o);Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 4217380 |
| 249 | }executed 15358672 times by 148 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 15358672 |
| 250 | }executed 3848466 times by 148 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 3848466 |
| 251 | | - |
| 252 | void QV8Engine::freezeObject(const QV4::Value &value) | - |
| 253 | { | - |
| 254 | QV4::Scope scope(m_v4Engine); | - |
| 255 | QV4::ScopedObject o(scope, value); | - |
| 256 | freeze_recursive(m_v4Engine, o); | - |
| 257 | }executed 8798 times by 148 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 8798 |
| 258 | | - |
| 259 | struct QV8EngineRegistrationData | - |
| 260 | { | - |
| 261 | QV8EngineRegistrationData() : extensionCount(0) {}executed 18 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
| 18 |
| 262 | | - |
| 263 | QMutex mutex; | - |
| 264 | int extensionCount; | - |
| 265 | }; | - |
| 266 | Q_GLOBAL_STATIC(QV8EngineRegistrationData, registrationData);executed 18 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
executed 18 times by 9 tests: guard.store(QtGlobalStatic::Destroyed);Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
executed 72 times by 9 tests: return &holder.value;Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
| TRUE | evaluated 18 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
| 0-72 |
| 267 | | - |
| 268 | QMutex *QV8Engine::registrationMutex() | - |
| 269 | { | - |
| 270 | return ®istrationData()->mutex;executed 48 times by 9 tests: return ®istrationData()->mutex;Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
| 48 |
| 271 | } | - |
| 272 | | - |
| 273 | int QV8Engine::registerExtension() | - |
| 274 | { | - |
| 275 | return registrationData()->extensionCount++;executed 24 times by 9 tests: return registrationData()->extensionCount++;Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
| 24 |
| 276 | } | - |
| 277 | | - |
| 278 | void QV8Engine::setExtensionData(int index, Deletable *data) | - |
| 279 | { | - |
| 280 | if (m_extensionData.count() <= index)| TRUE | evaluated 28 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 testEvaluated by:- tst_qquickvisualdatamodel
|
| 2-28 |
| 281 | m_extensionData.resize(index + 1);executed 28 times by 9 tests: m_extensionData.resize(index + 1);Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
| 28 |
| 282 | | - |
| 283 | if (m_extensionData.at(index))| TRUE | never evaluated | | FALSE | evaluated 30 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
|
| 0-30 |
| 284 | delete m_extensionData.at(index); never executed: delete m_extensionData.at(index); | 0 |
| 285 | | - |
| 286 | m_extensionData[index] = data; | - |
| 287 | }executed 30 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllocale
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickcustomaffector
- tst_qquickvisualdatamodel
| 30 |
| 288 | | - |
| 289 | void QV8Engine::initQmlGlobalObject() | - |
| 290 | { | - |
| 291 | initializeGlobal(); | - |
| 292 | freezeObject(*m_v4Engine->globalObject); | - |
| 293 | }executed 8784 times by 148 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 8784 |
| 294 | | - |
| 295 | void QV8Engine::setEngine(QQmlEngine *engine) | - |
| 296 | { | - |
| 297 | m_engine = engine; | - |
| 298 | initQmlGlobalObject(); | - |
| 299 | }executed 7674 times by 148 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- 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
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 7674 |
| 300 | | - |
| 301 | void QV8Engine::startTimer(const QString &timerName) | - |
| 302 | { | - |
| 303 | if (!m_time.isValid())| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
| 0-2 |
| 304 | m_time.start();executed 2 times by 1 test: m_time.start(); | 2 |
| 305 | m_startedTimers[timerName] = m_time.elapsed(); | - |
| 306 | }executed 2 times by 1 test: end of block | 2 |
| 307 | | - |
| 308 | qint64 QV8Engine::stopTimer(const QString &timerName, bool *wasRunning) | - |
| 309 | { | - |
| 310 | if (!m_startedTimers.contains(timerName)) {| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
| 0-2 |
| 311 | *wasRunning = false; | - |
| 312 | return 0; never executed: return 0; | 0 |
| 313 | } | - |
| 314 | *wasRunning = true; | - |
| 315 | qint64 startedAt = m_startedTimers.take(timerName); | - |
| 316 | return m_time.elapsed() - startedAt;executed 2 times by 1 test: return m_time.elapsed() - startedAt; | 2 |
| 317 | } | - |
| 318 | | - |
| 319 | int QV8Engine::consoleCountHelper(const QString &file, quint16 line, quint16 column) | - |
| 320 | { | - |
| 321 | const QString key = file + QString::number(line) + QString::number(column); | - |
| 322 | int number = m_consoleCount.value(key, 0); | - |
| 323 | number++; | - |
| 324 | m_consoleCount.insert(key, number); | - |
| 325 | return number;executed 12 times by 2 tests: return number;Executed by:- tst_qjsengine
- tst_qqmlconsole
| 12 |
| 326 | } | - |
| 327 | | - |
| 328 | QT_END_NAMESPACE | - |
| 329 | | - |
| | |