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