| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | | - |
| 12 | | - |
| 13 | | - |
| 14 | template <> struct QMetaTypeId< QList<int> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QList<int> >("QList<int>", reinterpret_cast< QList<int> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
| 15 | | - |
| 16 | | - |
| 17 | | - |
| 18 | | - |
| 19 | | - |
| 20 | | - |
| 21 | template <typename ReturnType> | - |
| 22 | ReturnType convertJSValueToVariantType(const QJSValue &value) | - |
| 23 | { | - |
| 24 | returnexecuted 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
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 |
| 25 | } | - |
| 26 | | - |
| 27 | static void saveJSValue(QDataStream &stream, const void *data) | - |
| 28 | { | - |
| 29 | const QJSValue *jsv = reinterpret_cast<const QJSValue *>(data); | - |
| 30 | quint32 isNullOrUndefined = 0; | - |
| 31 | if (jsv->isNull()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 18 times by 1 test |
) | 2-18 |
| 32 | isNullOrUndefined |= 0x1;executed 2 times by 1 test: isNullOrUndefined |= 0x1; | 2 |
| 33 | if (jsv->isUndefined()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 18 times by 1 test |
) | 2-18 |
| 34 | isNullOrUndefined |= 0x2;executed 2 times by 1 test: isNullOrUndefined |= 0x2; | 2 |
| 35 | stream << isNullOrUndefined; | - |
| 36 | if (!isNullOrUndefined| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 4 times by 1 test |
) | 4-16 |
| 37 | reinterpret_cast<constexecuted 16 times by 1 test: reinterpret_cast<const QJSValue*>(data)->toVariant().save(stream); QJSValue*>(data)->toVariant().save(stream);executed 16 times by 1 test: reinterpret_cast<const QJSValue*>(data)->toVariant().save(stream); | 16 |
| 38 | }executed 20 times by 1 test: end of block | 20 |
| 39 | | - |
| 40 | static void restoreJSValue(QDataStream &stream, void *data) | - |
| 41 | { | - |
| 42 | QJSValue *jsv = reinterpret_cast<QJSValue*>(data); | - |
| 43 | | - |
| 44 | quint32 isNullOrUndefined; | - |
| 45 | stream >> isNullOrUndefined; | - |
| 46 | | - |
| 47 | if (isNullOrUndefined & 0x1| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 18 times by 1 test |
) { | 2-18 |
| 48 | *jsv = QJSValue(QJSValue::NullValue); | - |
| 49 | }executed 2 times by 1 test: end of block else if (isNullOrUndefined & 0x2| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 16 times by 1 test |
) { | 2-16 |
| 50 | *jsv = QJSValue(); | - |
| 51 | }executed 2 times by 1 test: end of block else { | 2 |
| 52 | QVariant v; | - |
| 53 | v.load(stream); | - |
| 54 | QJSValuePrivate::setVariant(jsv, v); | - |
| 55 | }executed 16 times by 1 test: end of block | 16 |
| 56 | } | - |
| 57 | | - |
| 58 | QV8Engine::QV8Engine(QV4::ExecutionEngine *v4) | - |
| 59 | : m_engine(nullptr) | - |
| 60 | , m_v4Engine(v4) | - |
| 61 | | - |
| 62 | , m_xmlHttpRequestData(nullptr) | - |
| 63 | | - |
| 64 | { | - |
| 65 | | - |
| 66 | | - |
| 67 | | - |
| 68 | | - |
| 69 | | - |
| 70 | | - |
| 71 | QQmlMemoryScope _qml_memory_scope("QV8Engine::QV8Engine"); | - |
| 72 | qMetaTypeId<QJSValue>(); | - |
| 73 | qMetaTypeId<QList<int> >(); | - |
| 74 | | - |
| 75 | 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 |
| 76 | 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 |
| 77 | 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 |
| 78 | 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 |
| 79 | 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 |
| 80 | 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 |
| 81 | QMetaType::registerStreamOperators(qMetaTypeId<QJSValue>(), saveJSValue, restoreJSValue); | - |
| 82 | | - |
| 83 | m_delayedCallQueue.init(m_v4Engine); | - |
| 84 | | - |
| 85 | QV4::QObjectWrapper::initializeBindings(m_v4Engine); | - |
| 86 | }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 |
| 87 | | - |
| 88 | QV8Engine::~QV8Engine() | - |
| 89 | { | - |
| 90 | qDeleteAll(m_extensionData); | - |
| 91 | m_extensionData.clear(); | - |
| 92 | | - |
| 93 | | - |
| 94 | qt_rem_qmlxmlhttprequest(m_v4Engine, m_xmlHttpRequestData); | - |
| 95 | m_xmlHttpRequestData = nullptr; | - |
| 96 | | - |
| 97 | }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 |
| 98 | | - |
| 99 | | - |
| 100 | QNetworkAccessManager *QV8Engine::networkAccessManager() | - |
| 101 | { | - |
| 102 | returnexecuted 206 times by 2 tests: return QQmlEnginePrivate::get(m_engine)->getNetworkAccessManager();Executed by:- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
QQmlEnginePrivate::get(m_engine)->getNetworkAccessManager();executed 206 times by 2 tests: return QQmlEnginePrivate::get(m_engine)->getNetworkAccessManager();Executed by:- tst_qqmlecmascript
- tst_qqmlxmlhttprequest
| 206 |
| 103 | } | - |
| 104 | | - |
| 105 | | - |
| 106 | const QSet<QString> &QV8Engine::illegalNames() const | - |
| 107 | { | - |
| 108 | returnexecuted 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
- ...
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 |
| 109 | } | - |
| 110 | | - |
| 111 | void QV8Engine::initializeGlobal() | - |
| 112 | { | - |
| 113 | QV4::Scope scope(m_v4Engine); | - |
| 114 | QV4::GlobalExtensions::init(m_v4Engine->globalObject, QJSEngine::AllExtensions); | - |
| 115 | | - |
| 116 | QV4::ScopedObject qt(scope, m_v4Engine->memoryManager->allocate<QV4::QtObject>(m_engine)); | - |
| 117 | m_v4Engine->globalObject->defineDefaultProperty(([]() noexcept -> QString { enum { Size = sizeof(u"" "Qt")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Qt" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 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
- ...
qstring_literal_temp;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
- ...
}()), qt); | 8784 |
| 118 | | - |
| 119 | | - |
| 120 | QQmlLocale::registerStringLocaleCompare(m_v4Engine); | - |
| 121 | QQmlDateExtension::registerExtension(m_v4Engine); | - |
| 122 | QQmlNumberExtension::registerExtension(m_v4Engine); | - |
| 123 | | - |
| 124 | | - |
| 125 | | - |
| 126 | qt_add_domexceptions(m_v4Engine); | - |
| 127 | m_xmlHttpRequestData = qt_add_qmlxmlhttprequest(m_v4Engine); | - |
| 128 | | - |
| 129 | | - |
| 130 | qt_add_sqlexceptions(m_v4Engine); | - |
| 131 | | - |
| 132 | { | - |
| 133 | for (uint i = 0; i < m_v4Engine->globalObject->internalClass()->size| 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
- ...
|
; ++i) { | 8784-527040 |
| 134 | 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 |
| 135 | QV4::PropertyKey id = m_v4Engine->globalObject->internalClass()->nameMap.at(i); | - |
| 136 | m_illegalNames.insert(id.toQString()); | - |
| 137 | }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 |
| 138 | }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 |
| 139 | } | - |
| 140 | }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 |
| 141 | | - |
| 142 | static void freeze_recursive(QV4::ExecutionEngine *v4, QV4::Object *object) | - |
| 143 | { | - |
| 144 | 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 |
| 145 | return; never executed: return; | 0 |
| 146 | | - |
| 147 | QV4::Scope scope(v4); | - |
| 148 | | - |
| 149 | bool instanceOfObject = false; | - |
| 150 | QV4::ScopedObject p(scope, object->getPrototypeOf()); | - |
| 151 | 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 |
| 152 | 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 |
| 153 | instanceOfObject = true; | - |
| 154 | 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 |
| 155 | } | - |
| 156 | p = p->getPrototypeOf(); | - |
| 157 | }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 |
| 158 | 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 |
| 159 | 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 |
| 160 | | - |
| 161 | QV4::Heap::InternalClass *frozen = object->internalClass()->propertiesFrozen(); | - |
| 162 | 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 |
| 163 | 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 |
| 164 | object->setInternalClass(frozen); | - |
| 165 | | - |
| 166 | QV4::ScopedObject o(scope); | - |
| 167 | for (uint i = 0; i < frozen->size| 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
- ...
|
; ++i) { | 3848466-15736430 |
| 168 | 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 |
| 169 | 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 |
| 170 | o = *object->propertyData(i); | - |
| 171 | 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 |
| 172 | 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 |
| 173 | }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 |
| 174 | }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 |
| 175 | | - |
| 176 | void QV8Engine::freezeObject(const QV4::Value &value) | - |
| 177 | { | - |
| 178 | QV4::Scope scope(m_v4Engine); | - |
| 179 | QV4::ScopedObject o(scope, value); | - |
| 180 | freeze_recursive(m_v4Engine, o); | - |
| 181 | }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 |
| 182 | | - |
| 183 | struct QV8EngineRegistrationData | - |
| 184 | { | - |
| 185 | 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 |
| 186 | | - |
| 187 | QMutex mutex; | - |
| 188 | int extensionCount; | - |
| 189 | }; | - |
| 190 | namespace { namespace Q_QGS_registrationData { typedef QV8EngineRegistrationData Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::Initialized| 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 |
) guard.store(QtGlobalStatic::Destroyed);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 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
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 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
&holder.value;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
} } } static QGlobalStatic<QV8EngineRegistrationData, Q_QGS_registrationData::innerFunction, Q_QGS_registrationData::guard> registrationData;; | 0-72 |
| 191 | | - |
| 192 | QMutex *QV8Engine::registrationMutex() | - |
| 193 | { | - |
| 194 | returnexecuted 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
®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 |
| 195 | } | - |
| 196 | | - |
| 197 | int QV8Engine::registerExtension() | - |
| 198 | { | - |
| 199 | returnexecuted 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
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 |
| 200 | } | - |
| 201 | | - |
| 202 | void QV8Engine::setExtensionData(int index, Deletable *data) | - |
| 203 | { | - |
| 204 | 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 |
| 205 | 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 |
| 206 | | - |
| 207 | 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 |
| 208 | delete m_extensionData.at(index); never executed: delete m_extensionData.at(index); | 0 |
| 209 | | - |
| 210 | m_extensionData[index] = data; | - |
| 211 | }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 |
| 212 | | - |
| 213 | void QV8Engine::initQmlGlobalObject() | - |
| 214 | { | - |
| 215 | initializeGlobal(); | - |
| 216 | freezeObject(*m_v4Engine->globalObject); | - |
| 217 | }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 |
| 218 | | - |
| 219 | void QV8Engine::setEngine(QQmlEngine *engine) | - |
| 220 | { | - |
| 221 | m_engine = engine; | - |
| 222 | initQmlGlobalObject(); | - |
| 223 | }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 |
| 224 | | - |
| 225 | void QV8Engine::startTimer(const QString &timerName) | - |
| 226 | { | - |
| 227 | if (!m_time.isValid()| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) | 0-2 |
| 228 | m_time.start();executed 2 times by 1 test: m_time.start(); | 2 |
| 229 | m_startedTimers[timerName] = m_time.elapsed(); | - |
| 230 | }executed 2 times by 1 test: end of block | 2 |
| 231 | | - |
| 232 | qint64 QV8Engine::stopTimer(const QString &timerName, bool *wasRunning) | - |
| 233 | { | - |
| 234 | if (!m_startedTimers.contains(timerName)| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
) { | 0-2 |
| 235 | *wasRunning = false; | - |
| 236 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 237 | } | - |
| 238 | *wasRunning = true; | - |
| 239 | qint64 startedAt = m_startedTimers.take(timerName); | - |
| 240 | returnexecuted 2 times by 1 test: return m_time.elapsed() - startedAt; m_time.elapsed() - startedAt;executed 2 times by 1 test: return m_time.elapsed() - startedAt; | 2 |
| 241 | } | - |
| 242 | | - |
| 243 | int QV8Engine::consoleCountHelper(const QString &file, quint16 line, quint16 column) | - |
| 244 | { | - |
| 245 | const QString key = file + QString::number(line) + QString::number(column); | - |
| 246 | int number = m_consoleCount.value(key, 0); | - |
| 247 | number++; | - |
| 248 | m_consoleCount.insert(key, number); | - |
| 249 | returnexecuted 12 times by 2 tests: return number;Executed by:- tst_qjsengine
- tst_qqmlconsole
number;executed 12 times by 2 tests: return number;Executed by:- tst_qjsengine
- tst_qqmlconsole
| 12 |
| 250 | } | - |
| 251 | | - |
| 252 | | - |
| | |