Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | static bool qmlImportTrace() { static enum { Yes, No, Unknown } status = Unknown; if (status == UnknownTRUE | evaluated 326 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 274541 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
- ...
|
) { status = No; if (__builtin_expect(!!(!qEnvironmentVariableIsEmpty("QML_IMPORT_TRACE")), false)TRUE | never evaluated | FALSE | evaluated 326 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
- ...
|
) { const QByteArray v = qgetenv("QML_IMPORT_TRACE"); if (v != "0"TRUE | never evaluated | FALSE | never evaluated |
&& v != "false"TRUE | never evaluated | FALSE | never evaluated |
) status = Yes;never executed: status = Yes; }never executed: end of block }executed 326 times by 148 tests: end of block 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
- ...
returnexecuted 274867 times by 148 tests: return status == Yes; 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
- ...
status == Yes;executed 274867 times by 148 tests: return status == Yes; 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
- ...
} | 0-274867 |
9 | static bool qmlCheckTypes() { static enum { Yes, No, Unknown } status = Unknown; if (status == UnknownTRUE | evaluated 312 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 80272 times by 140 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { status = No; if (__builtin_expect(!!(!qEnvironmentVariableIsEmpty("QML_CHECK_TYPES")), false)TRUE | never evaluated | FALSE | evaluated 312 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { const QByteArray v = qgetenv("QML_CHECK_TYPES"); if (v != "0"TRUE | never evaluated | FALSE | never evaluated |
&& v != "false"TRUE | never evaluated | FALSE | never evaluated |
) status = Yes;never executed: status = Yes; }never executed: end of block }executed 312 times by 141 tests: end of block 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
- ...
returnexecuted 80584 times by 141 tests: return status == Yes; 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
- ...
status == Yes;executed 80584 times by 141 tests: return status == Yes; 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
- ...
} | 0-80584 |
10 | | - |
11 | static const QLatin1Char Dot('.'); | - |
12 | static const QLatin1Char Slash('/'); | - |
13 | static const QLatin1Char Backslash('\\'); | - |
14 | static const QLatin1Char Colon(':'); | - |
15 | static const QLatin1String Slash_qmldir("/qmldir"); | - |
16 | static const QLatin1String String_qmldir("qmldir"); | - |
17 | static const QString dotqml_string(([]() noexcept -> QString { enum { Size = sizeof(u"" ".qml")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" ".qml" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())); | - |
18 | static const QString dotuidotqml_string(([]() noexcept -> QString { enum { Size = sizeof(u"" ".ui.qml")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" ".ui.qml" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())); | - |
19 | static bool designerSupportRequired = false; | - |
20 | | - |
21 | namespace { | - |
22 | | - |
23 | QString resolveLocalUrl(const QString &url, const QString &relative) | - |
24 | { | - |
25 | if (relative.contains(Colon)TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qquickloader
| FALSE | evaluated 120691 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 8-120691 |
26 | | - |
27 | returnexecuted 8 times by 2 tests: return QUrl(url).resolved(QUrl(relative)).toString(); Executed by:- tst_qqmlmoduleplugin
- tst_qquickloader
QUrl(url).resolved(QUrl(relative)).toString();executed 8 times by 2 tests: return QUrl(url).resolved(QUrl(relative)).toString(); Executed by:- tst_qqmlmoduleplugin
- tst_qquickloader
| 8 |
28 | } else if (relative.isEmpty()TRUE | never evaluated | FALSE | evaluated 120691 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 0-120691 |
29 | return never executed: return url; url;never executed: return url; | 0 |
30 | } else if (relative.at(0) == SlashTRUE | never evaluated | FALSE | evaluated 120691 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
|| !url.contains(Slash)TRUE | evaluated 91022 times by 46 testsEvaluated by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- ...
| FALSE | evaluated 29669 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 0-120691 |
31 | returnexecuted 91022 times by 46 tests: return relative; Executed by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- ...
relative;executed 91022 times by 46 tests: return relative; Executed by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- ...
| 91022 |
32 | } else { | - |
33 | const QStringRef baseRef = url.leftRef(url.lastIndexOf(Slash) + 1); | - |
34 | if (relative == QLatin1String(".")TRUE | evaluated 18952 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 10717 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) | 10717-18952 |
35 | returnexecuted 18952 times by 127 tests: return baseRef.toString(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
baseRef.toString();executed 18952 times by 127 tests: return baseRef.toString(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 18952 |
36 | | - |
37 | QString base = baseRef + relative; | - |
38 | | - |
39 | | - |
40 | int length = base.length(); | - |
41 | int index = 0; | - |
42 | while ((TRUE | evaluated 10023 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 10717 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
index = base.indexOf(QLatin1String("/."), index)) != -1TRUE | evaluated 10023 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 10717 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 10023-10717 |
43 | if ((TRUE | evaluated 10007 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 16 times by 1 test |
length > (index + 2))TRUE | evaluated 10007 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 16 times by 1 test |
&& (TRUE | evaluated 350 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickloader
- tst_qrcqml
| FALSE | evaluated 9657 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
base.at(index + 2) == Dot)TRUE | evaluated 350 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickloader
- tst_qrcqml
| FALSE | evaluated 9657 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
&& | 16-10007 |
44 | (length == (index + 3)TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmltypeloader
| FALSE | evaluated 330 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickloader
- tst_qrcqml
|
|| (TRUE | evaluated 330 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickloader
- tst_qrcqml
| FALSE | never evaluated |
base.at(index + 3) == Slash)TRUE | evaluated 330 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickloader
- tst_qrcqml
| FALSE | never evaluated |
)) { | 0-330 |
45 | | - |
46 | int previous = base.lastIndexOf(Slash, index - 1); | - |
47 | if (previous == -1TRUE | never evaluated | FALSE | evaluated 350 times by 5 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickloader
- tst_qrcqml
|
) | 0-350 |
48 | break; never executed: break; | 0 |
49 | | - |
50 | int removeLength = (index - previous) + 3; | - |
51 | base.remove(previous + 1, removeLength); | - |
52 | length -= removeLength; | - |
53 | index = previous; | - |
54 | }executed 350 times by 5 tests: end of block Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickloader
- tst_qrcqml
else if ((TRUE | evaluated 16 times by 1 test | FALSE | evaluated 9657 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
length == (index + 2))TRUE | evaluated 16 times by 1 test | FALSE | evaluated 9657 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
|| (TRUE | evaluated 9657 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | never evaluated |
base.at(index + 2) == Slash)TRUE | evaluated 9657 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | never evaluated |
) { | 0-9657 |
55 | | - |
56 | base.remove(index, 2); | - |
57 | length -= 2; | - |
58 | }executed 9673 times by 127 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
else { | 9673 |
59 | ++index; | - |
60 | } never executed: end of block | 0 |
61 | } | - |
62 | | - |
63 | returnexecuted 10717 times by 127 tests: return base; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
base;executed 10717 times by 127 tests: return base; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 10717 |
64 | } | - |
65 | } | - |
66 | | - |
67 | bool isPathAbsolute(const QString &path) | - |
68 | { | - |
69 | | - |
70 | returnexecuted 26444 times by 137 tests: return (path.at(0) == Slash); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
(path.at(0) == Slash);executed 26444 times by 137 tests: return (path.at(0) == Slash); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 26444 |
71 | | - |
72 | | - |
73 | | - |
74 | | - |
75 | } | - |
76 | QQmlType fetchOrCreateTypeForUrl(const QString &urlString, const QHashedStringRef& typeName, | - |
77 | bool isCompositeSingleton, QList<QQmlError> *errors, | - |
78 | int majorVersion=-1, int minorVersion=-1) | - |
79 | { | - |
80 | QUrl url(urlString); | - |
81 | QQmlType ret = QQmlMetaType::qmlType(url); | - |
82 | if (ret.isValid()TRUE | evaluated 750 times by 20 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdraghandler
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| FALSE | evaluated 752 times by 41 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- ...
|
) | 750-752 |
83 | returnexecuted 750 times by 20 tests: return ret; Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdraghandler
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
ret;executed 750 times by 20 tests: return ret; Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickdraghandler
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickworkerscript
- tst_quicktestmainwithsetup
- tst_testfiltering
| 750 |
84 | | - |
85 | int dot = typeName.indexOf(QLatin1Char('.')); | - |
86 | QHashedStringRef unqualifiedtype = dot < 0TRUE | evaluated 750 times by 41 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- ...
| FALSE | evaluated 2 times by 1 test |
? typeName : QHashedStringRef(typeName.constData() + dot + 1, typeName.length() - dot - 1); | 2-750 |
87 | | - |
88 | | - |
89 | | - |
90 | QByteArray buf(unqualifiedtype.toString().toUtf8()); | - |
91 | | - |
92 | QQmlMetaTypeRegistrationFailureRecorder failureRecorder; | - |
93 | if (isCompositeSingletonTRUE | evaluated 10 times by 3 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmltypeloader
| FALSE | evaluated 742 times by 41 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- ...
|
) { | 10-742 |
94 | QQmlPrivate::RegisterCompositeSingletonType reg = { | - |
95 | url, | - |
96 | "", | - |
97 | majorVersion, | - |
98 | minorVersion, | - |
99 | buf.constData() | - |
100 | }; | - |
101 | ret = QQmlMetaType::registerCompositeSingletonType(reg); | - |
102 | }executed 10 times by 3 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmltypeloader
else { | 10 |
103 | QQmlPrivate::RegisterCompositeType reg = { | - |
104 | url, | - |
105 | "", | - |
106 | majorVersion, | - |
107 | minorVersion, | - |
108 | buf.constData() | - |
109 | }; | - |
110 | ret = QQmlMetaType::registerCompositeType(reg); | - |
111 | }executed 742 times by 41 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- ...
| 742 |
112 | | - |
113 | | - |
114 | | - |
115 | | - |
116 | if (!ret.isValid()TRUE | never evaluated | FALSE | evaluated 752 times by 41 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- ...
|
) { | 0-752 |
117 | if (!errorsTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
118 | QMessageLogger(__FILE__, 205, __PRETTY_FUNCTION__).fatal("%s", failureRecorder.failures().join('\n').toLatin1().constData()); never executed: QMessageLogger(__FILE__, 205, __PRETTY_FUNCTION__).fatal("%s", failureRecorder.failures().join('\n').toLatin1().constData()); | 0 |
119 | QQmlError error; | - |
120 | error.setDescription(failureRecorder.failures().join('\n')); | - |
121 | errors->prepend(error); | - |
122 | } never executed: end of block | 0 |
123 | returnexecuted 752 times by 41 tests: return ret; Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- ...
ret;executed 752 times by 41 tests: return ret; Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- ...
| 752 |
124 | } | - |
125 | | - |
126 | } | - |
127 | | - |
128 | struct RegisteredPlugin { | - |
129 | QString uri; | - |
130 | QPluginLoader* loader; | - |
131 | }; | - |
132 | | - |
133 | struct StringRegisteredPluginMap : public QMap<QString, RegisteredPlugin> { | - |
134 | QMutex mutex; | - |
135 | }; | - |
136 | | - |
137 | namespace { namespace Q_QGS_qmlEnginePluginsWithRegisteredTypes { typedef StringRegisteredPluginMap Type; QBasicAtomicInt guard = { QtGlobalStatic::Uninitialized }; __attribute__((visibility("hidden"))) inline Type *innerFunction() { struct HolderBase { ~HolderBase() noexcept { if (guard.load() == QtGlobalStatic::InitializedTRUE | evaluated 294 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | never evaluated |
) guard.store(QtGlobalStatic::Destroyed);executed 294 times by 135 tests: guard.store(QtGlobalStatic::Destroyed); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
}executed 294 times by 135 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
}; static struct Holder : public HolderBase { Type value; Holder() noexcept(noexcept(Type ())) : value () { guard.store(QtGlobalStatic::Initialized); } } holder; returnexecuted 7485 times by 135 tests: return &holder.value; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
&holder.value;executed 7485 times by 135 tests: return &holder.value; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
} } } static QGlobalStatic<StringRegisteredPluginMap, Q_QGS_qmlEnginePluginsWithRegisteredTypes::innerFunction, Q_QGS_qmlEnginePluginsWithRegisteredTypes::guard> qmlEnginePluginsWithRegisteredTypes;; | 0-7485 |
138 | | - |
139 | void qmlClearEnginePlugins() | - |
140 | { | - |
141 | StringRegisteredPluginMap *plugins = qmlEnginePluginsWithRegisteredTypes(); | - |
142 | QMutexLocker lock(&plugins->mutex); | - |
143 | | - |
144 | for (auto &plugin : qAsConst(*plugins)) { | - |
145 | QPluginLoader* loader = plugin.loader; | - |
146 | if (loaderTRUE | evaluated 96 times by 3 testsEvaluated by:- tst_qmldiskcache
- tst_qqmlenginecleanup
- tst_qqmltypeloader
| FALSE | never evaluated |
&& !loader->unload()TRUE | never evaluated | FALSE | evaluated 96 times by 3 testsEvaluated by:- tst_qmldiskcache
- tst_qqmlenginecleanup
- tst_qqmltypeloader
|
) | 0-96 |
147 | QMessageLogger(__FILE__, 234, __PRETTY_FUNCTION__).warning("Unloading %s failed: %s", QtPrivate::asString(plugin.uri).toLocal8Bit().constData(), QtPrivate::asString(loader->errorString()).toLocal8Bit().constData()); never executed: QMessageLogger(__FILE__, 234, __PRETTY_FUNCTION__).warning("Unloading %s failed: %s", QtPrivate::asString(plugin.uri).toLocal8Bit().constData(), QtPrivate::asString(loader->errorString()).toLocal8Bit().constData()); | 0 |
148 | delete loader; | - |
149 | }executed 96 times by 3 tests: end of block Executed by:- tst_qmldiskcache
- tst_qqmlenginecleanup
- tst_qqmltypeloader
| 96 |
150 | | - |
151 | plugins->clear(); | - |
152 | }executed 90 times by 3 tests: end of block Executed by:- tst_qmldiskcache
- tst_qqmlenginecleanup
- tst_qqmltypeloader
| 90 |
153 | | - |
154 | typedef QPair<QStaticPlugin, QJsonArray> StaticPluginPair; | - |
155 | class QQmlImportsPrivate | - |
156 | { | - |
157 | public: | - |
158 | QQmlImportsPrivate(QQmlTypeLoader *loader); | - |
159 | ~QQmlImportsPrivate(); | - |
160 | | - |
161 | QQmlImportNamespace *importNamespace(const QString &prefix) const; | - |
162 | | - |
163 | bool addLibraryImport(const QString& uri, const QString &prefix, | - |
164 | int vmaj, int vmin, const QString &qmldirIdentifier, const QString &qmldirUrl, bool incomplete, | - |
165 | QQmlImportDatabase *database, | - |
166 | QList<QQmlError> *errors); | - |
167 | | - |
168 | bool addFileImport(const QString &uri, const QString &prefix, | - |
169 | int vmaj, int vmin, | - |
170 | bool isImplicitImport, bool incomplete, QQmlImportDatabase *database, | - |
171 | QList<QQmlError> *errors); | - |
172 | | - |
173 | bool updateQmldirContent(const QString &uri, const QString &prefix, | - |
174 | const QString &qmldirIdentifier, const QString& qmldirUrl, | - |
175 | QQmlImportDatabase *database, | - |
176 | QList<QQmlError> *errors); | - |
177 | | - |
178 | bool resolveType(const QHashedStringRef &type, int *vmajor, int *vminor, | - |
179 | QQmlType *type_return, QList<QQmlError> *errors, | - |
180 | QQmlType::RegistrationType registrationType, | - |
181 | QQmlImport::RecursionRestriction recursionRestriction | - |
182 | = QQmlImport::PreventRecursion); | - |
183 | | - |
184 | QUrl baseUrl; | - |
185 | QString base; | - |
186 | int ref; | - |
187 | | - |
188 | | - |
189 | mutable QQmlImportNamespace unqualifiedset; | - |
190 | | - |
191 | QQmlImportNamespace *findQualifiedNamespace(const QHashedStringRef &) const; | - |
192 | | - |
193 | | - |
194 | mutable QFieldList<QQmlImportNamespace, &QQmlImportNamespace::nextNamespace> qualifiedSets; | - |
195 | | - |
196 | QQmlTypeLoader *typeLoader; | - |
197 | | - |
198 | static bool locateQmldir(const QString &uri, int vmaj, int vmin, | - |
199 | QQmlImportDatabase *database, | - |
200 | QString *outQmldirFilePath, QString *outUrl); | - |
201 | | - |
202 | static bool validateQmldirVersion(const QQmlTypeLoaderQmldirContent &qmldir, const QString &uri, int vmaj, int vmin, | - |
203 | QList<QQmlError> *errors); | - |
204 | | - |
205 | bool importExtension(const QString &absoluteFilePath, const QString &uri, | - |
206 | int vmaj, int vmin, | - |
207 | QQmlImportDatabase *database, | - |
208 | const QQmlTypeLoaderQmldirContent &qmldir, | - |
209 | QList<QQmlError> *errors); | - |
210 | | - |
211 | bool getQmldirContent(const QString &qmldirIdentifier, const QString &uri, | - |
212 | QQmlTypeLoaderQmldirContent *qmldir, QList<QQmlError> *errors); | - |
213 | | - |
214 | QString resolvedUri(const QString &dir_arg, QQmlImportDatabase *database); | - |
215 | | - |
216 | QQmlImportInstance *addImportToNamespace(QQmlImportNamespace *nameSpace, | - |
217 | const QString &uri, const QString &url, | - |
218 | int vmaj, int vmin, QV4::CompiledData::Import::ImportType type, | - |
219 | QList<QQmlError> *errors, bool lowPrecedence = false); | - |
220 | | - |
221 | bool populatePluginPairVector(QVector<StaticPluginPair> &result, const QString &uri, const QStringList &versionUris, | - |
222 | const QString &qmldirPath, QList<QQmlError> *errors); | - |
223 | }; | - |
224 | | - |
225 | | - |
226 | | - |
227 | | - |
228 | | - |
229 | | - |
230 | QQmlImports::QQmlImports(const QQmlImports ©) | - |
231 | : d(copy.d) | - |
232 | { | - |
233 | ++d->ref; | - |
234 | }executed 55249 times by 141 tests: end of block 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
- ...
| 55249 |
235 | | - |
236 | QQmlImports & | - |
237 | QQmlImports::operator =(const QQmlImports ©) | - |
238 | { | - |
239 | ++copy.d->ref; | - |
240 | if (--TRUE | never evaluated | FALSE | never evaluated |
d->ref == 0TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
241 | delete d; never executed: delete d; | 0 |
242 | d = copy.d; | - |
243 | return never executed: return *this; *this;never executed: return *this; | 0 |
244 | } | - |
245 | | - |
246 | QQmlImports::QQmlImports(QQmlTypeLoader *typeLoader) | - |
247 | : d(new QQmlImportsPrivate(typeLoader)) | - |
248 | { | - |
249 | }executed 55543 times by 141 tests: end of block 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
- ...
| 55543 |
250 | | - |
251 | QQmlImports::~QQmlImports() | - |
252 | { | - |
253 | if (--TRUE | evaluated 13655 times by 134 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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_qqmlitemmodels
- tst_qqmllistmodel
- ...
| FALSE | evaluated 55183 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
d->ref == 0TRUE | evaluated 13655 times by 134 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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_qqmlitemmodels
- tst_qqmllistmodel
- ...
| FALSE | evaluated 55183 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 13655-55183 |
254 | delete d;executed 13655 times by 134 tests: delete d; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 13655 |
255 | }executed 68838 times by 141 tests: end of block 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
- ...
| 68838 |
256 | | - |
257 | | - |
258 | | - |
259 | | - |
260 | void QQmlImports::setBaseUrl(const QUrl& url, const QString &urlString) | - |
261 | { | - |
262 | d->baseUrl = url; | - |
263 | | - |
264 | if (urlString.isEmpty()TRUE | evaluated 90912 times by 44 testsEvaluated by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfontloader
- ...
| FALSE | evaluated 19484 times by 130 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
|
) { | 19484-90912 |
265 | d->base = url.toString(); | - |
266 | }executed 90912 times by 44 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfontloader
- ...
else { | 90912 |
267 | | - |
268 | d->base = urlString; | - |
269 | }executed 19484 times by 130 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- 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
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| 19484 |
270 | } | - |
271 | | - |
272 | | - |
273 | | - |
274 | | - |
275 | QUrl QQmlImports::baseUrl() const | - |
276 | { | - |
277 | returnexecuted 111258 times by 141 tests: return d->baseUrl; 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
- ...
d->baseUrl;executed 111258 times by 141 tests: return d->baseUrl; 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
- ...
| 111258 |
278 | } | - |
279 | void QQmlImports::populateCache(QQmlTypeNameCache *cache) const | - |
280 | { | - |
281 | const QQmlImportNamespace &set = d->unqualifiedset; | - |
282 | | - |
283 | for (int ii = set.imports.count() - 1; ii >= 0TRUE | evaluated 111886 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 55249 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; --ii) { | 55249-111886 |
284 | const QQmlImportInstance *import = set.imports.at(ii); | - |
285 | QQmlTypeModule *module = QQmlMetaType::typeModule(import->uri, import->majversion); | - |
286 | if (moduleTRUE | evaluated 56859 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 55027 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 55027-56859 |
287 | cache->m_anonymousImports.append(QQmlTypeModuleVersion(module, import->minversion)); | - |
288 | }executed 56859 times by 141 tests: end of block 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
- ...
| 56859 |
289 | }executed 111886 times by 141 tests: end of block 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
- ...
| 111886 |
290 | | - |
291 | for (QQmlImportNamespace *ns = d->qualifiedSets.first(); nsTRUE | evaluated 1178 times by 37 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | evaluated 55249 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ns = d->qualifiedSets.next(ns)) { | 1178-55249 |
292 | | - |
293 | const QQmlImportNamespace &set = *ns; | - |
294 | | - |
295 | | - |
296 | QQmlImportRef &typeimport = cache->m_namedImports[set.prefix]; | - |
297 | typeimport.m_qualifier = set.prefix; | - |
298 | | - |
299 | for (int ii = set.imports.count() - 1; ii >= 0TRUE | evaluated 1178 times by 37 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | evaluated 1178 times by 37 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
|
; --ii) { | 1178 |
300 | const QQmlImportInstance *import = set.imports.at(ii); | - |
301 | QQmlTypeModule *module = QQmlMetaType::typeModule(import->uri, import->majversion); | - |
302 | if (moduleTRUE | evaluated 1162 times by 36 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | evaluated 16 times by 3 testsEvaluated by:- tst_qqmlecmascript
- tst_qquickloader
- tst_qrcqml
|
) { | 16-1162 |
303 | QQmlImportRef &typeimport = cache->m_namedImports[set.prefix]; | - |
304 | typeimport.modules.append(QQmlTypeModuleVersion(module, import->minversion)); | - |
305 | }executed 1162 times by 36 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 1162 |
306 | }executed 1178 times by 37 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 1178 |
307 | }executed 1178 times by 37 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 1178 |
308 | }executed 55249 times by 141 tests: end of block 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
- ...
| 55249 |
309 | | - |
310 | | - |
311 | | - |
312 | | - |
313 | bool excludeBaseUrl(const QString &importUrl, const QString &fileName, const QString &baseUrl) | - |
314 | { | - |
315 | if (importUrl.isEmpty()TRUE | never evaluated | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_examples
- tst_qmldiskcache
|
) | 0-14 |
316 | return never executed: return false; false;never executed: return false; | 0 |
317 | | - |
318 | if (baseUrl.startsWith(importUrl)TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_examples
- tst_qmldiskcache
| FALSE | evaluated 2 times by 1 test |
) | 2-12 |
319 | { | - |
320 | if (fileName == baseUrl.midRef(importUrl.size())TRUE | never evaluated | FALSE | evaluated 12 times by 2 testsEvaluated by:- tst_examples
- tst_qmldiskcache
|
) | 0-12 |
321 | return never executed: return false; false;never executed: return false; | 0 |
322 | }executed 12 times by 2 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
| 12 |
323 | | - |
324 | returnexecuted 14 times by 2 tests: return true; Executed by:- tst_examples
- tst_qmldiskcache
true;executed 14 times by 2 tests: return true; Executed by:- tst_examples
- tst_qmldiskcache
| 14 |
325 | } | - |
326 | | - |
327 | void findCompositeSingletons(const QQmlImportNamespace &set, QList<QQmlImports::CompositeSingletonReference> &resultList, const QUrl &baseUrl) | - |
328 | { | - |
329 | typedef QQmlDirComponents::const_iterator ConstIterator; | - |
330 | | - |
331 | for (int ii = set.imports.count() - 1; ii >= 0TRUE | evaluated 58267 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 56147 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; --ii) { | 56147-58267 |
332 | const QQmlImportInstance *import = set.imports.at(ii); | - |
333 | | - |
334 | const QQmlDirComponents &components = import->qmlDirComponents; | - |
335 | | - |
336 | ConstIterator cend = components.constEnd(); | - |
337 | for (ConstIterator cit = components.constBegin(); cit != cendTRUE | evaluated 748 times by 15 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 58267 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ++cit) { | 748-58267 |
338 | if (cit->singletonTRUE | evaluated 14 times by 2 testsEvaluated by:- tst_examples
- tst_qmldiskcache
| FALSE | evaluated 734 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
&& excludeBaseUrl(import->url, cit->fileName, baseUrl.toString())TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_examples
- tst_qmldiskcache
| FALSE | never evaluated |
) { | 0-734 |
339 | QQmlImports::CompositeSingletonReference ref; | - |
340 | ref.typeName = cit->typeName; | - |
341 | ref.prefix = set.prefix; | - |
342 | ref.majorVersion = cit->majorVersion; | - |
343 | ref.minorVersion = cit->minorVersion; | - |
344 | resultList.append(ref); | - |
345 | }executed 14 times by 2 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
| 14 |
346 | }executed 748 times by 15 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 748 |
347 | | - |
348 | if (QQmlTypeModule *module = QQmlMetaType::typeModule(import->uri, import->majversion)TRUE | evaluated 57987 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 280 times by 17 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qrcqml
|
) { | 280-57987 |
349 | module->walkCompositeSingletons([&resultList, &set](const QQmlType &singleton) { | - |
350 | QQmlImports::CompositeSingletonReference ref; | - |
351 | ref.typeName = singleton.elementName(); | - |
352 | ref.prefix = set.prefix; | - |
353 | ref.majorVersion = singleton.majorVersion(); | - |
354 | ref.minorVersion = singleton.minorVersion(); | - |
355 | resultList.append(ref); | - |
356 | }executed 10 times by 3 tests: end of block Executed by:- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmltypeloader
); | 10 |
357 | }executed 57987 times by 141 tests: end of block 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
- ...
| 57987 |
358 | }executed 58267 times by 141 tests: end of block 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
- ...
| 58267 |
359 | }executed 56147 times by 141 tests: end of block 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
- ...
| 56147 |
360 | QList<QQmlImports::CompositeSingletonReference> QQmlImports::resolvedCompositeSingletons() const | - |
361 | { | - |
362 | QList<QQmlImports::CompositeSingletonReference> compositeSingletons; | - |
363 | | - |
364 | const QQmlImportNamespace &set = d->unqualifiedset; | - |
365 | findCompositeSingletons(set, compositeSingletons, baseUrl()); | - |
366 | | - |
367 | for (QQmlImportNamespace *ns = d->qualifiedSets.first(); nsTRUE | evaluated 1094 times by 36 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
| FALSE | evaluated 55053 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ns = d->qualifiedSets.next(ns)) { | 1094-55053 |
368 | const QQmlImportNamespace &set = *ns; | - |
369 | findCompositeSingletons(set, compositeSingletons, baseUrl()); | - |
370 | }executed 1094 times by 36 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
| 1094 |
371 | | - |
372 | returnexecuted 55053 times by 141 tests: return compositeSingletons; 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
- ...
compositeSingletons;executed 55053 times by 141 tests: return compositeSingletons; 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
- ...
| 55053 |
373 | } | - |
374 | | - |
375 | | - |
376 | | - |
377 | | - |
378 | | - |
379 | | - |
380 | | - |
381 | QList<QQmlImports::ScriptReference> QQmlImports::resolvedScripts() const | - |
382 | { | - |
383 | QList<QQmlImports::ScriptReference> scripts; | - |
384 | | - |
385 | const QQmlImportNamespace &set = d->unqualifiedset; | - |
386 | | - |
387 | for (int ii = set.imports.count() - 1; ii >= 0TRUE | evaluated 57173 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 55053 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; --ii) { | 55053-57173 |
388 | const QQmlImportInstance *import = set.imports.at(ii); | - |
389 | | - |
390 | for (const QQmlDirParser::Script &script : import->qmlDirScripts) { | - |
391 | ScriptReference ref; | - |
392 | ref.nameSpace = script.nameSpace; | - |
393 | ref.location = QUrl(import->url).resolved(QUrl(script.fileName)); | - |
394 | scripts.append(ref); | - |
395 | }executed 4 times by 1 test: end of block | 4 |
396 | }executed 57173 times by 141 tests: end of block 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
- ...
| 57173 |
397 | | - |
398 | for (QQmlImportNamespace *ns = d->qualifiedSets.first(); nsTRUE | evaluated 1094 times by 36 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
| FALSE | evaluated 55053 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ns = d->qualifiedSets.next(ns)) { | 1094-55053 |
399 | const QQmlImportNamespace &set = *ns; | - |
400 | | - |
401 | for (int ii = set.imports.count() - 1; ii >= 0TRUE | evaluated 1094 times by 36 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
| FALSE | evaluated 1094 times by 36 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
|
; --ii) { | 1094 |
402 | const QQmlImportInstance *import = set.imports.at(ii); | - |
403 | | - |
404 | for (const QQmlDirParser::Script &script : import->qmlDirScripts) { | - |
405 | ScriptReference ref; | - |
406 | ref.nameSpace = script.nameSpace; | - |
407 | ref.qualifier = set.prefix; | - |
408 | ref.location = QUrl(import->url).resolved(QUrl(script.fileName)); | - |
409 | scripts.append(ref); | - |
410 | }executed 4 times by 1 test: end of block | 4 |
411 | }executed 1094 times by 36 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
| 1094 |
412 | }executed 1094 times by 36 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
| 1094 |
413 | | - |
414 | returnexecuted 55053 times by 141 tests: return scripts; 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
- ...
scripts;executed 55053 times by 141 tests: return scripts; 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
- ...
| 55053 |
415 | } | - |
416 | | - |
417 | static QString joinStringRefs(const QVector<QStringRef> &refs, const QChar &sep) | - |
418 | { | - |
419 | QString str; | - |
420 | for (auto it = refs.cbegin(); it != refs.cend()TRUE | evaluated 128371 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 105443 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ++it) { | 105443-128371 |
421 | if (it != refs.cbegin()TRUE | evaluated 22928 times by 65 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- ...
| FALSE | evaluated 105443 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 22928-105443 |
422 | str += sep;executed 22928 times by 65 tests: str += sep; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- ...
| 22928 |
423 | str += *it; | - |
424 | }executed 128371 times by 141 tests: end of block 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
- ...
| 128371 |
425 | returnexecuted 105443 times by 141 tests: return str; 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
- ...
str;executed 105443 times by 141 tests: return str; 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
- ...
| 105443 |
426 | } | - |
427 | QStringList QQmlImports::completeQmldirPaths(const QString &uri, const QStringList &basePaths, int vmaj, int vmin) | - |
428 | { | - |
429 | const QVector<QStringRef> parts = uri.splitRef(Dot, QString::SkipEmptyParts); | - |
430 | | - |
431 | QStringList qmlDirPathsPaths; | - |
432 | | - |
433 | qmlDirPathsPaths.reserve(basePaths.count() * (2 * parts.count() + 1)); | - |
434 | | - |
435 | for (int version = FullyVersioned; version <= UnversionedTRUE | evaluated 27387 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 9129 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ++version) { | 9129-27387 |
436 | const QString ver = versionString(vmaj, vmin, static_cast<QQmlImports::ImportVersion>(version)); | - |
437 | | - |
438 | for (const QString &path : basePaths) { | - |
439 | QString dir = path; | - |
440 | if (!dir.endsWith(Slash)TRUE | evaluated 82635 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlimport
|
&& !dir.endsWith(Backslash)TRUE | evaluated 82635 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | never evaluated |
) | 0-82635 |
441 | dir += Slash;executed 82635 times by 141 tests: dir += Slash; 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
- ...
| 82635 |
442 | | - |
443 | | - |
444 | qmlDirPathsPaths += dir + joinStringRefs(parts, Slash) + ver + Slash_qmldir; | - |
445 | | - |
446 | if (version != UnversionedTRUE | evaluated 55106 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 27553 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 27553-55106 |
447 | | - |
448 | for (int index = parts.count() - 2; index >= 0TRUE | evaluated 11392 times by 65 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- ...
| FALSE | evaluated 55106 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; --index) { | 11392-55106 |
449 | qmlDirPathsPaths += dir + joinStringRefs(parts.mid(0, index + 1), Slash) | - |
450 | + ver + Slash | - |
451 | + joinStringRefs(parts.mid(index + 1), Slash) + Slash_qmldir; | - |
452 | }executed 11392 times by 65 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlstatemachine
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickfolderlistmodel
- ...
| 11392 |
453 | }executed 55106 times by 141 tests: end of block 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
- ...
| 55106 |
454 | }executed 82659 times by 141 tests: end of block 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
- ...
| 82659 |
455 | }executed 27387 times by 141 tests: end of block 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
- ...
| 27387 |
456 | | - |
457 | returnexecuted 9129 times by 141 tests: return qmlDirPathsPaths; 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
- ...
qmlDirPathsPaths;executed 9129 times by 141 tests: return qmlDirPathsPaths; 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
- ...
| 9129 |
458 | } | - |
459 | | - |
460 | QString QQmlImports::versionString(int vmaj, int vmin, ImportVersion version) | - |
461 | { | - |
462 | if (version == QQmlImports::FullyVersionedTRUE | evaluated 9141 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 18278 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 9141-18278 |
463 | | - |
464 | returnexecuted 9141 times by 141 tests: return QString::asprintf(".%d.%d", vmaj, vmin); 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
- ...
QString::asprintf(".%d.%d", vmaj, vmin);executed 9141 times by 141 tests: return QString::asprintf(".%d.%d", vmaj, vmin); 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
- ...
| 9141 |
465 | } else if (version == QQmlImports::PartiallyVersionedTRUE | evaluated 9141 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 9137 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 9137-9141 |
466 | | - |
467 | returnexecuted 9141 times by 141 tests: return QString::asprintf(".%d", vmaj); 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
- ...
QString::asprintf(".%d", vmaj);executed 9141 times by 141 tests: return QString::asprintf(".%d", vmaj); 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
- ...
| 9141 |
468 | } | - |
469 | returnexecuted 9137 times by 141 tests: return QString(); 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
- ...
QString();executed 9137 times by 141 tests: return QString(); 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
- ...
| 9137 |
470 | } | - |
471 | bool QQmlImports::resolveType(const QHashedStringRef &type, | - |
472 | QQmlType *type_return, int *vmaj, int *vmin, | - |
473 | QQmlImportNamespace** ns_return, QList<QQmlError> *errors, | - |
474 | QQmlType::RegistrationType registrationType, | - |
475 | QQmlImport::RecursionRestriction recursionRestriction) const | - |
476 | { | - |
477 | QQmlImportNamespace* ns = d->findQualifiedNamespace(type); | - |
478 | if (nsTRUE | evaluated 31 times by 3 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickscreen
| FALSE | evaluated 370907 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 31-370907 |
479 | if (ns_returnTRUE | never evaluated | FALSE | evaluated 31 times by 3 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickscreen
|
) | 0-31 |
480 | * never executed: *ns_return = ns; ns_return = ns;never executed: *ns_return = ns; | 0 |
481 | returnexecuted 31 times by 3 tests: return true; Executed by:- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickscreen
true;executed 31 times by 3 tests: return true; Executed by:- tst_qqmlecmascript
- tst_qqmlvaluetypes
- tst_qquickscreen
| 31 |
482 | } | - |
483 | if (type_returnTRUE | evaluated 370907 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | never evaluated |
) { | 0-370907 |
484 | if (d->resolveType(type, vmaj, vmin, type_return, errors, registrationType,TRUE | evaluated 80586 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 290321 times by 72 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
|
| 80586-290321 |
485 | recursionRestriction)TRUE | evaluated 80586 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 290321 times by 72 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
|
) { | 80586-290321 |
486 | if (qmlImportTrace()TRUE | never evaluated | FALSE | evaluated 80586 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 0-80586 |
487 | | - |
488 | | - |
489 | | - |
490 | if (type_returnTRUE | never evaluated | FALSE | never evaluated |
&& type_return->isValid()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
491 | if (type_return->isCompositeSingleton()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
492 | QMessageLogger(__FILE__, 659, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ')' << "::resolveType: " << type.toString() << " => " << type_return->typeName() << ' ' << type_return->sourceUrl() << " TYPE/URL-SINGLETON"; never executed: QMessageLogger(__FILE__, 659, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ')' << "::resolveType: " << type.toString() << " => " << type_return->typeName() << ' ' << type_return->sourceUrl() << " TYPE/URL-SINGLETON"; | 0 |
493 | else if (type_return->isComposite()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
494 | QMessageLogger(__FILE__, 661, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ')' << "::resolveType: " << type.toString() << " => " << type_return->typeName() << ' ' << type_return->sourceUrl() << " TYPE/URL"; never executed: QMessageLogger(__FILE__, 661, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ')' << "::resolveType: " << type.toString() << " => " << type_return->typeName() << ' ' << type_return->sourceUrl() << " TYPE/URL"; | 0 |
495 | else | - |
496 | QMessageLogger(__FILE__, 663, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ')' << "::resolveType: " << type.toString() << " => " << type_return->typeName() << " TYPE"; never executed: QMessageLogger(__FILE__, 663, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ')' << "::resolveType: " << type.toString() << " => " << type_return->typeName() << " TYPE"; | 0 |
497 | } | - |
498 | | - |
499 | } never executed: end of block | 0 |
500 | returnexecuted 80586 times by 141 tests: return true; 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
- ...
true;executed 80586 times by 141 tests: return true; 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
- ...
| 80586 |
501 | } | - |
502 | }executed 290321 times by 72 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
| 290321 |
503 | returnexecuted 290321 times by 72 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
false;executed 290321 times by 72 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
| 290321 |
504 | } | - |
505 | | - |
506 | bool QQmlImportInstance::setQmldirContent(const QString &resolvedUrl, const QQmlTypeLoaderQmldirContent &qmldir, QQmlImportNamespace *nameSpace, QList<QQmlError> *errors) | - |
507 | { | - |
508 | ((resolvedUrl.endsWith(Slash)) ? static_cast<void>(0) : qt_assert("resolvedUrl.endsWith(Slash)", __FILE__, 675)); | - |
509 | url = resolvedUrl; | - |
510 | | - |
511 | qmlDirComponents = qmldir.components(); | - |
512 | | - |
513 | const QQmlDirScripts &scripts = qmldir.scripts(); | - |
514 | if (!scripts.isEmpty()TRUE | evaluated 12 times by 1 test | FALSE | evaluated 56989 times by 140 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 12-56989 |
515 | | - |
516 | for (QList<QQmlImportInstance *>::const_iterator it = nameSpace->imports.constBegin(); | - |
517 | it != nameSpace->imports.constEnd()TRUE | evaluated 16 times by 1 test | FALSE | evaluated 12 times by 1 test |
; ++it) { | 12-16 |
518 | if ((*TRUE | evaluated 4 times by 1 test | FALSE | evaluated 12 times by 1 test |
it != this)TRUE | evaluated 4 times by 1 test | FALSE | evaluated 12 times by 1 test |
&& ((*TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
it)->uri == uri)TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) { | 0-12 |
519 | QQmlError error; | - |
520 | error.setDescription(QQmlImportDatabase::tr("\"%1\" is ambiguous. Found in %2 and in %3").arg(uri).arg(url).arg((*it)->url)); | - |
521 | errors->prepend(error); | - |
522 | return never executed: return false; false;never executed: return false; | 0 |
523 | } | - |
524 | }executed 16 times by 1 test: end of block | 16 |
525 | | - |
526 | qmlDirScripts = getVersionedScripts(scripts, majversion, minversion); | - |
527 | }executed 12 times by 1 test: end of block | 12 |
528 | | - |
529 | returnexecuted 57001 times by 140 tests: return true; 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
- ...
true;executed 57001 times by 140 tests: return true; 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
- ...
| 57001 |
530 | } | - |
531 | | - |
532 | QQmlDirScripts QQmlImportInstance::getVersionedScripts(const QQmlDirScripts &qmldirscripts, int vmaj, int vmin) | - |
533 | { | - |
534 | QMap<QString, QQmlDirParser::Script> versioned; | - |
535 | | - |
536 | for (QList<QQmlDirParser::Script>::const_iterator sit = qmldirscripts.constBegin(); | - |
537 | sit != qmldirscripts.constEnd()TRUE | evaluated 12 times by 1 test | FALSE | evaluated 12 times by 1 test |
; ++sit) { | 12 |
538 | | - |
539 | if (((TRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
vmaj == -1)TRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
|| (TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
sit->majorVersion == vmaj)TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
) && | 0-12 |
540 | ((TRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
vmin == -1)TRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
|| (TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
sit->minorVersion <= vmin)TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
)) { | 0-12 |
541 | | - |
542 | QMap<QString, QQmlDirParser::Script>::iterator vit = versioned.find(sit->nameSpace); | - |
543 | if (vit == versioned.end()TRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
|| (TRUE | never evaluated | FALSE | never evaluated |
vit->minorVersion < sit->minorVersion)TRUE | never evaluated | FALSE | never evaluated |
) { | 0-12 |
544 | versioned.insert(sit->nameSpace, *sit); | - |
545 | }executed 12 times by 1 test: end of block | 12 |
546 | }executed 12 times by 1 test: end of block | 12 |
547 | }executed 12 times by 1 test: end of block | 12 |
548 | | - |
549 | returnexecuted 12 times by 1 test: return versioned.values(); versioned.values();executed 12 times by 1 test: return versioned.values(); | 12 |
550 | } | - |
551 | bool QQmlImports::resolveType(QQmlImportNamespace *ns, const QHashedStringRef &type, | - |
552 | QQmlType *type_return, int *vmaj, int *vmin, | - |
553 | QQmlType::RegistrationType registrationType) const | - |
554 | { | - |
555 | return never executed: return ns->resolveType(d->typeLoader, type, vmaj, vmin, type_return, nullptr, nullptr, registrationType); ns->resolveType(d->typeLoader, type, vmaj, vmin, type_return, nullptr, nullptr, registrationType);never executed: return ns->resolveType(d->typeLoader, type, vmaj, vmin, type_return, nullptr, nullptr, registrationType); | 0 |
556 | } | - |
557 | | - |
558 | bool QQmlImportInstance::resolveType(QQmlTypeLoader *typeLoader, const QHashedStringRef& type, | - |
559 | int *vmajor, int *vminor, QQmlType *type_return, QString *base, | - |
560 | bool *typeRecursionDetected, | - |
561 | QQmlType::RegistrationType registrationType, | - |
562 | QQmlImport::RecursionRestriction recursionRestriction, | - |
563 | QList<QQmlError> *errors) const | - |
564 | { | - |
565 | if (majversion >= 0TRUE | evaluated 399848 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 286197 times by 68 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
|
&& minversion >= 0TRUE | evaluated 399848 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | never evaluated |
) { | 0-399848 |
566 | QQmlType t = QQmlMetaType::qmlType(type, uri, majversion, minversion); | - |
567 | if (t.isValid()TRUE | evaluated 79084 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 320764 times by 110 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) { | 79084-320764 |
568 | if (vmajorTRUE | evaluated 76643 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 2441 times by 71 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- ...
|
) *executed 76643 times by 141 tests: *vmajor = majversion; 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
- ...
vmajor = majversion;executed 76643 times by 141 tests: *vmajor = majversion; 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
- ...
| 2441-76643 |
569 | if (vminorTRUE | evaluated 76643 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 2441 times by 71 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltimer
- ...
|
) *executed 76643 times by 141 tests: *vminor = minversion; 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
- ...
vminor = minversion;executed 76643 times by 141 tests: *vminor = minversion; 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
- ...
| 2441-76643 |
570 | if (type_returnTRUE | evaluated 79084 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | never evaluated |
) | 0-79084 |
571 | *executed 79084 times by 141 tests: *type_return = t; 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
- ...
type_return = t;executed 79084 times by 141 tests: *type_return = t; 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
- ...
| 79084 |
572 | returnexecuted 79084 times by 141 tests: return true; 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
- ...
true;executed 79084 times by 141 tests: return true; 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
- ...
| 79084 |
573 | } | - |
574 | }executed 320764 times by 110 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 320764 |
575 | | - |
576 | const QString typeStr = type.toString(); | - |
577 | QQmlDirComponents::ConstIterator it = qmlDirComponents.find(typeStr), end = qmlDirComponents.end(); | - |
578 | if (it != endTRUE | evaluated 680 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 606281 times by 110 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) { | 680-606281 |
579 | QString componentUrl; | - |
580 | bool isCompositeSingleton = false; | - |
581 | QQmlDirComponents::ConstIterator candidate = end; | - |
582 | for ( ; it != endTRUE | evaluated 1493 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 359 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
&& it.key() == typeStrTRUE | evaluated 1172 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 321 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlmoduleplugin
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
; ++it) { | 321-1493 |
583 | const QQmlDirParser::Component &c = *it; | - |
584 | switch (registrationType) { | - |
585 | caseexecuted 1158 times by 13 tests: case QQmlType::AnyRegistrationType: Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
QQmlType::AnyRegistrationType:executed 1158 times by 13 tests: case QQmlType::AnyRegistrationType: Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 1158 |
586 | break;executed 1158 times by 13 tests: break; Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 1158 |
587 | caseexecuted 14 times by 2 tests: case QQmlType::CompositeSingletonType: Executed by:- tst_examples
- tst_qmldiskcache
QQmlType::CompositeSingletonType:executed 14 times by 2 tests: case QQmlType::CompositeSingletonType: Executed by:- tst_examples
- tst_qmldiskcache
| 14 |
588 | if (!c.singletonTRUE | never evaluated | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_examples
- tst_qmldiskcache
|
) | 0-14 |
589 | continue; never executed: continue; | 0 |
590 | break;executed 14 times by 2 tests: break; Executed by:- tst_examples
- tst_qmldiskcache
| 14 |
591 | default never executed: default: :never executed: default: | 0 |
592 | if (c.singletonTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
593 | continue; never executed: continue; | 0 |
594 | break; never executed: break; | 0 |
595 | } | - |
596 | | - |
597 | | - |
598 | if ((TRUE | evaluated 182 times by 6 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquicktextedit
| FALSE | evaluated 990 times by 9 testsEvaluated by:- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
majversion == -1)TRUE | evaluated 182 times by 6 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquicktextedit
| FALSE | evaluated 990 times by 9 testsEvaluated by:- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
|| | 182-990 |
599 | (implicitlyImportedTRUE | never evaluated | FALSE | evaluated 990 times by 9 testsEvaluated by:- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
&& c.internalTRUE | never evaluated | FALSE | never evaluated |
) || | 0-990 |
600 | (c.majorVersion == majversionTRUE | evaluated 980 times by 9 testsEvaluated by:- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 10 times by 1 test |
&& c.minorVersion <= minversionTRUE | evaluated 510 times by 9 testsEvaluated by:- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 470 times by 4 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_testfiltering
|
)) { | 10-980 |
601 | | - |
602 | if ((TRUE | evaluated 680 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 12 times by 2 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_quicktestmainwithsetup
|
candidate == end)TRUE | evaluated 680 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 12 times by 2 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_quicktestmainwithsetup
|
|| | 12-680 |
603 | (TRUE | never evaluated | FALSE | evaluated 12 times by 2 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_quicktestmainwithsetup
|
c.majorVersion > candidate->majorVersion)TRUE | never evaluated | FALSE | evaluated 12 times by 2 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_quicktestmainwithsetup
|
|| | 0-12 |
604 | ((TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_quicktestmainwithsetup
| FALSE | evaluated 4 times by 1 test |
c.majorVersion == candidate->majorVersion)TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_quicktestmainwithsetup
| FALSE | evaluated 4 times by 1 test |
&& (TRUE | never evaluated | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_quicktestmainwithsetup
|
c.minorVersion > candidate->minorVersion)TRUE | never evaluated | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_quicktestmainwithsetup
|
)) { | 0-8 |
605 | if (baseTRUE | evaluated 680 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | never evaluated |
) { | 0-680 |
606 | componentUrl = resolveLocalUrl(QString(url + c.typeName + dotqml_string), c.fileName); | - |
607 | if (c.internalTRUE | never evaluated | FALSE | evaluated 680 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
) { | 0-680 |
608 | if (resolveLocalUrl(*base, c.fileName) != componentUrlTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
609 | continue; never executed: continue; | 0 |
610 | } never executed: end of block | 0 |
611 | if (recursionRestriction == QQmlImport::PreventRecursionTRUE | evaluated 680 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | never evaluated |
&& *TRUE | never evaluated | FALSE | evaluated 680 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
base == componentUrlTRUE | never evaluated | FALSE | evaluated 680 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
) { | 0-680 |
612 | if (typeRecursionDetectedTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
613 | * never executed: *typeRecursionDetected = true; typeRecursionDetected = true;never executed: *typeRecursionDetected = true; | 0 |
614 | continue; never executed: continue; | 0 |
615 | } | - |
616 | }executed 680 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 680 |
617 | | - |
618 | | - |
619 | candidate = it; | - |
620 | isCompositeSingleton = c.singleton; | - |
621 | }executed 680 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 680 |
622 | }executed 692 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 692 |
623 | }executed 1172 times by 13 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 1172 |
624 | | - |
625 | if (candidate != endTRUE | evaluated 680 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | never evaluated |
) { | 0-680 |
626 | if (!baseTRUE | never evaluated | FALSE | evaluated 680 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
) | 0-680 |
627 | componentUrl = resolveLocalUrl(QString(url + candidate->typeName + dotqml_string), candidate->fileName); never executed: componentUrl = resolveLocalUrl(QString(url + candidate->typeName + dotqml_string), candidate->fileName); | 0 |
628 | int major = vmajorTRUE | evaluated 174 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 506 times by 7 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
? *vmajor : -1; | 174-506 |
629 | int minor = vminorTRUE | evaluated 174 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 506 times by 7 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_testfiltering
|
? *vminor : -1; | 174-506 |
630 | QQmlType returnType = fetchOrCreateTypeForUrl(componentUrl, type, isCompositeSingleton, | - |
631 | nullptr, major, minor); | - |
632 | if (type_returnTRUE | evaluated 680 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | never evaluated |
) | 0-680 |
633 | *executed 680 times by 13 tests: *type_return = returnType; Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
type_return = returnType;executed 680 times by 13 tests: *type_return = returnType; Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 680 |
634 | returnexecuted 680 times by 13 tests: return returnType.isValid(); Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
returnType.isValid();executed 680 times by 13 tests: return returnType.isValid(); Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 680 |
635 | } | - |
636 | } never executed: end of block else if (!isLibraryTRUE | evaluated 286019 times by 68 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
| FALSE | evaluated 320262 times by 110 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) { | 0-320262 |
637 | QString qmlUrl; | - |
638 | bool exists = false; | - |
639 | | - |
640 | const QString urlsToTry[2] = { | - |
641 | url + QString::fromRawData(type.constData(), type.length()) + dotqml_string, | - |
642 | url + QString::fromRawData(type.constData(), type.length()) + dotuidotqml_string | - |
643 | }; | - |
644 | for (uint i = 0; i < sizeof(urlsToTry) / sizeof(urlsToTry[0])TRUE | evaluated 571224 times by 68 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
| FALSE | evaluated 285199 times by 60 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
|
; ++i) { | 285199-571224 |
645 | const QString url = urlsToTry[i]; | - |
646 | const QString localPath = QQmlFile::urlToLocalFileOrQrc(url); | - |
647 | exists = !typeLoader->absoluteFilePath(localPath).isEmpty(); | - |
648 | if (existsTRUE | evaluated 820 times by 36 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
| FALSE | evaluated 570404 times by 61 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- ...
|
) { | 820-570404 |
649 | | - |
650 | if (!QQml_isFileCaseCorrect(localPath)TRUE | never evaluated | FALSE | evaluated 820 times by 36 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
|
) { | 0-820 |
651 | exists = false; | - |
652 | if (errorsTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
653 | QQmlError caseError; | - |
654 | caseError.setDescription(QLatin1String("File name case mismatch")); | - |
655 | errors->append(caseError); | - |
656 | } never executed: end of block | 0 |
657 | break; never executed: break; | 0 |
658 | } | - |
659 | qmlUrl = url; | - |
660 | break;executed 820 times by 36 tests: break; Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
| 820 |
661 | } | - |
662 | }executed 570404 times by 61 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- ...
| 570404 |
663 | | - |
664 | if (existsTRUE | evaluated 820 times by 36 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
| FALSE | evaluated 285199 times by 60 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
|
) { | 820-285199 |
665 | if (recursionRestriction == QQmlImport::PreventRecursionTRUE | evaluated 818 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- ...
| FALSE | evaluated 2 times by 1 test |
&& baseTRUE | evaluated 818 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- ...
| FALSE | never evaluated |
&& (*TRUE | never evaluated | FALSE | evaluated 818 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
base == qmlUrl)TRUE | never evaluated | FALSE | evaluated 818 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- ...
|
) { | 0-818 |
666 | if (typeRecursionDetectedTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
667 | * never executed: *typeRecursionDetected = true; typeRecursionDetected = true;never executed: *typeRecursionDetected = true; | 0 |
668 | } never executed: end of block else { | 0 |
669 | QQmlType returnType = fetchOrCreateTypeForUrl( | - |
670 | qmlUrl, type, registrationType == QQmlType::CompositeSingletonType, nullptr); | - |
671 | if (type_returnTRUE | evaluated 820 times by 36 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
| FALSE | never evaluated |
) | 0-820 |
672 | *executed 820 times by 36 tests: *type_return = returnType; Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
type_return = returnType;executed 820 times by 36 tests: *type_return = returnType; Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
| 820 |
673 | returnexecuted 820 times by 36 tests: return returnType.isValid(); Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
returnType.isValid();executed 820 times by 36 tests: return returnType.isValid(); Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistreference
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklayouts
- ...
| 820 |
674 | } | - |
675 | } | - |
676 | }executed 285199 times by 60 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- ...
| 285199 |
677 | | - |
678 | returnexecuted 605461 times by 110 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- ...
false;executed 605461 times by 110 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 605461 |
679 | } | - |
680 | | - |
681 | bool QQmlImportsPrivate::resolveType(const QHashedStringRef& type, int *vmajor, int *vminor, | - |
682 | QQmlType *type_return, QList<QQmlError> *errors, | - |
683 | QQmlType::RegistrationType registrationType, | - |
684 | QQmlImport::RecursionRestriction recursionRestriction) | - |
685 | { | - |
686 | QQmlImportNamespace *s = nullptr; | - |
687 | int dot = type.indexOf(Dot); | - |
688 | if (dot >= 0TRUE | evaluated 1055 times by 35 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | evaluated 369852 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 1055-369852 |
689 | QHashedStringRef namespaceName(type.constData(), dot); | - |
690 | s = findQualifiedNamespace(namespaceName); | - |
691 | if (!sTRUE | evaluated 4 times by 1 test | FALSE | evaluated 1051 times by 35 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
|
) { | 4-1051 |
692 | if (errorsTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) { | 0-4 |
693 | QQmlError error; | - |
694 | error.setDescription(QQmlImportDatabase::tr("- %1 is not a namespace").arg(namespaceName.toString())); | - |
695 | errors->prepend(error); | - |
696 | }executed 4 times by 1 test: end of block | 4 |
697 | returnexecuted 4 times by 1 test: return false; false;executed 4 times by 1 test: return false; | 4 |
698 | } | - |
699 | int ndot = type.indexOf(Dot,dot+1); | - |
700 | if (ndot > 0TRUE | never evaluated | FALSE | evaluated 1051 times by 35 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
|
) { | 0-1051 |
701 | if (errorsTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
702 | QQmlError error; | - |
703 | error.setDescription(QQmlImportDatabase::tr("- nested namespaces not allowed")); | - |
704 | errors->prepend(error); | - |
705 | } never executed: end of block | 0 |
706 | return never executed: return false; false;never executed: return false; | 0 |
707 | } | - |
708 | }executed 1051 times by 35 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
else { | 1051 |
709 | s = &unqualifiedset; | - |
710 | }executed 369852 times by 141 tests: end of block 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
- ...
| 369852 |
711 | QHashedStringRef unqualifiedtype = dot < 0TRUE | evaluated 369852 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 1051 times by 35 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
|
? type : QHashedStringRef(type.constData()+dot+1, type.length()-dot-1); | 1051-369852 |
712 | if (sTRUE | evaluated 370903 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | never evaluated |
) { | 0-370903 |
713 | if (s->resolveType(typeLoader, unqualifiedtype, vmajor, vminor, type_return, &base, errors,TRUE | evaluated 80584 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 290319 times by 72 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
|
| 80584-290319 |
714 | registrationType, recursionRestriction)TRUE | evaluated 80584 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 290319 times by 72 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
|
) | 80584-290319 |
715 | returnexecuted 80584 times by 141 tests: return true; 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
- ...
true;executed 80584 times by 141 tests: return true; 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
- ...
| 80584 |
716 | if (s->imports.count() == 1TRUE | evaluated 346 times by 32 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- ...
| FALSE | evaluated 289973 times by 68 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- ...
|
&& !s->imports.at(0)->isLibraryTRUE | evaluated 18 times by 3 testsEvaluated by:- tst_qqmltypeloader
- tst_qquickloader
- tst_qtqmlmodules
| FALSE | evaluated 328 times by 31 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- ...
|
&& type_returnTRUE | evaluated 18 times by 3 testsEvaluated by:- tst_qqmltypeloader
- tst_qquickloader
- tst_qtqmlmodules
| FALSE | never evaluated |
&& s != &unqualifiedsetTRUE | evaluated 2 times by 1 test | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_qqmltypeloader
- tst_qtqmlmodules
|
) { | 0-289973 |
717 | | - |
718 | *type_return = fetchOrCreateTypeForUrl(resolveLocalUrl(s->imports.at(0)->url, unqualifiedtype.toString() + QLatin1String(".qml")), type, false, errors); | - |
719 | returnexecuted 2 times by 1 test: return type_return->isValid(); type_return->isValid();executed 2 times by 1 test: return type_return->isValid(); | 2 |
720 | } | - |
721 | }executed 290317 times by 72 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
| 290317 |
722 | | - |
723 | returnexecuted 290317 times by 72 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
false;executed 290317 times by 72 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
| 290317 |
724 | } | - |
725 | | - |
726 | QQmlImportInstance *QQmlImportNamespace::findImport(const QString &uri) const | - |
727 | { | - |
728 | for (QQmlImportInstance *import : imports) { | - |
729 | if (import->uri == uriTRUE | evaluated 44 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| FALSE | evaluated 12 times by 3 testsEvaluated by:- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) | 12-44 |
730 | returnexecuted 44 times by 5 tests: return import; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
import;executed 44 times by 5 tests: return import; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| 44 |
731 | }executed 12 times by 3 tests: end of block Executed by:- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| 12 |
732 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
733 | } | - |
734 | | - |
735 | bool QQmlImportNamespace::resolveType(QQmlTypeLoader *typeLoader, const QHashedStringRef &type, | - |
736 | int *vmajor, int *vminor, QQmlType *type_return, | - |
737 | QString *base, QList<QQmlError> *errors, | - |
738 | QQmlType::RegistrationType registrationType, | - |
739 | QQmlImport::RecursionRestriction recursionRestriction) | - |
740 | { | - |
741 | bool typeRecursionDetected = false; | - |
742 | for (int i=0; i<imports.count()TRUE | evaluated 686045 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 290319 times by 72 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
|
; ++i) { | 290319-686045 |
743 | const QQmlImportInstance *import = imports.at(i); | - |
744 | if (import->resolveType(typeLoader, type, vmajor, vminor, type_return, base,TRUE | evaluated 80584 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 605461 times by 110 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
| 80584-605461 |
745 | &typeRecursionDetected, registrationType, recursionRestriction, errors)TRUE | evaluated 80584 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 605461 times by 110 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) { | 80584-605461 |
746 | if (qmlCheckTypes()TRUE | never evaluated | FALSE | evaluated 80584 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 0-80584 |
747 | | - |
748 | for (int j = i+1; j<imports.count()TRUE | never evaluated | FALSE | never evaluated |
; ++j) { | 0 |
749 | const QQmlImportInstance *import2 = imports.at(j); | - |
750 | if (import2->resolveType(typeLoader, type, vmajor, vminor, nullptr, base,TRUE | never evaluated | FALSE | never evaluated |
| 0 |
751 | nullptr, registrationType)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
752 | if (errorsTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
753 | QString u1 = import->url; | - |
754 | QString u2 = import2->url; | - |
755 | if (baseTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
756 | QStringRef b(base); | - |
757 | int dot = b.lastIndexOf(Dot); | - |
758 | if (dot >= 0TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
759 | b = b.left(dot+1); | - |
760 | QStringRef l = b.left(dot); | - |
761 | if (u1.startsWith(b)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
762 | u1 = u1.mid(b.count()); never executed: u1 = u1.mid(b.count()); | 0 |
763 | else if (u1 == lTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
764 | u1 = QQmlImportDatabase::tr("local directory"); never executed: u1 = QQmlImportDatabase::tr("local directory"); | 0 |
765 | if (u2.startsWith(b)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
766 | u2 = u2.mid(b.count()); never executed: u2 = u2.mid(b.count()); | 0 |
767 | else if (u2 == lTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
768 | u2 = QQmlImportDatabase::tr("local directory"); never executed: u2 = QQmlImportDatabase::tr("local directory"); | 0 |
769 | } never executed: end of block | 0 |
770 | } never executed: end of block | 0 |
771 | | - |
772 | QQmlError error; | - |
773 | if (u1 != u2TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
774 | error.setDescription(QQmlImportDatabase::tr("is ambiguous. Found in %1 and in %2").arg(u1).arg(u2)); | - |
775 | } never executed: end of block else { | 0 |
776 | error.setDescription(QQmlImportDatabase::tr("is ambiguous. Found in %1 in version %2.%3 and %4.%5") | - |
777 | .arg(u1) | - |
778 | .arg(import->majversion).arg(import->minversion) | - |
779 | .arg(import2->majversion).arg(import2->minversion)); | - |
780 | } never executed: end of block | 0 |
781 | errors->prepend(error); | - |
782 | } never executed: end of block | 0 |
783 | return never executed: return false; false;never executed: return false; | 0 |
784 | } | - |
785 | } never executed: end of block | 0 |
786 | } never executed: end of block | 0 |
787 | returnexecuted 80584 times by 141 tests: return true; 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
- ...
true;executed 80584 times by 141 tests: return true; 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
- ...
| 80584 |
788 | } | - |
789 | }executed 605461 times by 110 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 605461 |
790 | if (errorsTRUE | evaluated 290192 times by 72 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
| FALSE | evaluated 127 times by 16 testsEvaluated by:- tst_examples
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmllistmodel
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickscreen
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 127-290192 |
791 | QQmlError error; | - |
792 | if (typeRecursionDetectedTRUE | never evaluated | FALSE | evaluated 290192 times by 72 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
|
) | 0-290192 |
793 | error.setDescription(QQmlImportDatabase::tr("is instantiated recursively")); never executed: error.setDescription(QQmlImportDatabase::tr("is instantiated recursively")); | 0 |
794 | else | - |
795 | error.setDescription(QQmlImportDatabase::tr("is not a type"));executed 290192 times by 72 tests: error.setDescription(QQmlImportDatabase::tr("is not a type")); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
| 290192 |
796 | errors->prepend(error); | - |
797 | }executed 290192 times by 72 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
| 290192 |
798 | returnexecuted 290319 times by 72 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
false;executed 290319 times by 72 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- ...
| 290319 |
799 | } | - |
800 | | - |
801 | QQmlImportsPrivate::QQmlImportsPrivate(QQmlTypeLoader *loader) | - |
802 | : ref(1), typeLoader(loader) { | - |
803 | }executed 55543 times by 141 tests: end of block 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
- ...
| 55543 |
804 | | - |
805 | QQmlImportsPrivate::~QQmlImportsPrivate() | - |
806 | { | - |
807 | while (QQmlImportNamespace *ns = qualifiedSets.takeFirst()TRUE | evaluated 1162 times by 36 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
| FALSE | evaluated 13655 times by 134 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
) | 1162-13655 |
808 | delete ns;executed 1162 times by 36 tests: delete ns; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- ...
| 1162 |
809 | }executed 13655 times by 134 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 13655 |
810 | | - |
811 | QQmlImportNamespace *QQmlImportsPrivate::findQualifiedNamespace(const QHashedStringRef &prefix) const | - |
812 | { | - |
813 | for (QQmlImportNamespace *ns = qualifiedSets.first(); nsTRUE | evaluated 128462 times by 37 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | evaluated 372095 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ns = qualifiedSets.next(ns)) { | 128462-372095 |
814 | if (prefix == ns->prefixTRUE | evaluated 1084 times by 35 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | evaluated 127378 times by 37 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
|
) | 1084-127378 |
815 | returnexecuted 1084 times by 35 tests: return ns; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
ns;executed 1084 times by 35 tests: return ns; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| 1084 |
816 | }executed 127378 times by 37 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 127378 |
817 | returnexecuted 372095 times by 141 tests: return nullptr; 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
- ...
nullptr;executed 372095 times by 141 tests: return nullptr; 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
- ...
| 372095 |
818 | } | - |
819 | | - |
820 | | - |
821 | | - |
822 | | - |
823 | | - |
824 | | - |
825 | static QStringList versionUriList(const QString &uri, int vmaj, int vmin) | - |
826 | { | - |
827 | QStringList result; | - |
828 | for (int version = QQmlImports::FullyVersioned; version <= QQmlImports::UnversionedTRUE | evaluated 24 times by 1 test | FALSE | evaluated 8 times by 1 test |
; ++version) { | 8-24 |
829 | int index = uri.length(); | - |
830 | do { | - |
831 | QString versionUri = uri; | - |
832 | versionUri.insert(index, QQmlImports::versionString(vmaj, vmin, static_cast<QQmlImports::ImportVersion>(version))); | - |
833 | result += versionUri; | - |
834 | | - |
835 | index = uri.lastIndexOf(Dot, index - 1); | - |
836 | }executed 32 times by 1 test: end of block while (index > 0TRUE | evaluated 10 times by 1 test | FALSE | evaluated 22 times by 1 test |
&& version != QQmlImports::UnversionedTRUE | evaluated 8 times by 1 test | FALSE | evaluated 2 times by 1 test |
); | 2-32 |
837 | }executed 24 times by 1 test: end of block | 24 |
838 | returnexecuted 8 times by 1 test: return result; result;executed 8 times by 1 test: return result; | 8 |
839 | } | - |
840 | | - |
841 | static QVector<QStaticPlugin> makePlugins() | - |
842 | { | - |
843 | QVector<QStaticPlugin> plugins; | - |
844 | | - |
845 | | - |
846 | const auto staticPlugins = QPluginLoader::staticPlugins(); | - |
847 | for (const QStaticPlugin &plugin : staticPlugins) { | - |
848 | const QString iid = plugin.metaData().value(QLatin1String("IID")).toString(); | - |
849 | if (iid == QLatin1String("org.qt-project.Qt.QQmlExtensionInterface/1.0")TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
|| iid == QLatin1String("org.qt-project.Qt.QQmlExtensionInterface")TRUE | never evaluated | FALSE | never evaluated |
) { | 0-4 |
850 | plugins.append(plugin); | - |
851 | }executed 4 times by 1 test: end of block | 4 |
852 | }executed 4 times by 1 test: end of block | 4 |
853 | returnexecuted 2 times by 1 test: return plugins; plugins;executed 2 times by 1 test: return plugins; | 2 |
854 | } | - |
855 | | - |
856 | | - |
857 | | - |
858 | | - |
859 | | - |
860 | | - |
861 | bool QQmlImportsPrivate::populatePluginPairVector(QVector<StaticPluginPair> &result, const QString &uri, const QStringList &versionUris, | - |
862 | const QString &qmldirPath, QList<QQmlError> *errors) | - |
863 | { | - |
864 | static const QVector<QStaticPlugin> plugins = makePlugins(); | - |
865 | for (const QStaticPlugin &plugin : plugins) { | - |
866 | | - |
867 | if (QQmlExtensionPlugin *instance = qobject_cast<QQmlExtensionPlugin *>(plugin.instance())TRUE | evaluated 16 times by 1 test | FALSE | never evaluated |
) { | 0-16 |
868 | const QJsonArray metaTagsUriList = plugin.metaData().value(QLatin1String("uri")).toArray(); | - |
869 | if (metaTagsUriList.isEmpty()TRUE | never evaluated | FALSE | evaluated 16 times by 1 test |
) { | 0-16 |
870 | if (errorsTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
871 | QQmlError error; | - |
872 | error.setDescription(QQmlImportDatabase::tr("static plugin for module \"%1\" with name \"%2\" has no metadata URI") | - |
873 | .arg(uri).arg(QString::fromUtf8(instance->metaObject()->className()))); | - |
874 | error.setUrl(QUrl::fromLocalFile(qmldirPath)); | - |
875 | errors->prepend(error); | - |
876 | } never executed: end of block | 0 |
877 | return never executed: return false; false;never executed: return false; | 0 |
878 | } | - |
879 | | - |
880 | for (const QJsonValue &metaTagUri : metaTagsUriList) { | - |
881 | if (versionUris.contains(metaTagUri.toString())TRUE | evaluated 4 times by 1 test | FALSE | evaluated 12 times by 1 test |
) { | 4-12 |
882 | result.append(qMakePair(plugin, metaTagsUriList)); | - |
883 | break;executed 4 times by 1 test: break; | 4 |
884 | } | - |
885 | }executed 12 times by 1 test: end of block | 12 |
886 | }executed 16 times by 1 test: end of block | 16 |
887 | }executed 16 times by 1 test: end of block | 16 |
888 | returnexecuted 8 times by 1 test: return true; true;executed 8 times by 1 test: return true; | 8 |
889 | } | - |
890 | | - |
891 | | - |
892 | static inline QString msgCannotLoadPlugin(const QString &uri, const QString &why) | - |
893 | { | - |
894 | returnexecuted 6 times by 1 test: return QQmlImportDatabase::tr("plugin cannot be loaded for module \"%1\": %2").arg(uri, why); QQmlImportDatabase::tr("plugin cannot be loaded for module \"%1\": %2").arg(uri, why);executed 6 times by 1 test: return QQmlImportDatabase::tr("plugin cannot be loaded for module \"%1\": %2").arg(uri, why); | 6 |
895 | } | - |
896 | | - |
897 | | - |
898 | | - |
899 | | - |
900 | | - |
901 | | - |
902 | | - |
903 | bool QQmlImportsPrivate::importExtension(const QString &qmldirFilePath, | - |
904 | const QString &uri, | - |
905 | int vmaj, int vmin, | - |
906 | QQmlImportDatabase *database, | - |
907 | const QQmlTypeLoaderQmldirContent &qmldir, | - |
908 | QList<QQmlError> *errors) | - |
909 | { | - |
910 | ((qmldir.hasContent()) ? static_cast<void>(0) : qt_assert("qmldir.hasContent()", __FILE__, 1088)); | - |
911 | | - |
912 | if (qmlImportTrace()TRUE | never evaluated | FALSE | evaluated 57013 times by 140 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 0-57013 |
913 | QMessageLogger(__FILE__, 1091, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(base).toLocal8Bit().constData() << ")::importExtension: " never executed: QMessageLogger(__FILE__, 1091, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(base).toLocal8Bit().constData() << ")::importExtension: " << "loaded " << qmldirFilePath; | 0 |
914 | << "loaded " << qmldirFilePath; never executed: QMessageLogger(__FILE__, 1091, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(base).toLocal8Bit().constData() << ")::importExtension: " << "loaded " << qmldirFilePath; | 0 |
915 | | - |
916 | if (designerSupportRequiredTRUE | evaluated 8 times by 1 test | FALSE | evaluated 57005 times by 140 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
&& !qmldir.designerSupported()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 6 times by 1 test |
) { | 2-57005 |
917 | if (errorsTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-2 |
918 | QQmlError error; | - |
919 | error.setDescription(QQmlImportDatabase::tr("module does not support the designer \"%1\"").arg(qmldir.typeNamespace())); | - |
920 | error.setUrl(QUrl::fromLocalFile(qmldirFilePath)); | - |
921 | errors->prepend(error); | - |
922 | }executed 2 times by 1 test: end of block | 2 |
923 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
924 | } | - |
925 | | - |
926 | int qmldirPluginCount = qmldir.plugins().count(); | - |
927 | if (qmldirPluginCount == 0TRUE | evaluated 595 times by 31 testsEvaluated by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlprofilerservice
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| FALSE | evaluated 56416 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) | 595-56416 |
928 | returnexecuted 595 times by 31 tests: return true; Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlprofilerservice
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
true;executed 595 times by 31 tests: return true; Executed by:- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllocale
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlprofilerservice
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- ...
| 595 |
929 | | - |
930 | if (!database->qmlDirFilesForWhichPluginsHaveBeenLoaded.contains(qmldirFilePath)TRUE | evaluated 7399 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 49017 times by 70 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmltypeloader
- ...
|
) { | 7399-49017 |
931 | | - |
932 | | - |
933 | | - |
934 | | - |
935 | | - |
936 | | - |
937 | QString typeNamespace = qmldir.typeNamespace(); | - |
938 | QString qmldirPath = qmldirFilePath; | - |
939 | int slash = qmldirPath.lastIndexOf(Slash); | - |
940 | if (slash > 0TRUE | evaluated 7399 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | never evaluated |
) | 0-7399 |
941 | qmldirPath.truncate(slash);executed 7399 times by 135 tests: qmldirPath.truncate(slash); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7399 |
942 | | - |
943 | int dynamicPluginsFound = 0; | - |
944 | int staticPluginsFound = 0; | - |
945 | | - |
946 | | - |
947 | const auto qmldirPlugins = qmldir.plugins(); | - |
948 | for (const QQmlDirParser::Plugin &plugin : qmldirPlugins) { | - |
949 | QString resolvedFilePath = database->resolvePlugin(typeLoader, qmldirPath, plugin.path, plugin.name); | - |
950 | if (!resolvedFilePath.isEmpty()TRUE | evaluated 7391 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 8 times by 1 test |
) { | 8-7391 |
951 | dynamicPluginsFound++; | - |
952 | if (!database->importDynamicPlugin(resolvedFilePath, uri, typeNamespace, vmaj, errors)TRUE | evaluated 6 times by 1 test | FALSE | evaluated 7385 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 6-7385 |
953 | if (errorsTRUE | evaluated 6 times by 1 test | FALSE | never evaluated |
) { | 0-6 |
954 | | - |
955 | | - |
956 | | - |
957 | QQmlError poppedError = errors->takeFirst(); | - |
958 | QQmlError error; | - |
959 | error.setDescription(msgCannotLoadPlugin(uri, poppedError.description())); | - |
960 | error.setUrl(QUrl::fromLocalFile(qmldirFilePath)); | - |
961 | errors->prepend(error); | - |
962 | }executed 6 times by 1 test: end of block | 6 |
963 | returnexecuted 6 times by 1 test: return false; false;executed 6 times by 1 test: return false; | 6 |
964 | } | - |
965 | }executed 7385 times by 135 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7385 |
966 | }executed 7393 times by 135 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7393 |
967 | | - |
968 | | - |
969 | if (dynamicPluginsFound < qmldirPluginCountTRUE | evaluated 8 times by 1 test | FALSE | evaluated 7385 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 8-7385 |
970 | | - |
971 | | - |
972 | | - |
973 | | - |
974 | | - |
975 | const QStringList versionUris = versionUriList(uri, vmaj, vmin); | - |
976 | QVector<StaticPluginPair> pluginPairs; | - |
977 | if (!populatePluginPairVector(pluginPairs, uri, versionUris, qmldirFilePath, errors)TRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
) | 0-8 |
978 | return never executed: return false; false;never executed: return false; | 0 |
979 | | - |
980 | const QString basePath = QFileInfo(qmldirPath).absoluteFilePath(); | - |
981 | for (const QString &versionUri : versionUris) { | - |
982 | for (const StaticPluginPair &pair : qAsConst(pluginPairs)) { | - |
983 | for (const QJsonValue &metaTagUri : pair.second) { | - |
984 | if (versionUri == metaTagUri.toString()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 8 times by 1 test |
) { | 4-8 |
985 | staticPluginsFound++; | - |
986 | QObject *instance = pair.first.instance(); | - |
987 | if (!database->importStaticPlugin(instance, basePath, uri, typeNamespace, vmaj, errors)TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
988 | if (errorsTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
989 | QQmlError poppedError = errors->takeFirst(); | - |
990 | QQmlError error; | - |
991 | error.setDescription(QQmlImportDatabase::tr("static plugin for module \"%1\" with name \"%2\" cannot be loaded: %3") | - |
992 | .arg(uri).arg(QString::fromUtf8(instance->metaObject()->className())).arg(poppedError.description())); | - |
993 | error.setUrl(QUrl::fromLocalFile(qmldirFilePath)); | - |
994 | errors->prepend(error); | - |
995 | } never executed: end of block | 0 |
996 | return never executed: return false; false;never executed: return false; | 0 |
997 | } | - |
998 | break;executed 4 times by 1 test: break; | 4 |
999 | } | - |
1000 | }executed 8 times by 1 test: end of block | 8 |
1001 | }executed 12 times by 1 test: end of block | 12 |
1002 | if (staticPluginsFound > 0TRUE | evaluated 4 times by 1 test | FALSE | evaluated 28 times by 1 test |
) | 4-28 |
1003 | break;executed 4 times by 1 test: break; | 4 |
1004 | }executed 28 times by 1 test: end of block | 28 |
1005 | }executed 8 times by 1 test: end of block | 8 |
1006 | | - |
1007 | if ((TRUE | evaluated 4 times by 1 test | FALSE | evaluated 7389 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
dynamicPluginsFound + staticPluginsFound) < qmldirPluginCountTRUE | evaluated 4 times by 1 test | FALSE | evaluated 7389 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 4-7389 |
1008 | if (errorsTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) { | 0-4 |
1009 | QQmlError error; | - |
1010 | if (qmldirPluginCount > 1TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
&& staticPluginsFound > 0TRUE | never evaluated | FALSE | never evaluated |
) | 0-4 |
1011 | error.setDescription(QQmlImportDatabase::tr("could not resolve all plugins for module \"%1\"").arg(uri)); never executed: error.setDescription(QQmlImportDatabase::tr("could not resolve all plugins for module \"%1\"").arg(uri)); | 0 |
1012 | else | - |
1013 | error.setDescription(QQmlImportDatabase::tr("module \"%1\" plugin \"%2\" not found").arg(uri).arg(qmldir.plugins()[dynamicPluginsFound].name));executed 4 times by 1 test: error.setDescription(QQmlImportDatabase::tr("module \"%1\" plugin \"%2\" not found").arg(uri).arg(qmldir.plugins()[dynamicPluginsFound].name)); | 4 |
1014 | error.setUrl(QUrl::fromLocalFile(qmldirFilePath)); | - |
1015 | errors->prepend(error); | - |
1016 | }executed 4 times by 1 test: end of block | 4 |
1017 | returnexecuted 4 times by 1 test: return false; false;executed 4 times by 1 test: return false; | 4 |
1018 | } | - |
1019 | | - |
1020 | database->qmlDirFilesForWhichPluginsHaveBeenLoaded.insert(qmldirFilePath); | - |
1021 | }executed 7389 times by 135 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7389 |
1022 | returnexecuted 56406 times by 135 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
true;executed 56406 times by 135 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 56406 |
1023 | } | - |
1024 | | - |
1025 | bool QQmlImportsPrivate::getQmldirContent(const QString &qmldirIdentifier, const QString &uri, | - |
1026 | QQmlTypeLoaderQmldirContent *qmldir, QList<QQmlError> *errors) | - |
1027 | { | - |
1028 | ((errors) ? static_cast<void>(0) : qt_assert("errors", __FILE__, 1206)); | - |
1029 | ((qmldir) ? static_cast<void>(0) : qt_assert("qmldir", __FILE__, 1207)); | - |
1030 | | - |
1031 | *qmldir = typeLoader->qmldirContent(qmldirIdentifier); | - |
1032 | if ((*TRUE | evaluated 57017 times by 140 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | never evaluated |
qmldir).hasContent()TRUE | evaluated 57017 times by 140 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | never evaluated |
) { | 0-57017 |
1033 | | - |
1034 | if ((*TRUE | evaluated 4 times by 1 test | FALSE | evaluated 57013 times by 140 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
qmldir).hasError()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 57013 times by 140 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 4-57013 |
1035 | QUrl url = QUrl::fromLocalFile(qmldirIdentifier); | - |
1036 | const QList<QQmlError> qmldirErrors = (*qmldir).errors(uri); | - |
1037 | for (int i = 0; i < qmldirErrors.size()TRUE | evaluated 6 times by 1 test | FALSE | evaluated 4 times by 1 test |
; ++i) { | 4-6 |
1038 | QQmlError error = qmldirErrors.at(i); | - |
1039 | error.setUrl(url); | - |
1040 | errors->append(error); | - |
1041 | }executed 6 times by 1 test: end of block | 6 |
1042 | returnexecuted 4 times by 1 test: return false; false;executed 4 times by 1 test: return false; | 4 |
1043 | } | - |
1044 | }executed 57013 times by 140 tests: end of block 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
- ...
| 57013 |
1045 | | - |
1046 | returnexecuted 57013 times by 140 tests: return true; 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
- ...
true;executed 57013 times by 140 tests: return true; 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
- ...
| 57013 |
1047 | } | - |
1048 | | - |
1049 | QString QQmlImportsPrivate::resolvedUri(const QString &dir_arg, QQmlImportDatabase *database) | - |
1050 | { | - |
1051 | QString dir = dir_arg; | - |
1052 | if (dir.endsWith(Slash)TRUE | evaluated 9463 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 148 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qquickaccessible
- tst_qquickstates
- tst_qrcqml
|
|| dir.endsWith(Backslash)TRUE | never evaluated | FALSE | evaluated 148 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qquickaccessible
- tst_qquickstates
- tst_qrcqml
|
) | 0-9463 |
1053 | dir.chop(1);executed 9463 times by 127 tests: dir.chop(1); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 9463 |
1054 | | - |
1055 | QStringList paths = database->fileImportPath; | - |
1056 | if (!paths.isEmpty()TRUE | evaluated 9611 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | never evaluated |
) | 0-9611 |
1057 | std::sort(paths.begin(), paths.end(), std::greater<QString>());executed 9611 times by 127 tests: std::sort(paths.begin(), paths.end(), std::greater<QString>()); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 9611 |
1058 | | - |
1059 | QString stableRelativePath = dir; | - |
1060 | for (const QString &path : qAsConst(paths)) { | - |
1061 | if (dir.startsWith(path)TRUE | evaluated 8621 times by 122 testsEvaluated by:- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- ...
| FALSE | evaluated 11791 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 8621-11791 |
1062 | stableRelativePath = dir.mid(path.length()+1); | - |
1063 | break;executed 8621 times by 122 tests: break; Executed by:- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- ...
| 8621 |
1064 | } | - |
1065 | }executed 11791 times by 127 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 11791 |
1066 | | - |
1067 | stableRelativePath.replace(Backslash, Slash); | - |
1068 | | - |
1069 | | - |
1070 | int versionDot = stableRelativePath.lastIndexOf(Dot); | - |
1071 | if (versionDot >= 0TRUE | evaluated 2 times by 1 test | FALSE | evaluated 9609 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 2-9609 |
1072 | int nextSlash = stableRelativePath.indexOf(Slash, versionDot); | - |
1073 | if (nextSlash >= 0TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) | 0-2 |
1074 | stableRelativePath.remove(versionDot, nextSlash - versionDot); never executed: stableRelativePath.remove(versionDot, nextSlash - versionDot); | 0 |
1075 | else | - |
1076 | stableRelativePath = stableRelativePath.left(versionDot);executed 2 times by 1 test: stableRelativePath = stableRelativePath.left(versionDot); | 2 |
1077 | } | - |
1078 | | - |
1079 | stableRelativePath.replace(Slash, Dot); | - |
1080 | | - |
1081 | returnexecuted 9611 times by 127 tests: return stableRelativePath; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
stableRelativePath;executed 9611 times by 127 tests: return stableRelativePath; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 9611 |
1082 | } | - |
1083 | | - |
1084 | | - |
1085 | | - |
1086 | | - |
1087 | | - |
1088 | | - |
1089 | bool QQmlImportsPrivate::locateQmldir(const QString &uri, int vmaj, int vmin, QQmlImportDatabase *database, | - |
1090 | QString *outQmldirFilePath, QString *outQmldirPathUrl) | - |
1091 | { | - |
1092 | ((vmaj >= 0 && vmin >= 0) ? static_cast<void>(0) : qt_assert("vmaj >= 0 && vmin >= 0", __FILE__, 1270)); | - |
1093 | | - |
1094 | | - |
1095 | | - |
1096 | QQmlImportDatabase::QmldirCache *cacheHead = nullptr; | - |
1097 | { | - |
1098 | QQmlImportDatabase::QmldirCache **cachePtr = database->qmldirCache.value(uri); | - |
1099 | if (cachePtrTRUE | evaluated 49610 times by 74 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| FALSE | evaluated 8513 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 8513-49610 |
1100 | cacheHead = *cachePtr; | - |
1101 | QQmlImportDatabase::QmldirCache *cache = cacheHead; | - |
1102 | while (cacheTRUE | evaluated 54028 times by 74 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| FALSE | evaluated 602 times by 29 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlmoduleplugin
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickfolderlistmodel
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktaphandler
- tst_qquicktext
- ...
|
) { | 602-54028 |
1103 | if (cache->versionMajor == vmajTRUE | evaluated 54014 times by 74 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- ...
| FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qquickfolderlistmodel
|
&& cache->versionMinor == vminTRUE | evaluated 49008 times by 69 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- ...
| FALSE | evaluated 5006 times by 28 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlmoduleplugin
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
|
) { | 14-54014 |
1104 | *outQmldirFilePath = cache->qmldirFilePath; | - |
1105 | *outQmldirPathUrl = cache->qmldirPathUrl; | - |
1106 | returnexecuted 49008 times by 69 tests: return !cache->qmldirFilePath.isEmpty(); Executed by:- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- ...
!cache->qmldirFilePath.isEmpty();executed 49008 times by 69 tests: return !cache->qmldirFilePath.isEmpty(); Executed by:- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- ...
| 49008 |
1107 | } | - |
1108 | cache = cache->next; | - |
1109 | }executed 5020 times by 29 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlmoduleplugin
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickfolderlistmodel
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktaphandler
- tst_qquicktext
- ...
| 5020 |
1110 | }executed 602 times by 29 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlmoduleplugin
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickfolderlistmodel
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktaphandler
- tst_qquicktext
- ...
| 602 |
1111 | } | - |
1112 | | - |
1113 | QQmlTypeLoader &typeLoader = QQmlEnginePrivate::get(database->engine)->typeLoader; | - |
1114 | | - |
1115 | | - |
1116 | QQmlAbstractUrlInterceptor *interceptor = typeLoader.engine()->urlInterceptor(); | - |
1117 | QStringList localImportPaths = database->importPathList( | - |
1118 | interceptor ? QQmlImportDatabase::LocalOrRemote : QQmlImportDatabase::Local); | - |
1119 | | - |
1120 | | - |
1121 | const QStringList qmlDirPaths = QQmlImports::completeQmldirPaths(uri, localImportPaths, vmaj, vmin); | - |
1122 | for (QString qmldirPath : qmlDirPaths) { | - |
1123 | if (interceptorTRUE | evaluated 3196 times by 8 testsEvaluated by:- tst_qqmlapplicationengine
- tst_qqmldebugjs
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlnativeconnector
- tst_qqmltypeloader
- tst_qquickshortcut
- tst_sharedimage
| FALSE | evaluated 67083 times by 137 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
) { | 3196-67083 |
1124 | qmldirPath = QQmlFile::urlToLocalFileOrQrc( | - |
1125 | interceptor->intercept(QQmlImports::urlFromLocalFileOrQrcOrUrl(qmldirPath), | - |
1126 | QQmlAbstractUrlInterceptor::QmldirFile)); | - |
1127 | }executed 3196 times by 8 tests: end of block Executed by:- tst_qqmlapplicationengine
- tst_qqmldebugjs
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlnativeconnector
- tst_qqmltypeloader
- tst_qquickshortcut
- tst_sharedimage
| 3196 |
1128 | | - |
1129 | QString absoluteFilePath = typeLoader.absoluteFilePath(qmldirPath); | - |
1130 | if (!absoluteFilePath.isEmpty()TRUE | evaluated 8231 times by 140 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 62048 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 8231-62048 |
1131 | QString url; | - |
1132 | const QStringRef absolutePath = absoluteFilePath.leftRef(absoluteFilePath.lastIndexOf(Slash) + 1); | - |
1133 | if (absolutePath.at(0) == ColonTRUE | evaluated 4 times by 1 test | FALSE | evaluated 8227 times by 140 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 4-8227 |
1134 | url = QLatin1String("qrc://") + absolutePath.mid(1);executed 4 times by 1 test: url = QLatin1String("qrc://") + absolutePath.mid(1); | 4 |
1135 | else | - |
1136 | url = QUrl::fromLocalFile(absolutePath.toString()).toString();executed 8227 times by 140 tests: url = QUrl::fromLocalFile(absolutePath.toString()).toString(); 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
- ...
| 8227 |
1137 | | - |
1138 | QQmlImportDatabase::QmldirCache *cache = new QQmlImportDatabase::QmldirCache; | - |
1139 | cache->versionMajor = vmaj; | - |
1140 | cache->versionMinor = vmin; | - |
1141 | cache->qmldirFilePath = absoluteFilePath; | - |
1142 | cache->qmldirPathUrl = url; | - |
1143 | cache->next = cacheHead; | - |
1144 | database->qmldirCache.insert(uri, cache); | - |
1145 | | - |
1146 | *outQmldirFilePath = absoluteFilePath; | - |
1147 | *outQmldirPathUrl = url; | - |
1148 | | - |
1149 | returnexecuted 8231 times by 140 tests: return true; 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
- ...
true;executed 8231 times by 140 tests: return true; 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
- ...
| 8231 |
1150 | } | - |
1151 | }executed 62048 times by 141 tests: end of block 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
- ...
| 62048 |
1152 | | - |
1153 | QQmlImportDatabase::QmldirCache *cache = new QQmlImportDatabase::QmldirCache; | - |
1154 | cache->versionMajor = vmaj; | - |
1155 | cache->versionMinor = vmin; | - |
1156 | cache->next = cacheHead; | - |
1157 | database->qmldirCache.insert(uri, cache); | - |
1158 | | - |
1159 | returnexecuted 884 times by 44 tests: return false; Executed by:- tst_drawingmodes
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- ...
false;executed 884 times by 44 tests: return false; Executed by:- tst_drawingmodes
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- ...
| 884 |
1160 | } | - |
1161 | | - |
1162 | bool QQmlImportsPrivate::validateQmldirVersion(const QQmlTypeLoaderQmldirContent &qmldir, const QString &uri, int vmaj, int vmin, | - |
1163 | QList<QQmlError> *errors) | - |
1164 | { | - |
1165 | int lowest_min = 0x7fffffff; | - |
1166 | int highest_min = | - |
1167 | (-0x7fffffff - 1) | - |
1168 | ; | - |
1169 | | - |
1170 | typedef QQmlDirComponents::const_iterator ConstIterator; | - |
1171 | const QQmlDirComponents &components = qmldir.components(); | - |
1172 | | - |
1173 | ConstIterator cend = components.constEnd(); | - |
1174 | for (ConstIterator cit = components.constBegin(); cit != cendTRUE | evaluated 24 times by 4 testsEvaluated by:- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
| FALSE | evaluated 34 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
|
; ++cit) { | 24-34 |
1175 | for (ConstIterator cit2 = components.constBegin(); cit2 != citTRUE | evaluated 2 times by 1 test | FALSE | evaluated 24 times by 4 testsEvaluated by:- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
|
; ++cit2) { | 2-24 |
1176 | if ((TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
cit2->typeName == cit->typeName)TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
&& | 0-2 |
1177 | (TRUE | never evaluated | FALSE | never evaluated |
cit2->majorVersion == cit->majorVersion)TRUE | never evaluated | FALSE | never evaluated |
&& | 0 |
1178 | (TRUE | never evaluated | FALSE | never evaluated |
cit2->minorVersion == cit->minorVersion)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1179 | | - |
1180 | QQmlError error; | - |
1181 | error.setDescription(QQmlImportDatabase::tr("\"%1\" version %2.%3 is defined more than once in module \"%4\"") | - |
1182 | .arg(cit->typeName).arg(cit->majorVersion).arg(cit->minorVersion).arg(uri)); | - |
1183 | errors->prepend(error); | - |
1184 | return never executed: return false; false;never executed: return false; | 0 |
1185 | } | - |
1186 | }executed 2 times by 1 test: end of block | 2 |
1187 | | - |
1188 | if (cit->majorVersion == vmajTRUE | evaluated 24 times by 4 testsEvaluated by:- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
| FALSE | never evaluated |
) { | 0-24 |
1189 | lowest_min = qMin(lowest_min, cit->minorVersion); | - |
1190 | highest_min = qMax(highest_min, cit->minorVersion); | - |
1191 | }executed 24 times by 4 tests: end of block Executed by:- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
| 24 |
1192 | }executed 24 times by 4 tests: end of block Executed by:- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
| 24 |
1193 | | - |
1194 | typedef QList<QQmlDirParser::Script>::const_iterator SConstIterator; | - |
1195 | const QQmlDirScripts &scripts = qmldir.scripts(); | - |
1196 | | - |
1197 | SConstIterator send = scripts.constEnd(); | - |
1198 | for (SConstIterator sit = scripts.constBegin(); sit != sendTRUE | evaluated 12 times by 1 test | FALSE | evaluated 34 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
|
; ++sit) { | 12-34 |
1199 | for (SConstIterator sit2 = scripts.constBegin(); sit2 != sitTRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
; ++sit2) { | 0-12 |
1200 | if ((TRUE | never evaluated | FALSE | never evaluated |
sit2->nameSpace == sit->nameSpace)TRUE | never evaluated | FALSE | never evaluated |
&& | 0 |
1201 | (TRUE | never evaluated | FALSE | never evaluated |
sit2->majorVersion == sit->majorVersion)TRUE | never evaluated | FALSE | never evaluated |
&& | 0 |
1202 | (TRUE | never evaluated | FALSE | never evaluated |
sit2->minorVersion == sit->minorVersion)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1203 | | - |
1204 | QQmlError error; | - |
1205 | error.setDescription(QQmlImportDatabase::tr("\"%1\" version %2.%3 is defined more than once in module \"%4\"") | - |
1206 | .arg(sit->nameSpace).arg(sit->majorVersion).arg(sit->minorVersion).arg(uri)); | - |
1207 | errors->prepend(error); | - |
1208 | return never executed: return false; false;never executed: return false; | 0 |
1209 | } | - |
1210 | } never executed: end of block | 0 |
1211 | | - |
1212 | if (sit->majorVersion == vmajTRUE | evaluated 12 times by 1 test | FALSE | never evaluated |
) { | 0-12 |
1213 | lowest_min = qMin(lowest_min, sit->minorVersion); | - |
1214 | highest_min = qMax(highest_min, sit->minorVersion); | - |
1215 | }executed 12 times by 1 test: end of block | 12 |
1216 | }executed 12 times by 1 test: end of block | 12 |
1217 | | - |
1218 | if (lowest_min > vminTRUE | never evaluated | FALSE | evaluated 34 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
|
|| highest_min < vminTRUE | never evaluated | FALSE | evaluated 34 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
|
) { | 0-34 |
1219 | QQmlError error; | - |
1220 | error.setDescription(QQmlImportDatabase::tr("module \"%1\" version %2.%3 is not installed").arg(uri).arg(vmaj).arg(vmin)); | - |
1221 | errors->prepend(error); | - |
1222 | return never executed: return false; false;never executed: return false; | 0 |
1223 | } | - |
1224 | | - |
1225 | returnexecuted 34 times by 5 tests: return true; Executed by:- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
true;executed 34 times by 5 tests: return true; Executed by:- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
| 34 |
1226 | } | - |
1227 | | - |
1228 | QQmlImportNamespace *QQmlImportsPrivate::importNamespace(const QString &prefix) const | - |
1229 | { | - |
1230 | QQmlImportNamespace *nameSpace = nullptr; | - |
1231 | | - |
1232 | if (prefix.isEmpty()TRUE | evaluated 112252 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 1186 times by 37 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
|
) { | 1186-112252 |
1233 | nameSpace = &unqualifiedset; | - |
1234 | }executed 112252 times by 141 tests: end of block 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
- ...
else { | 112252 |
1235 | nameSpace = findQualifiedNamespace(prefix); | - |
1236 | | - |
1237 | if (!nameSpaceTRUE | evaluated 1184 times by 37 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| FALSE | evaluated 2 times by 1 test |
) { | 2-1184 |
1238 | nameSpace = new QQmlImportNamespace; | - |
1239 | nameSpace->prefix = prefix; | - |
1240 | qualifiedSets.append(nameSpace); | - |
1241 | }executed 1184 times by 37 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 1184 |
1242 | }executed 1186 times by 37 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
| 1186 |
1243 | | - |
1244 | returnexecuted 113438 times by 141 tests: return nameSpace; 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
- ...
nameSpace;executed 113438 times by 141 tests: return nameSpace; 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
- ...
| 113438 |
1245 | } | - |
1246 | | - |
1247 | QQmlImportInstance *QQmlImportsPrivate::addImportToNamespace(QQmlImportNamespace *nameSpace, | - |
1248 | const QString &uri, const QString &url, int vmaj, int vmin, | - |
1249 | QV4::CompiledData::Import::ImportType type, | - |
1250 | QList<QQmlError> *errors, bool lowPrecedence) | - |
1251 | { | - |
1252 | ((nameSpace) ? static_cast<void>(0) : qt_assert("nameSpace", __FILE__, 1428)); | - |
1253 | ((errors) ? static_cast<void>(0) : qt_assert("errors", __FILE__, 1429)); | - |
1254 | (void)errors;; | - |
1255 | ((url.isEmpty() || url.endsWith(Slash)) ? static_cast<void>(0) : qt_assert("url.isEmpty() || url.endsWith(Slash)", __FILE__, 1431)); | - |
1256 | | - |
1257 | QQmlImportInstance *import = new QQmlImportInstance; | - |
1258 | import->uri = uri; | - |
1259 | import->url = url; | - |
1260 | import->majversion = vmaj; | - |
1261 | import->minversion = vmin; | - |
1262 | import->isLibrary = (type == QV4::CompiledData::Import::ImportLibrary); | - |
1263 | | - |
1264 | if (lowPrecedenceTRUE | evaluated 54877 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 58339 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 54877-58339 |
1265 | nameSpace->imports.append(import);executed 54877 times by 141 tests: nameSpace->imports.append(import); 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
- ...
| 54877 |
1266 | else | - |
1267 | nameSpace->imports.prepend(import);executed 58339 times by 141 tests: nameSpace->imports.prepend(import); 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
- ...
| 58339 |
1268 | | - |
1269 | returnexecuted 113216 times by 141 tests: return import; 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
- ...
import;executed 113216 times by 141 tests: return import; 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
- ...
| 113216 |
1270 | } | - |
1271 | | - |
1272 | bool QQmlImportsPrivate::addLibraryImport(const QString& uri, const QString &prefix, | - |
1273 | int vmaj, int vmin, const QString &qmldirIdentifier, const QString &qmldirUrl, bool incomplete, | - |
1274 | QQmlImportDatabase *database, | - |
1275 | QList<QQmlError> *errors) | - |
1276 | { | - |
1277 | ((database) ? static_cast<void>(0) : qt_assert("database", __FILE__, 1453)); | - |
1278 | ((errors) ? static_cast<void>(0) : qt_assert("errors", __FILE__, 1454)); | - |
1279 | | - |
1280 | QQmlImportNamespace *nameSpace = importNamespace(prefix); | - |
1281 | ((nameSpace) ? static_cast<void>(0) : qt_assert("nameSpace", __FILE__, 1457)); | - |
1282 | | - |
1283 | QQmlImportInstance *inserted = addImportToNamespace(nameSpace, uri, qmldirUrl, vmaj, vmin, QV4::CompiledData::Import::ImportLibrary, errors); | - |
1284 | ((inserted) ? static_cast<void>(0) : qt_assert("inserted", __FILE__, 1460)); | - |
1285 | | - |
1286 | if (!incompleteTRUE | evaluated 58135 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
|
) { | 8-58135 |
1287 | QQmlTypeLoaderQmldirContent qmldir; | - |
1288 | | - |
1289 | if (!qmldirIdentifier.isEmpty()TRUE | evaluated 56757 times by 140 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 1378 times by 45 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- ...
|
) { | 1378-56757 |
1290 | if (!getQmldirContent(qmldirIdentifier, uri, &qmldir, errors)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 56755 times by 140 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 2-56755 |
1291 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
1292 | | - |
1293 | if (qmldir.hasContent()TRUE | evaluated 56755 times by 140 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | never evaluated |
) { | 0-56755 |
1294 | if (!importExtension(qmldir.pluginLocation(), uri, vmaj, vmin, database, qmldir, errors)TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qqmlimport
- tst_qqmlmoduleplugin
| FALSE | evaluated 56745 times by 140 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 10-56745 |
1295 | returnexecuted 10 times by 2 tests: return false; Executed by:- tst_qqmlimport
- tst_qqmlmoduleplugin
false;executed 10 times by 2 tests: return false; Executed by:- tst_qqmlimport
- tst_qqmlmoduleplugin
| 10 |
1296 | | - |
1297 | if (!inserted->setQmldirContent(qmldirUrl, qmldir, nameSpace, errors)TRUE | never evaluated | FALSE | evaluated 56745 times by 140 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 0-56745 |
1298 | return never executed: return false; false;never executed: return false; | 0 |
1299 | }executed 56745 times by 140 tests: end of block 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
- ...
| 56745 |
1300 | }executed 56745 times by 140 tests: end of block 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
- ...
| 56745 |
1301 | | - |
1302 | | - |
1303 | if ((TRUE | never evaluated | FALSE | evaluated 58123 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
vmaj < 0)TRUE | never evaluated | FALSE | evaluated 58123 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
|| (TRUE | never evaluated | FALSE | evaluated 58123 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
vmin < 0)TRUE | never evaluated | FALSE | evaluated 58123 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
|| !QQmlMetaType::isModule(uri, vmaj, vmin)TRUE | evaluated 42 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
| FALSE | evaluated 58081 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 0-58123 |
1304 | if (inserted->qmlDirComponents.isEmpty()TRUE | evaluated 22 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
| FALSE | evaluated 20 times by 4 testsEvaluated by:- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
|
&& inserted->qmlDirScripts.isEmpty()TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
| FALSE | evaluated 10 times by 1 test |
) { | 10-22 |
1305 | QQmlError error; | - |
1306 | if (QQmlMetaType::isAnyModule(uri)TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
| FALSE | never evaluated |
) | 0-12 |
1307 | error.setDescription(QQmlImportDatabase::tr("module \"%1\" version %2.%3 is not installed").arg(uri).arg(vmaj).arg(vmin));executed 12 times by 2 tests: error.setDescription(QQmlImportDatabase::tr("module \"%1\" version %2.%3 is not installed").arg(uri).arg(vmaj).arg(vmin)); Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
| 12 |
1308 | else | - |
1309 | error.setDescription(QQmlImportDatabase::tr("module \"%1\" is not installed").arg(uri)); never executed: error.setDescription(QQmlImportDatabase::tr("module \"%1\" is not installed").arg(uri)); | 0 |
1310 | errors->prepend(error); | - |
1311 | returnexecuted 12 times by 2 tests: return false; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
false;executed 12 times by 2 tests: return false; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
| 12 |
1312 | } else if ((TRUE | evaluated 30 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
| FALSE | never evaluated |
vmaj >= 0)TRUE | evaluated 30 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
| FALSE | never evaluated |
&& (TRUE | evaluated 30 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
| FALSE | never evaluated |
vmin >= 0)TRUE | evaluated 30 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
| FALSE | never evaluated |
&& qmldir.hasContent()TRUE | evaluated 30 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
| FALSE | never evaluated |
) { | 0-30 |
1313 | | - |
1314 | if (!validateQmldirVersion(qmldir, uri, vmaj, vmin, errors)TRUE | never evaluated | FALSE | evaluated 30 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
|
) | 0-30 |
1315 | return never executed: return false; false;never executed: return false; | 0 |
1316 | }executed 30 times by 5 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
| 30 |
1317 | }executed 30 times by 5 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qrcqml
| 30 |
1318 | }executed 58111 times by 141 tests: end of block 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
- ...
| 58111 |
1319 | | - |
1320 | returnexecuted 58119 times by 141 tests: return true; 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
- ...
true;executed 58119 times by 141 tests: return true; 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
- ...
| 58119 |
1321 | } | - |
1322 | | - |
1323 | bool QQmlImportsPrivate::addFileImport(const QString& uri, const QString &prefix, | - |
1324 | int vmaj, int vmin, | - |
1325 | bool isImplicitImport, bool incomplete, QQmlImportDatabase *database, | - |
1326 | QList<QQmlError> *errors) | - |
1327 | { | - |
1328 | ((errors) ? static_cast<void>(0) : qt_assert("errors", __FILE__, 1504)); | - |
1329 | | - |
1330 | QQmlImportNamespace *nameSpace = importNamespace(prefix); | - |
1331 | ((nameSpace) ? static_cast<void>(0) : qt_assert("nameSpace", __FILE__, 1507)); | - |
1332 | | - |
1333 | | - |
1334 | | - |
1335 | QString importUri = uri; | - |
1336 | QString qmldirUrl = resolveLocalUrl(base, importUri + (importUri.endsWith(Slash) | - |
1337 | ? String_qmldir | - |
1338 | : Slash_qmldir)); | - |
1339 | if (QQmlAbstractUrlInterceptor *interceptor = typeLoader->engine()->urlInterceptor()TRUE | evaluated 184 times by 9 testsEvaluated by:- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmldebugjs
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlnativeconnector
- tst_qqmltypeloader
- tst_qquickshortcut
- tst_sharedimage
| FALSE | evaluated 55067 times by 137 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
) { | 184-55067 |
1340 | qmldirUrl = interceptor->intercept(QUrl(qmldirUrl), | - |
1341 | QQmlAbstractUrlInterceptor::QmldirFile).toString(); | - |
1342 | }executed 184 times by 9 tests: end of block Executed by:- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmldebugjs
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlnativeconnector
- tst_qqmltypeloader
- tst_qquickshortcut
- tst_sharedimage
| 184 |
1343 | QString qmldirIdentifier; | - |
1344 | | - |
1345 | if (QQmlFile::isLocalFile(qmldirUrl)TRUE | evaluated 9629 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 45622 times by 48 testsEvaluated by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdroparea
- ...
|
) { | 9629-45622 |
1346 | | - |
1347 | QString localFileOrQrc = QQmlFile::urlToLocalFileOrQrc(qmldirUrl); | - |
1348 | ((!localFileOrQrc.isEmpty()) ? static_cast<void>(0) : qt_assert("!localFileOrQrc.isEmpty()", __FILE__, 1524)); | - |
1349 | | - |
1350 | QString dir = QQmlFile::urlToLocalFileOrQrc(resolveLocalUrl(base, importUri)); | - |
1351 | if (!typeLoader->directoryExists(dir)TRUE | evaluated 18 times by 4 testsEvaluated by:- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquicktext
- tst_qquicktextedit
| FALSE | evaluated 9611 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 18-9611 |
1352 | if (!isImplicitImportTRUE | evaluated 2 times by 1 test | FALSE | evaluated 16 times by 3 testsEvaluated by:- tst_qqmltypeloader
- tst_qquicktext
- tst_qquicktextedit
|
) { | 2-16 |
1353 | QQmlError error; | - |
1354 | error.setDescription(QQmlImportDatabase::tr("\"%1\": no such directory").arg(uri)); | - |
1355 | error.setUrl(QUrl(qmldirUrl)); | - |
1356 | errors->prepend(error); | - |
1357 | }executed 2 times by 1 test: end of block | 2 |
1358 | returnexecuted 18 times by 4 tests: return false; Executed by:- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquicktext
- tst_qquicktextedit
false;executed 18 times by 4 tests: return false; Executed by:- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquicktext
- tst_qquicktextedit
| 18 |
1359 | } | - |
1360 | | - |
1361 | | - |
1362 | | - |
1363 | importUri = resolvedUri(dir, database); | - |
1364 | if (importUri.endsWith(Slash)TRUE | never evaluated | FALSE | evaluated 9611 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) | 0-9611 |
1365 | importUri.chop(1); never executed: importUri.chop(1); | 0 |
1366 | | - |
1367 | if (!typeLoader->absoluteFilePath(localFileOrQrc).isEmpty()TRUE | evaluated 274 times by 13 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 9337 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) | 274-9337 |
1368 | qmldirIdentifier = localFileOrQrc;executed 274 times by 13 tests: qmldirIdentifier = localFileOrQrc; Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 274 |
1369 | | - |
1370 | }executed 9611 times by 127 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
else if (nameSpace->prefix.isEmpty()TRUE | evaluated 45620 times by 48 testsEvaluated by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdroparea
- ...
| FALSE | evaluated 2 times by 1 test |
&& !incompleteTRUE | evaluated 96 times by 5 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktext
| FALSE | evaluated 45524 times by 48 testsEvaluated by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdroparea
- ...
|
) { | 2-45620 |
1371 | | - |
1372 | if (!isImplicitImportTRUE | never evaluated | FALSE | evaluated 96 times by 5 testsEvaluated by:- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktext
|
) { | 0-96 |
1373 | QQmlError error; | - |
1374 | error.setDescription(QQmlImportDatabase::tr("import \"%1\" has no qmldir and no namespace").arg(importUri)); | - |
1375 | error.setUrl(QUrl(qmldirUrl)); | - |
1376 | errors->prepend(error); | - |
1377 | } never executed: end of block | 0 |
1378 | | - |
1379 | returnexecuted 96 times by 5 tests: return false; Executed by:- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktext
false;executed 96 times by 5 tests: return false; Executed by:- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktext
| 96 |
1380 | | - |
1381 | } | - |
1382 | | - |
1383 | | - |
1384 | QString url = resolveLocalUrl(base, uri); | - |
1385 | if (!url.endsWith(Slash)TRUE | evaluated 45614 times by 51 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- ...
| FALSE | evaluated 9523 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
&& !url.endsWith(Backslash)TRUE | evaluated 45614 times by 51 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- ...
| FALSE | never evaluated |
) | 0-45614 |
1386 | url += Slash;executed 45614 times by 51 tests: url += Slash; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- ...
| 45614 |
1387 | | - |
1388 | | - |
1389 | | - |
1390 | | - |
1391 | | - |
1392 | if (isImplicitImportTRUE | evaluated 54941 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 196 times by 14 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickloader
- tst_qquickstates
- tst_qrcqml
|
) { | 196-54941 |
1393 | for (QList<QQmlImportInstance *>::const_iterator it = nameSpace->imports.constBegin(); | - |
1394 | it != nameSpace->imports.constEnd()TRUE | evaluated 56817 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 54877 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ++it) { | 54877-56817 |
1395 | if ((*TRUE | evaluated 64 times by 9 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlenginecleanup
- tst_qqmlmetatype
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 56753 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
it)->url == urlTRUE | evaluated 64 times by 9 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlenginecleanup
- tst_qqmlmetatype
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 56753 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) { | 64-56753 |
1396 | (*it)->implicitlyImported = true; | - |
1397 | returnexecuted 64 times by 9 tests: return true; Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlenginecleanup
- tst_qqmlmetatype
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
true;executed 64 times by 9 tests: return true; Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlenginecleanup
- tst_qqmlmetatype
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 64 |
1398 | } | - |
1399 | }executed 56753 times by 141 tests: end of block 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
- ...
| 56753 |
1400 | }executed 54877 times by 141 tests: end of block 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
- ...
| 54877 |
1401 | | - |
1402 | QQmlImportInstance *inserted = addImportToNamespace(nameSpace, importUri, url, vmaj, vmin, QV4::CompiledData::Import::ImportFile, errors, isImplicitImport); | - |
1403 | ((inserted) ? static_cast<void>(0) : qt_assert("inserted", __FILE__, 1579)); | - |
1404 | | - |
1405 | if (!incompleteTRUE | evaluated 9547 times by 127 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 45526 times by 48 testsEvaluated by:- tst_bindingdependencyapi
- tst_parserstress
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsettings
- tst_qqmltimer
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdroparea
- ...
|
&& !qmldirIdentifier.isEmpty()TRUE | evaluated 216 times by 8 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qrcqml
| FALSE | evaluated 9331 times by 126 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 216-45526 |
1406 | QQmlTypeLoaderQmldirContent qmldir; | - |
1407 | if (!getQmldirContent(qmldirIdentifier, importUri, &qmldir, errors)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 214 times by 8 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qrcqml
|
) | 2-214 |
1408 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
1409 | | - |
1410 | if (qmldir.hasContent()TRUE | evaluated 214 times by 8 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qrcqml
| FALSE | never evaluated |
) { | 0-214 |
1411 | if (!importExtension(qmldir.pluginLocation(), importUri, vmaj, vmin, database, qmldir, errors)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 212 times by 8 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qrcqml
|
) | 2-212 |
1412 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
1413 | | - |
1414 | if (!inserted->setQmldirContent(url, qmldir, nameSpace, errors)TRUE | never evaluated | FALSE | evaluated 212 times by 8 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qrcqml
|
) | 0-212 |
1415 | return never executed: return false; false;never executed: return false; | 0 |
1416 | }executed 212 times by 8 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qrcqml
| 212 |
1417 | }executed 212 times by 8 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qrcqml
| 212 |
1418 | | - |
1419 | returnexecuted 55069 times by 141 tests: return true; 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
- ...
true;executed 55069 times by 141 tests: return true; 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
- ...
| 55069 |
1420 | } | - |
1421 | | - |
1422 | bool QQmlImportsPrivate::updateQmldirContent(const QString &uri, const QString &prefix, | - |
1423 | const QString &qmldirIdentifier, const QString& qmldirUrl, | - |
1424 | QQmlImportDatabase *database, QList<QQmlError> *errors) | - |
1425 | { | - |
1426 | QQmlImportNamespace *nameSpace = importNamespace(prefix); | - |
1427 | ((nameSpace) ? static_cast<void>(0) : qt_assert("nameSpace", __FILE__, 1603)); | - |
1428 | | - |
1429 | if (QQmlImportInstance *import = nameSpace->findImport(uri)TRUE | evaluated 44 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| FALSE | never evaluated |
) { | 0-44 |
1430 | QQmlTypeLoaderQmldirContent qmldir; | - |
1431 | if (!getQmldirContent(qmldirIdentifier, uri, &qmldir, errors)TRUE | never evaluated | FALSE | evaluated 44 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) | 0-44 |
1432 | return never executed: return false; false;never executed: return false; | 0 |
1433 | | - |
1434 | if (qmldir.hasContent()TRUE | evaluated 44 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| FALSE | never evaluated |
) { | 0-44 |
1435 | int vmaj = import->majversion; | - |
1436 | int vmin = import->minversion; | - |
1437 | if (!importExtension(qmldir.pluginLocation(), uri, vmaj, vmin, database, qmldir, errors)TRUE | never evaluated | FALSE | evaluated 44 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) | 0-44 |
1438 | return never executed: return false; false;never executed: return false; | 0 |
1439 | | - |
1440 | if (import->setQmldirContent(qmldirUrl, qmldir, nameSpace, errors)TRUE | evaluated 44 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| FALSE | never evaluated |
) { | 0-44 |
1441 | if (import->qmlDirComponents.isEmpty()TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
- tst_qquickanimatedimage
| FALSE | evaluated 34 times by 3 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquicktextedit
|
&& import->qmlDirScripts.isEmpty()TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmltypeloader
- tst_qquickanimatedimage
| FALSE | evaluated 2 times by 1 test |
) { | 2-34 |
1442 | | - |
1443 | if (uri != QLatin1String(".")TRUE | evaluated 4 times by 1 test | FALSE | evaluated 4 times by 1 test |
&& !QQmlMetaType::isModule(uri, vmaj, vmin)TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
1444 | QQmlError error; | - |
1445 | if (QQmlMetaType::isAnyModule(uri)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1446 | error.setDescription(QQmlImportDatabase::tr("module \"%1\" version %2.%3 is not installed").arg(uri).arg(vmaj).arg(vmin)); never executed: error.setDescription(QQmlImportDatabase::tr("module \"%1\" version %2.%3 is not installed").arg(uri).arg(vmaj).arg(vmin)); | 0 |
1447 | else | - |
1448 | error.setDescription(QQmlImportDatabase::tr("module \"%1\" is not installed").arg(uri)); never executed: error.setDescription(QQmlImportDatabase::tr("module \"%1\" is not installed").arg(uri)); | 0 |
1449 | errors->prepend(error); | - |
1450 | return never executed: return false; false;never executed: return false; | 0 |
1451 | } | - |
1452 | }executed 8 times by 2 tests: end of block Executed by:- tst_qqmltypeloader
- tst_qquickanimatedimage
else if ((TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
| FALSE | evaluated 32 times by 3 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquicktextedit
|
vmaj >= 0)TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
| FALSE | evaluated 32 times by 3 testsEvaluated by:- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquicktextedit
|
&& (TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
| FALSE | never evaluated |
vmin >= 0)TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
| FALSE | never evaluated |
) { | 0-32 |
1453 | | - |
1454 | if (!validateQmldirVersion(qmldir, uri, vmaj, vmin, errors)TRUE | never evaluated | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmltypeloader
|
) | 0-4 |
1455 | return never executed: return false; false;never executed: return false; | 0 |
1456 | }executed 4 times by 2 tests: end of block Executed by:- tst_qqmlecmascript
- tst_qqmltypeloader
| 4 |
1457 | returnexecuted 44 times by 5 tests: return true; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
true;executed 44 times by 5 tests: return true; Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| 44 |
1458 | } | - |
1459 | } never executed: end of block | 0 |
1460 | } never executed: end of block | 0 |
1461 | | - |
1462 | if (errors->isEmpty()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1463 | QQmlError error; | - |
1464 | error.setDescription(QQmlTypeLoader::tr("Cannot update qmldir content for '%1'").arg(uri)); | - |
1465 | errors->prepend(error); | - |
1466 | } never executed: end of block | 0 |
1467 | | - |
1468 | return never executed: return false; false;never executed: return false; | 0 |
1469 | } | - |
1470 | bool QQmlImports::addImplicitImport(QQmlImportDatabase *importDb, QList<QQmlError> *errors) | - |
1471 | { | - |
1472 | ((errors) ? static_cast<void>(0) : qt_assert("errors", __FILE__, 1657)); | - |
1473 | | - |
1474 | if (qmlImportTrace()TRUE | never evaluated | FALSE | evaluated 55053 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 0-55053 |
1475 | QMessageLogger(__FILE__, 1660, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() never executed: QMessageLogger(__FILE__, 1660, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ")::addImplicitImport"; | 0 |
1476 | << ")::addImplicitImport"; never executed: QMessageLogger(__FILE__, 1660, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ")::addImplicitImport"; | 0 |
1477 | | - |
1478 | bool incomplete = !isLocal(baseUrl()); | - |
1479 | returnexecuted 55053 times by 141 tests: return d->addFileImport(QLatin1String("."), QString(), -1, -1, true, incomplete, importDb, errors); 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
- ...
d->addFileImport(QLatin1String("."), QString(), -1, -1, true, incomplete, importDb, errors);executed 55053 times by 141 tests: return d->addFileImport(QLatin1String("."), QString(), -1, -1, true, incomplete, importDb, errors); 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
- ...
| 55053 |
1480 | } | - |
1481 | bool QQmlImports::addFileImport(QQmlImportDatabase *importDb, | - |
1482 | const QString& uri, const QString& prefix, int vmaj, int vmin, | - |
1483 | bool incomplete, QList<QQmlError> *errors) | - |
1484 | { | - |
1485 | ((importDb) ? static_cast<void>(0) : qt_assert("importDb", __FILE__, 1692)); | - |
1486 | ((errors) ? static_cast<void>(0) : qt_assert("errors", __FILE__, 1693)); | - |
1487 | | - |
1488 | if (qmlImportTrace()TRUE | never evaluated | FALSE | evaluated 198 times by 14 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickloader
- tst_qquickstates
- tst_qrcqml
|
) | 0-198 |
1489 | QMessageLogger(__FILE__, 1696, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ')' << "::addFileImport: " never executed: QMessageLogger(__FILE__, 1696, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ')' << "::addFileImport: " << uri << ' ' << vmaj << '.' << vmin << " as " << prefix; | 0 |
1490 | << uri << ' ' << vmaj << '.' << vmin << " as " << prefix; never executed: QMessageLogger(__FILE__, 1696, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ')' << "::addFileImport: " << uri << ' ' << vmaj << '.' << vmin << " as " << prefix; | 0 |
1491 | | - |
1492 | returnexecuted 198 times by 14 tests: return d->addFileImport(uri, prefix, vmaj, vmin, false, incomplete, importDb, errors); Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickloader
- tst_qquickstates
- tst_qrcqml
d->addFileImport(uri, prefix, vmaj, vmin, false, incomplete, importDb, errors);executed 198 times by 14 tests: return d->addFileImport(uri, prefix, vmaj, vmin, false, incomplete, importDb, errors); Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlimport
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickloader
- tst_qquickstates
- tst_qrcqml
| 198 |
1493 | } | - |
1494 | | - |
1495 | bool QQmlImports::addLibraryImport(QQmlImportDatabase *importDb, | - |
1496 | const QString &uri, const QString &prefix, int vmaj, int vmin, | - |
1497 | const QString &qmldirIdentifier, const QString& qmldirUrl, bool incomplete, QList<QQmlError> *errors) | - |
1498 | { | - |
1499 | ((importDb) ? static_cast<void>(0) : qt_assert("importDb", __FILE__, 1706)); | - |
1500 | ((errors) ? static_cast<void>(0) : qt_assert("errors", __FILE__, 1707)); | - |
1501 | | - |
1502 | if (qmlImportTrace()TRUE | never evaluated | FALSE | evaluated 58143 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
) | 0-58143 |
1503 | QMessageLogger(__FILE__, 1710, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ')' << "::addLibraryImport: " never executed: QMessageLogger(__FILE__, 1710, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ')' << "::addLibraryImport: " << uri << ' ' << vmaj << '.' << vmin << " as " << prefix; | 0 |
1504 | << uri << ' ' << vmaj << '.' << vmin << " as " << prefix; never executed: QMessageLogger(__FILE__, 1710, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ')' << "::addLibraryImport: " << uri << ' ' << vmaj << '.' << vmin << " as " << prefix; | 0 |
1505 | | - |
1506 | returnexecuted 58143 times by 141 tests: return d->addLibraryImport(uri, prefix, vmaj, vmin, qmldirIdentifier, qmldirUrl, incomplete, importDb, errors); 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
- ...
d->addLibraryImport(uri, prefix, vmaj, vmin, qmldirIdentifier, qmldirUrl, incomplete, importDb, errors);executed 58143 times by 141 tests: return d->addLibraryImport(uri, prefix, vmaj, vmin, qmldirIdentifier, qmldirUrl, incomplete, importDb, errors); 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
- ...
| 58143 |
1507 | } | - |
1508 | | - |
1509 | bool QQmlImports::updateQmldirContent(QQmlImportDatabase *importDb, | - |
1510 | const QString &uri, const QString &prefix, | - |
1511 | const QString &qmldirIdentifier, const QString& qmldirUrl, QList<QQmlError> *errors) | - |
1512 | { | - |
1513 | ((importDb) ? static_cast<void>(0) : qt_assert("importDb", __FILE__, 1720)); | - |
1514 | ((errors) ? static_cast<void>(0) : qt_assert("errors", __FILE__, 1721)); | - |
1515 | | - |
1516 | if (qmlImportTrace()TRUE | never evaluated | FALSE | evaluated 44 times by 5 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
|
) | 0-44 |
1517 | QMessageLogger(__FILE__, 1724, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ')' << "::updateQmldirContent: " never executed: QMessageLogger(__FILE__, 1724, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ')' << "::updateQmldirContent: " << uri << " to " << qmldirUrl << " as " << prefix; | 0 |
1518 | << uri << " to " << qmldirUrl << " as " << prefix; never executed: QMessageLogger(__FILE__, 1724, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImports(" << QtPrivate::asString(baseUrl().toString()).toLocal8Bit().constData() << ')' << "::updateQmldirContent: " << uri << " to " << qmldirUrl << " as " << prefix; | 0 |
1519 | | - |
1520 | returnexecuted 44 times by 5 tests: return d->updateQmldirContent(uri, prefix, qmldirIdentifier, qmldirUrl, importDb, errors); Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
d->updateQmldirContent(uri, prefix, qmldirIdentifier, qmldirUrl, importDb, errors);executed 44 times by 5 tests: return d->updateQmldirContent(uri, prefix, qmldirIdentifier, qmldirUrl, importDb, errors); Executed by:- tst_qqmlecmascript
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquicktextedit
| 44 |
1521 | } | - |
1522 | | - |
1523 | bool QQmlImports::locateQmldir(QQmlImportDatabase *importDb, | - |
1524 | const QString& uri, int vmaj, int vmin, | - |
1525 | QString *qmldirFilePath, QString *url) | - |
1526 | { | - |
1527 | returnexecuted 58123 times by 141 tests: return d->locateQmldir(uri, vmaj, vmin, importDb, qmldirFilePath, url); 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
- ...
d->locateQmldir(uri, vmaj, vmin, importDb, qmldirFilePath, url);executed 58123 times by 141 tests: return d->locateQmldir(uri, vmaj, vmin, importDb, qmldirFilePath, url); 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
- ...
| 58123 |
1528 | } | - |
1529 | | - |
1530 | bool QQmlImports::isLocal(const QString &url) | - |
1531 | { | - |
1532 | return never executed: return !QQmlFile::urlToLocalFileOrQrc(url).isEmpty(); !QQmlFile::urlToLocalFileOrQrc(url).isEmpty();never executed: return !QQmlFile::urlToLocalFileOrQrc(url).isEmpty(); | 0 |
1533 | } | - |
1534 | | - |
1535 | bool QQmlImports::isLocal(const QUrl &url) | - |
1536 | { | - |
1537 | returnexecuted 64872 times by 141 tests: return !QQmlFile::urlToLocalFileOrQrc(url).isEmpty(); 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
- ...
!QQmlFile::urlToLocalFileOrQrc(url).isEmpty();executed 64872 times by 141 tests: return !QQmlFile::urlToLocalFileOrQrc(url).isEmpty(); 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
- ...
| 64872 |
1538 | } | - |
1539 | | - |
1540 | QUrl QQmlImports::urlFromLocalFileOrQrcOrUrl(const QString &file) | - |
1541 | { | - |
1542 | QUrl url(QLatin1String(file.at(0) == Colon ? "qrc" : "") + file); | - |
1543 | | - |
1544 | | - |
1545 | if (url.scheme().length() < 2TRUE | evaluated 2744 times by 137 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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
- tst_qqmllistmodel
- ...
| FALSE | evaluated 1110 times by 8 testsEvaluated by:- tst_qqmlapplicationengine
- tst_qqmldebugjs
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlnativeconnector
- tst_qqmltypeloader
- tst_qquickshortcut
- tst_sharedimage
|
) | 1110-2744 |
1546 | returnexecuted 2744 times by 137 tests: return QUrl::fromLocalFile(file); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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
- tst_qqmllistmodel
- ...
QUrl::fromLocalFile(file);executed 2744 times by 137 tests: return QUrl::fromLocalFile(file); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- 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
- tst_qqmllistmodel
- ...
| 2744 |
1547 | returnexecuted 1110 times by 8 tests: return url; Executed by:- tst_qqmlapplicationengine
- tst_qqmldebugjs
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlnativeconnector
- tst_qqmltypeloader
- tst_qquickshortcut
- tst_sharedimage
url;executed 1110 times by 8 tests: return url; Executed by:- tst_qqmlapplicationengine
- tst_qqmldebugjs
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlnativeconnector
- tst_qqmltypeloader
- tst_qquickshortcut
- tst_sharedimage
| 1110 |
1548 | } | - |
1549 | | - |
1550 | void QQmlImports::setDesignerSupportRequired(bool b) | - |
1551 | { | - |
1552 | designerSupportRequired = b; | - |
1553 | }executed 14 times by 1 test: end of block | 14 |
1554 | | - |
1555 | | - |
1556 | | - |
1557 | | - |
1558 | | - |
1559 | | - |
1560 | | - |
1561 | QQmlImportDatabase::QQmlImportDatabase(QQmlEngine *e) | - |
1562 | : engine(e) | - |
1563 | { | - |
1564 | filePluginPath << QLatin1String("."); | - |
1565 | | - |
1566 | | - |
1567 | QString installImportsPath = QLibraryInfo::location(QLibraryInfo::Qml2ImportsPath); | - |
1568 | addImportPath(installImportsPath); | - |
1569 | | - |
1570 | | - |
1571 | if (__builtin_expect(!!(!qEnvironmentVariableIsEmpty("QML2_IMPORT_PATH")), false)TRUE | never evaluated | FALSE | evaluated 7674 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-7674 |
1572 | const QString envImportPath = qEnvironmentVariable("QML2_IMPORT_PATH"); | - |
1573 | | - |
1574 | | - |
1575 | | - |
1576 | QLatin1Char pathSep(':'); | - |
1577 | | - |
1578 | QStringList paths = envImportPath.split(pathSep, QString::SkipEmptyParts); | - |
1579 | for (int ii = paths.count() - 1; ii >= 0TRUE | never evaluated | FALSE | never evaluated |
; --ii) | 0 |
1580 | addImportPath(paths.at(ii)); never executed: addImportPath(paths.at(ii)); | 0 |
1581 | } never executed: end of block | 0 |
1582 | | - |
1583 | addImportPath(([]() noexcept -> QString { enum { Size = sizeof(u"" "qrc:/qt-project.org/imports")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "qrc:/qt-project.org/imports" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 7674 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 7674 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
- ...
}())); | 7674 |
1584 | addImportPath(QCoreApplication::applicationDirPath()); | - |
1585 | }executed 7674 times by 148 tests: end of block 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
- ...
| 7674 |
1586 | | - |
1587 | QQmlImportDatabase::~QQmlImportDatabase() | - |
1588 | { | - |
1589 | clearDirCache(); | - |
1590 | }executed 7660 times by 148 tests: end of block 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
- ...
| 7660 |
1591 | QString QQmlImportDatabase::resolvePlugin(QQmlTypeLoader *typeLoader, | - |
1592 | const QString &qmldirPath, | - |
1593 | const QString &qmldirPluginPath, | - |
1594 | const QString &baseName, const QStringList &suffixes, | - |
1595 | const QString &prefix) | - |
1596 | { | - |
1597 | QStringList searchPaths = filePluginPath; | - |
1598 | bool qmldirPluginPathIsRelative = QDir::isRelativePath(qmldirPluginPath); | - |
1599 | if (!qmldirPluginPathIsRelativeTRUE | evaluated 4 times by 1 test | FALSE | evaluated 7395 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) | 4-7395 |
1600 | searchPaths.prepend(qmldirPluginPath);executed 4 times by 1 test: searchPaths.prepend(qmldirPluginPath); | 4 |
1601 | | - |
1602 | for (const QString &pluginPath : qAsConst(searchPaths)) { | - |
1603 | QString resolvedPath; | - |
1604 | if (pluginPath == QLatin1String(".")TRUE | evaluated 7395 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 4 times by 1 test |
) { | 4-7395 |
1605 | if (qmldirPluginPathIsRelativeTRUE | evaluated 7395 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | never evaluated |
&& !qmldirPluginPath.isEmpty()TRUE | never evaluated | FALSE | evaluated 7395 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
&& qmldirPluginPath != QLatin1String(".")TRUE | never evaluated | FALSE | never evaluated |
) | 0-7395 |
1606 | resolvedPath = QDir::cleanPath(qmldirPath + Slash + qmldirPluginPath); never executed: resolvedPath = QDir::cleanPath(qmldirPath + Slash + qmldirPluginPath); | 0 |
1607 | else | - |
1608 | resolvedPath = qmldirPath;executed 7395 times by 135 tests: resolvedPath = qmldirPath; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7395 |
1609 | } else { | - |
1610 | if (QDir::isRelativePath(pluginPath)TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) | 0-4 |
1611 | resolvedPath = QDir::cleanPath(qmldirPath + Slash + pluginPath); never executed: resolvedPath = QDir::cleanPath(qmldirPath + Slash + pluginPath); | 0 |
1612 | else | - |
1613 | resolvedPath = pluginPath;executed 4 times by 1 test: resolvedPath = pluginPath; | 4 |
1614 | } | - |
1615 | | - |
1616 | | - |
1617 | if (resolvedPath.startsWith(Colon)TRUE | never evaluated | FALSE | evaluated 7399 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) | 0-7399 |
1618 | resolvedPath = QCoreApplication::applicationDirPath(); never executed: resolvedPath = QCoreApplication::applicationDirPath(); | 0 |
1619 | | - |
1620 | if (!resolvedPath.endsWith(Slash)TRUE | evaluated 7395 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 4 times by 1 test |
) | 4-7395 |
1621 | resolvedPath += Slash;executed 7395 times by 135 tests: resolvedPath += Slash; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7395 |
1622 | | - |
1623 | resolvedPath += prefix + baseName; | - |
1624 | for (const QString &suffix : suffixes) { | - |
1625 | const QString absolutePath = typeLoader->absoluteFilePath(resolvedPath + suffix); | - |
1626 | if (!absolutePath.isEmpty()TRUE | evaluated 7391 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 8 times by 1 test |
) | 8-7391 |
1627 | returnexecuted 7391 times by 135 tests: return absolutePath; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
absolutePath;executed 7391 times by 135 tests: return absolutePath; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7391 |
1628 | }executed 8 times by 1 test: end of block | 8 |
1629 | }executed 8 times by 1 test: end of block | 8 |
1630 | | - |
1631 | if (qmlImportTrace()TRUE | never evaluated | FALSE | evaluated 8 times by 1 test |
) | 0-8 |
1632 | QMessageLogger(__FILE__, 1848, __PRETTY_FUNCTION__).debug() << "QQmlImportDatabase::resolvePlugin: Could not resolve plugin" << baseName never executed: QMessageLogger(__FILE__, 1848, __PRETTY_FUNCTION__).debug() << "QQmlImportDatabase::resolvePlugin: Could not resolve plugin" << baseName << "in" << qmldirPath; | 0 |
1633 | << "in" << qmldirPath; never executed: QMessageLogger(__FILE__, 1848, __PRETTY_FUNCTION__).debug() << "QQmlImportDatabase::resolvePlugin: Could not resolve plugin" << baseName << "in" << qmldirPath; | 0 |
1634 | | - |
1635 | returnexecuted 8 times by 1 test: return QString(); QString();executed 8 times by 1 test: return QString(); | 8 |
1636 | } | - |
1637 | QString QQmlImportDatabase::resolvePlugin(QQmlTypeLoader *typeLoader, | - |
1638 | const QString &qmldirPath, const QString &qmldirPluginPath, | - |
1639 | const QString &baseName) | - |
1640 | { | - |
1641 | static const QString prefix = QLatin1String("lib"); | - |
1642 | static const QStringList suffixes = { QLatin1String(".so") }; | - |
1643 | | - |
1644 | | - |
1645 | returnexecuted 7399 times by 135 tests: return resolvePlugin(typeLoader, qmldirPath, qmldirPluginPath, baseName, suffixes, prefix); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
resolvePlugin(typeLoader, qmldirPath, qmldirPluginPath, baseName, suffixes, prefix);executed 7399 times by 135 tests: return resolvePlugin(typeLoader, qmldirPath, qmldirPluginPath, baseName, suffixes, prefix); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7399 |
1646 | } | - |
1647 | | - |
1648 | | - |
1649 | | - |
1650 | | - |
1651 | QStringList QQmlImportDatabase::pluginPathList() const | - |
1652 | { | - |
1653 | returnexecuted 4 times by 1 test: return filePluginPath; filePluginPath;executed 4 times by 1 test: return filePluginPath; | 4 |
1654 | } | - |
1655 | | - |
1656 | | - |
1657 | | - |
1658 | | - |
1659 | void QQmlImportDatabase::setPluginPathList(const QStringList &paths) | - |
1660 | { | - |
1661 | if (qmlImportTrace()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1662 | QMessageLogger(__FILE__, 1915, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImportDatabase::setPluginPathList: " << paths; never executed: QMessageLogger(__FILE__, 1915, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImportDatabase::setPluginPathList: " << paths; | 0 |
1663 | | - |
1664 | filePluginPath = paths; | - |
1665 | } never executed: end of block | 0 |
1666 | | - |
1667 | | - |
1668 | | - |
1669 | | - |
1670 | void QQmlImportDatabase::addPluginPath(const QString& path) | - |
1671 | { | - |
1672 | if (qmlImportTrace()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1673 | QMessageLogger(__FILE__, 1926, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImportDatabase::addPluginPath: " << path; never executed: QMessageLogger(__FILE__, 1926, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImportDatabase::addPluginPath: " << path; | 0 |
1674 | | - |
1675 | QUrl url = QUrl(path); | - |
1676 | if (url.isRelative()TRUE | never evaluated | FALSE | never evaluated |
|| url.scheme() == QLatin1String("file")TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1677 | || (url.scheme().length() == 1TRUE | never evaluated | FALSE | never evaluated |
&& QFile::exists(path)TRUE | never evaluated | FALSE | never evaluated |
) ) { | 0 |
1678 | QDir dir = QDir(path); | - |
1679 | filePluginPath.prepend(dir.canonicalPath()); | - |
1680 | } never executed: end of block else { | 0 |
1681 | filePluginPath.prepend(path); | - |
1682 | } never executed: end of block | 0 |
1683 | } | - |
1684 | | - |
1685 | | - |
1686 | | - |
1687 | | - |
1688 | void QQmlImportDatabase::addImportPath(const QString& path) | - |
1689 | { | - |
1690 | if (qmlImportTrace()TRUE | never evaluated | FALSE | evaluated 23204 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-23204 |
1691 | QMessageLogger(__FILE__, 1944, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImportDatabase::addImportPath: " << path; never executed: QMessageLogger(__FILE__, 1944, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImportDatabase::addImportPath: " << path; | 0 |
1692 | | - |
1693 | if (path.isEmpty()TRUE | never evaluated | FALSE | evaluated 23204 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-23204 |
1694 | return; never executed: return; | 0 |
1695 | | - |
1696 | QUrl url = QUrl(path); | - |
1697 | QString cPath; | - |
1698 | | - |
1699 | if (url.scheme() == QLatin1String("file")TRUE | never evaluated | FALSE | evaluated 23204 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-23204 |
1700 | cPath = QQmlFile::urlToLocalFileOrQrc(url); | - |
1701 | } never executed: end of block else if (path.startsWith(QLatin1Char(':'))TRUE | evaluated 2 times by 1 test | FALSE | evaluated 23202 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-23202 |
1702 | | - |
1703 | | - |
1704 | cPath = QLatin1String("qrc") + path; | - |
1705 | cPath.replace(Backslash, Slash); | - |
1706 | }executed 2 times by 1 test: end of block else if (url.isRelative()TRUE | evaluated 15476 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 7726 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
- ...
|
|| | 2-15476 |
1707 | (url.scheme().length() == 1TRUE | never evaluated | FALSE | evaluated 7726 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
- ...
|
&& QFile::exists(path)TRUE | never evaluated | FALSE | never evaluated |
) ) { | 0-7726 |
1708 | QDir dir = QDir(path); | - |
1709 | cPath = dir.canonicalPath(); | - |
1710 | }executed 15476 times by 148 tests: end of block 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
- ...
else { | 15476 |
1711 | cPath = path; | - |
1712 | cPath.replace(Backslash, Slash); | - |
1713 | }executed 7726 times by 148 tests: end of block 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
- ...
| 7726 |
1714 | | - |
1715 | if (!cPath.isEmpty()TRUE | evaluated 23204 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-23204 |
1716 | && !fileImportPath.contains(cPath)TRUE | evaluated 23194 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 10 times by 2 testsEvaluated by:- tst_qqmlimport
- tst_qqmltypeloader
|
) | 10-23194 |
1717 | fileImportPath.prepend(cPath);executed 23194 times by 148 tests: fileImportPath.prepend(cPath); 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
- ...
| 23194 |
1718 | }executed 23204 times by 148 tests: end of block 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
- ...
| 23204 |
1719 | | - |
1720 | | - |
1721 | | - |
1722 | | - |
1723 | QStringList QQmlImportDatabase::importPathList(PathType type) const | - |
1724 | { | - |
1725 | if (type == LocalOrRemoteTRUE | evaluated 451 times by 10 testsEvaluated by:- tst_qqmlapplicationengine
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmltypeloader
- tst_qquickshortcut
- tst_sharedimage
| FALSE | evaluated 8736 times by 137 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
) | 451-8736 |
1726 | returnexecuted 451 times by 10 tests: return fileImportPath; Executed by:- tst_qqmlapplicationengine
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmltypeloader
- tst_qquickshortcut
- tst_sharedimage
fileImportPath;executed 451 times by 10 tests: return fileImportPath; Executed by:- tst_qqmlapplicationengine
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmltypeloader
- tst_qquickshortcut
- tst_sharedimage
| 451 |
1727 | | - |
1728 | QStringList list; | - |
1729 | for (const QString &path : fileImportPath) { | - |
1730 | bool localPath = isPathAbsolute(path)TRUE | evaluated 17634 times by 137 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| FALSE | evaluated 8810 times by 137 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
|
|| QQmlFile::isLocalFile(path)TRUE | evaluated 8744 times by 137 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| FALSE | evaluated 66 times by 1 test |
; | 66-17634 |
1731 | if (localPath == (type == Local)TRUE | evaluated 26358 times by 137 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| FALSE | evaluated 86 times by 3 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlmoduleplugin
|
) | 86-26358 |
1732 | list.append(path);executed 26358 times by 137 tests: list.append(path); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 26358 |
1733 | }executed 26444 times by 137 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 26444 |
1734 | | - |
1735 | returnexecuted 8736 times by 137 tests: return list; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
list;executed 8736 times by 137 tests: return list; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 8736 |
1736 | } | - |
1737 | | - |
1738 | | - |
1739 | | - |
1740 | | - |
1741 | void QQmlImportDatabase::setImportPathList(const QStringList &paths) | - |
1742 | { | - |
1743 | if (qmlImportTrace()TRUE | never evaluated | FALSE | evaluated 28 times by 1 test |
) | 0-28 |
1744 | QMessageLogger(__FILE__, 1997, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImportDatabase::setImportPathList: " << paths; never executed: QMessageLogger(__FILE__, 1997, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImportDatabase::setImportPathList: " << paths; | 0 |
1745 | | - |
1746 | fileImportPath = paths; | - |
1747 | | - |
1748 | | - |
1749 | clearDirCache(); | - |
1750 | }executed 28 times by 1 test: end of block | 28 |
1751 | | - |
1752 | | - |
1753 | | - |
1754 | | - |
1755 | bool QQmlImportDatabase::registerPluginTypes(QObject *instance, const QString &basePath, | - |
1756 | const QString &uri, const QString &typeNamespace, int vmaj, QList<QQmlError> *errors) | - |
1757 | { | - |
1758 | if (qmlImportTrace()TRUE | never evaluated | FALSE | evaluated 590 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) | 0-590 |
1759 | QMessageLogger(__FILE__, 2012, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImportDatabase::registerPluginTypes: " << uri << " from " << basePath; never executed: QMessageLogger(__FILE__, 2012, __PRETTY_FUNCTION__).debug().nospace() << "QQmlImportDatabase::registerPluginTypes: " << uri << " from " << basePath; | 0 |
1760 | | - |
1761 | QQmlTypesExtensionInterface *iface = qobject_cast<QQmlTypesExtensionInterface *>(instance); | - |
1762 | if (!ifaceTRUE | never evaluated | FALSE | evaluated 590 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 0-590 |
1763 | if (errorsTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1764 | QQmlError error; | - |
1765 | error.setDescription(tr("Module loaded for URI '%1' does not implement QQmlTypesExtensionInterface").arg(typeNamespace)); | - |
1766 | errors->prepend(error); | - |
1767 | } never executed: end of block | 0 |
1768 | return never executed: return false; false;never executed: return false; | 0 |
1769 | } | - |
1770 | | - |
1771 | const QByteArray bytes = uri.toUtf8(); | - |
1772 | const char *moduleId = bytes.constData(); | - |
1773 | | - |
1774 | QQmlMetaTypeRegistrationFailureRecorder failureRecorder; | - |
1775 | { | - |
1776 | | - |
1777 | | - |
1778 | QMutexLocker lock(QQmlMetaType::typeRegistrationLock()); | - |
1779 | | - |
1780 | if (!typeNamespace.isEmpty()TRUE | evaluated 564 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 26 times by 1 test |
) { | 26-564 |
1781 | | - |
1782 | if (typeNamespace != uriTRUE | evaluated 2 times by 1 test | FALSE | evaluated 562 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 2-562 |
1783 | | - |
1784 | if (errorsTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-2 |
1785 | QQmlError error; | - |
1786 | error.setDescription(tr("Module namespace '%1' does not match import URI '%2'").arg(typeNamespace).arg(uri)); | - |
1787 | errors->prepend(error); | - |
1788 | }executed 2 times by 1 test: end of block | 2 |
1789 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
1790 | } | - |
1791 | | - |
1792 | if (QQmlMetaType::namespaceContainsRegistrations(typeNamespace, vmaj)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 560 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 2-560 |
1793 | | - |
1794 | if (errorsTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-2 |
1795 | QQmlError error; | - |
1796 | error.setDescription(tr("Namespace '%1' has already been used for type registration").arg(typeNamespace)); | - |
1797 | errors->prepend(error); | - |
1798 | }executed 2 times by 1 test: end of block | 2 |
1799 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
1800 | } else { | - |
1801 | QQmlMetaType::protectNamespace(typeNamespace); | - |
1802 | }executed 560 times by 135 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 560 |
1803 | } else { | - |
1804 | | - |
1805 | QMessageLogger(__FILE__, 2058, __PRETTY_FUNCTION__).warning().nospace() << QtPrivate::asString(tr("Module '%1' does not contain a module identifier directive - it cannot be protected from external registrations.").arg(uri)).toLocal8Bit().constData(); | - |
1806 | }executed 26 times by 1 test: end of block | 26 |
1807 | | - |
1808 | QQmlMetaType::setTypeRegistrationNamespace(typeNamespace); | - |
1809 | | - |
1810 | if (QQmlExtensionPlugin *plugin = qobject_cast<QQmlExtensionPlugin *>(instance)TRUE | evaluated 586 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | never evaluated |
) { | 0-586 |
1811 | | - |
1812 | QQmlExtensionPluginPrivate::get(plugin)->baseUrl = QQmlImports::urlFromLocalFileOrQrcOrUrl(basePath); | - |
1813 | }executed 586 times by 135 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 586 |
1814 | | - |
1815 | iface->registerTypes(moduleId); | - |
1816 | QQmlMetaType::setTypeRegistrationNamespace(QString()); | - |
1817 | } | - |
1818 | | - |
1819 | if (!failureRecorder.failures().isEmpty()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 584 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 2-584 |
1820 | if (errorsTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-2 |
1821 | for (const QString &failure : failureRecorder.failures()) { | - |
1822 | QQmlError error; | - |
1823 | error.setDescription(failure); | - |
1824 | errors->prepend(error); | - |
1825 | }executed 2 times by 1 test: end of block | 2 |
1826 | }executed 2 times by 1 test: end of block | 2 |
1827 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
1828 | } | - |
1829 | | - |
1830 | returnexecuted 584 times by 135 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
true;executed 584 times by 135 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 584 |
1831 | } | - |
1832 | | - |
1833 | | - |
1834 | | - |
1835 | | - |
1836 | bool QQmlImportDatabase::importStaticPlugin(QObject *instance, const QString &basePath, | - |
1837 | const QString &uri, const QString &typeNamespace, int vmaj, QList<QQmlError> *errors) | - |
1838 | { | - |
1839 | | - |
1840 | | - |
1841 | const QString uniquePluginID = QString::asprintf("%p", instance); | - |
1842 | { | - |
1843 | StringRegisteredPluginMap *plugins = qmlEnginePluginsWithRegisteredTypes(); | - |
1844 | QMutexLocker lock(&plugins->mutex); | - |
1845 | | - |
1846 | | - |
1847 | | - |
1848 | bool typesRegistered = plugins->contains(uniquePluginID); | - |
1849 | | - |
1850 | if (typesRegisteredTRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) { | 0-4 |
1851 | ((plugins->value(uniquePluginID).uri == uri) ? static_cast<void>(0) : qt_assert_x("QQmlImportDatabase::importStaticPlugin", "Internal error: Static plugin imported previously with different uri", | - |
1852 | | - |
1853 | __FILE__ | - |
1854 | , | - |
1855 | | - |
1856 | 2106 | - |
1857 | )) | - |
1858 | | - |
1859 | ; | - |
1860 | } never executed: end of block else { | 0 |
1861 | RegisteredPlugin plugin; | - |
1862 | plugin.uri = uri; | - |
1863 | plugin.loader = nullptr; | - |
1864 | plugins->insert(uniquePluginID, plugin); | - |
1865 | | - |
1866 | if (!registerPluginTypes(instance, basePath, uri, typeNamespace, vmaj, errors)TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) | 0-4 |
1867 | return never executed: return false; false;never executed: return false; | 0 |
1868 | }executed 4 times by 1 test: end of block | 4 |
1869 | | - |
1870 | | - |
1871 | | - |
1872 | | - |
1873 | | - |
1874 | } | - |
1875 | | - |
1876 | | - |
1877 | | - |
1878 | | - |
1879 | if (!initializedPlugins.contains(uniquePluginID)TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) { | 0-4 |
1880 | initializedPlugins.insert(uniquePluginID); | - |
1881 | | - |
1882 | if (QQmlExtensionInterface *eiface = qobject_cast<QQmlExtensionInterface *>(instance)TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) { | 0-4 |
1883 | QQmlEnginePrivate *ep = QQmlEnginePrivate::get(engine); | - |
1884 | ep->typeLoader.initializeEngine(eiface, uri.toUtf8().constData()); | - |
1885 | }executed 4 times by 1 test: end of block | 4 |
1886 | }executed 4 times by 1 test: end of block | 4 |
1887 | | - |
1888 | returnexecuted 4 times by 1 test: return true; true;executed 4 times by 1 test: return true; | 4 |
1889 | } | - |
1890 | | - |
1891 | | - |
1892 | | - |
1893 | | - |
1894 | bool QQmlImportDatabase::importDynamicPlugin(const QString &filePath, const QString &uri, | - |
1895 | const QString &typeNamespace, int vmaj, QList<QQmlError> *errors) | - |
1896 | { | - |
1897 | | - |
1898 | QFileInfo fileInfo(filePath); | - |
1899 | const QString absoluteFilePath = fileInfo.absoluteFilePath(); | - |
1900 | | - |
1901 | QObject *instance = nullptr; | - |
1902 | bool engineInitialized = initializedPlugins.contains(absoluteFilePath); | - |
1903 | { | - |
1904 | StringRegisteredPluginMap *plugins = qmlEnginePluginsWithRegisteredTypes(); | - |
1905 | QMutexLocker lock(&plugins->mutex); | - |
1906 | bool typesRegistered = plugins->contains(absoluteFilePath); | - |
1907 | | - |
1908 | if (typesRegisteredTRUE | evaluated 6805 times by 96 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
| FALSE | evaluated 586 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 586-6805 |
1909 | ((plugins->value(absoluteFilePath).uri == uri) ? static_cast<void>(0) : qt_assert_x("QQmlImportDatabase::importDynamicPlugin", "Internal error: Plugin imported previously with different uri", | - |
1910 | | - |
1911 | __FILE__ | - |
1912 | , | - |
1913 | | - |
1914 | 2158 | - |
1915 | )) | - |
1916 | | - |
1917 | ; | - |
1918 | }executed 6805 times by 96 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
| 6805 |
1919 | | - |
1920 | if (!engineInitializedTRUE | evaluated 7391 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | never evaluated |
|| !typesRegisteredTRUE | never evaluated | FALSE | never evaluated |
) { | 0-7391 |
1921 | if (!QQml_isFileCaseCorrect(absoluteFilePath)TRUE | never evaluated | FALSE | evaluated 7391 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 0-7391 |
1922 | if (errorsTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1923 | QQmlError error; | - |
1924 | error.setDescription(tr("File name case mismatch for \"%1\"").arg(absoluteFilePath)); | - |
1925 | errors->prepend(error); | - |
1926 | } never executed: end of block | 0 |
1927 | return never executed: return false; false;never executed: return false; | 0 |
1928 | } | - |
1929 | | - |
1930 | QPluginLoader* loader = nullptr; | - |
1931 | if (!typesRegisteredTRUE | evaluated 586 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 6805 times by 96 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
) { | 586-6805 |
1932 | loader = new QPluginLoader(absoluteFilePath); | - |
1933 | | - |
1934 | if (!loader->load()TRUE | never evaluated | FALSE | evaluated 586 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) { | 0-586 |
1935 | if (errorsTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1936 | QQmlError error; | - |
1937 | error.setDescription(loader->errorString()); | - |
1938 | errors->prepend(error); | - |
1939 | } never executed: end of block | 0 |
1940 | delete loader; | - |
1941 | return never executed: return false; false;never executed: return false; | 0 |
1942 | } | - |
1943 | }executed 586 times by 135 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
else { | 586 |
1944 | loader = plugins->value(absoluteFilePath).loader; | - |
1945 | }executed 6805 times by 96 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
| 6805 |
1946 | | - |
1947 | instance = loader->instance(); | - |
1948 | | - |
1949 | if (!typesRegisteredTRUE | evaluated 586 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | evaluated 6805 times by 96 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
|
) { | 586-6805 |
1950 | RegisteredPlugin plugin; | - |
1951 | plugin.uri = uri; | - |
1952 | plugin.loader = loader; | - |
1953 | plugins->insert(absoluteFilePath, plugin); | - |
1954 | | - |
1955 | | - |
1956 | if (!registerPluginTypes(instance, fileInfo.absolutePath(), uri, typeNamespace, vmaj, errors)TRUE | evaluated 6 times by 1 test | FALSE | evaluated 580 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
|
) | 6-580 |
1957 | returnexecuted 6 times by 1 test: return false; false;executed 6 times by 1 test: return false; | 6 |
1958 | }executed 580 times by 135 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 580 |
1959 | }executed 7385 times by 135 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7385 |
1960 | | - |
1961 | | - |
1962 | | - |
1963 | | - |
1964 | | - |
1965 | } | - |
1966 | | - |
1967 | | - |
1968 | if (!engineInitializedTRUE | evaluated 7385 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | never evaluated |
) { | 0-7385 |
1969 | | - |
1970 | | - |
1971 | | - |
1972 | initializedPlugins.insert(absoluteFilePath); | - |
1973 | | - |
1974 | if (QQmlExtensionInterface *eiface = qobject_cast<QQmlExtensionInterface *>(instance)TRUE | evaluated 7385 times by 135 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| FALSE | never evaluated |
) { | 0-7385 |
1975 | QQmlEnginePrivate *ep = QQmlEnginePrivate::get(engine); | - |
1976 | ep->typeLoader.initializeEngine(eiface, uri.toUtf8().constData()); | - |
1977 | }executed 7385 times by 135 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7385 |
1978 | }executed 7385 times by 135 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7385 |
1979 | | - |
1980 | returnexecuted 7385 times by 135 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
true;executed 7385 times by 135 tests: return true; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 7385 |
1981 | } | - |
1982 | | - |
1983 | void QQmlImportDatabase::clearDirCache() | - |
1984 | { | - |
1985 | QStringHash<QmldirCache *>::ConstIterator itr = qmldirCache.begin(); | - |
1986 | while (itr != qmldirCache.end()TRUE | evaluated 8497 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| FALSE | evaluated 7688 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
- ...
|
) { | 7688-8497 |
1987 | QmldirCache *cache = *itr; | - |
1988 | do { | - |
1989 | QmldirCache *nextCache = cache->next; | - |
1990 | delete cache; | - |
1991 | cache = nextCache; | - |
1992 | }executed 9098 times by 141 tests: end of block 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
- ...
while (cacheTRUE | evaluated 601 times by 28 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlinstantiator
- tst_qqmlmoduleplugin
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickfolderlistmodel
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshortcut
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- ...
| FALSE | evaluated 8497 times by 141 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_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
); | 601-9098 |
1993 | | - |
1994 | ++itr; | - |
1995 | }executed 8497 times by 141 tests: end of block 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
- ...
| 8497 |
1996 | qmldirCache.clear(); | - |
1997 | }executed 7688 times by 148 tests: end of block 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
- ...
| 7688 |
1998 | | - |
1999 | | - |
| | |