Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | static int parseInt(const QStringRef &str, bool *ok) | - |
6 | { | - |
7 | int pos = 0; | - |
8 | int number = 0; | - |
9 | while (pos < str.length()TRUE | evaluated 728 times by 16 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 720 times by 16 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
&& str.at(pos).isDigit()TRUE | evaluated 728 times by 16 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | never evaluated |
) { | 0-728 |
10 | if (pos != 0TRUE | evaluated 8 times by 1 test | FALSE | evaluated 720 times by 16 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
) | 8-720 |
11 | number *= 10;executed 8 times by 1 test: number *= 10; | 8 |
12 | number += str.at(pos).unicode() - '0'; | - |
13 | ++pos; | - |
14 | }executed 728 times by 16 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 728 |
15 | if (pos != str.length()TRUE | never evaluated | FALSE | evaluated 720 times by 16 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
) | 0-720 |
16 | * never executed: *ok = false; ok = false;never executed: *ok = false; | 0 |
17 | else | - |
18 | *executed 720 times by 16 tests: *ok = true; Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
ok = true;executed 720 times by 16 tests: *ok = true; Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 720 |
19 | returnexecuted 720 times by 16 tests: return number; Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
number;executed 720 times by 16 tests: return number; Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 720 |
20 | } | - |
21 | | - |
22 | static bool parseVersion(const QString &str, int *major, int *minor) | - |
23 | { | - |
24 | const int dotIndex = str.indexOf(QLatin1Char('.')); | - |
25 | if (dotIndex != -1TRUE | evaluated 360 times by 16 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 6 times by 1 test |
&& str.indexOf(QLatin1Char('.'), dotIndex + 1) == -1TRUE | evaluated 360 times by 16 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | never evaluated |
) { | 0-360 |
26 | bool ok = false; | - |
27 | *major = parseInt(QStringRef(&str, 0, dotIndex), &ok); | - |
28 | if (okTRUE | evaluated 360 times by 16 testsEvaluated by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | never evaluated |
) | 0-360 |
29 | *executed 360 times by 16 tests: *minor = parseInt(QStringRef(&str, dotIndex + 1, str.length() - dotIndex - 1), &ok); Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
minor = parseInt(QStringRef(&str, dotIndex + 1, str.length() - dotIndex - 1), &ok);executed 360 times by 16 tests: *minor = parseInt(QStringRef(&str, dotIndex + 1, str.length() - dotIndex - 1), &ok); Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 360 |
30 | returnexecuted 360 times by 16 tests: return ok; Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
ok;executed 360 times by 16 tests: return ok; Executed by:- tst_examples
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 360 |
31 | } | - |
32 | returnexecuted 6 times by 1 test: return false; false;executed 6 times by 1 test: return false; | 6 |
33 | } | - |
34 | | - |
35 | QQmlDirParser::QQmlDirParser() : _designerSupported(false) | - |
36 | { | - |
37 | }executed 66354 times by 142 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| 66354 |
38 | | - |
39 | QQmlDirParser::~QQmlDirParser() | - |
40 | { | - |
41 | } | - |
42 | | - |
43 | inline static void scanSpace(const QChar *&ch) { | - |
44 | while (ch->isSpace()TRUE | evaluated 69809 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| FALSE | evaluated 69605 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
&& !ch->isNull()TRUE | evaluated 69809 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| FALSE | never evaluated |
&& *TRUE | evaluated 31434 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| FALSE | evaluated 38375 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
ch != QLatin1Char('\n')TRUE | evaluated 31434 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| FALSE | evaluated 38375 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) | 0-69809 |
45 | ++executed 31434 times by 141 tests: ++ch; 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
ch;executed 31434 times by 141 tests: ++ch; 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| 31434 |
46 | }executed 107980 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| 107980 |
47 | | - |
48 | inline static void scanToEnd(const QChar *&ch) { | - |
49 | while (*TRUE | evaluated 646 times by 3 testsEvaluated by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickanimatedimage
| FALSE | evaluated 46 times by 3 testsEvaluated by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickanimatedimage
|
ch != QLatin1Char('\n')TRUE | evaluated 646 times by 3 testsEvaluated by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickanimatedimage
| FALSE | evaluated 46 times by 3 testsEvaluated by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickanimatedimage
|
&& !ch->isNull()TRUE | evaluated 646 times by 3 testsEvaluated by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickanimatedimage
| FALSE | never evaluated |
) | 0-646 |
50 | ++executed 646 times by 3 tests: ++ch; Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickanimatedimage
ch;executed 646 times by 3 tests: ++ch; Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickanimatedimage
| 646 |
51 | }executed 46 times by 3 tests: end of block Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickanimatedimage
| 46 |
52 | | - |
53 | inline static void scanWord(const QChar *&ch) { | - |
54 | while (!ch->isSpace()TRUE | evaluated 752031 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| FALSE | evaluated 69551 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
&& !ch->isNull()TRUE | evaluated 752027 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| FALSE | evaluated 4 times by 1 test |
) | 4-752031 |
55 | ++executed 752027 times by 141 tests: ++ch; 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
ch;executed 752027 times by 141 tests: ++ch; 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| 752027 |
56 | }executed 69555 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| 69555 |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | bool QQmlDirParser::parse(const QString &source) | - |
62 | { | - |
63 | _errors.clear(); | - |
64 | _plugins.clear(); | - |
65 | _components.clear(); | - |
66 | _scripts.clear(); | - |
67 | _designerSupported = false; | - |
68 | _className.clear(); | - |
69 | | - |
70 | quint16 lineNumber = 0; | - |
71 | bool firstLine = true; | - |
72 | | - |
73 | const QChar *ch = source.constData(); | - |
74 | while (!ch->isNull()TRUE | evaluated 38425 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| FALSE | evaluated 7981 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) { | 7981-38425 |
75 | ++lineNumber; | - |
76 | | - |
77 | bool invalidLine = false; | - |
78 | const QChar *lineStart = ch; | - |
79 | | - |
80 | scanSpace(ch); | - |
81 | if (*TRUE | evaluated 242 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickdraghandler
- tst_qquicktableview
- tst_qquicktaphandler
| FALSE | evaluated 38183 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
ch == QLatin1Char('\n')TRUE | evaluated 242 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickdraghandler
- tst_qquicktableview
- tst_qquicktaphandler
| FALSE | evaluated 38183 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) { | 242-38183 |
82 | ++ch; | - |
83 | continue;executed 242 times by 8 tests: continue; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickdraghandler
- tst_qquicktableview
- tst_qquicktaphandler
| 242 |
84 | } | - |
85 | if (ch->isNull()TRUE | never evaluated | FALSE | evaluated 38183 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) | 0-38183 |
86 | break; never executed: break; | 0 |
87 | | - |
88 | QString sections[4]; | - |
89 | int sectionCount = 0; | - |
90 | | - |
91 | do { | - |
92 | if (*TRUE | evaluated 46 times by 3 testsEvaluated by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickanimatedimage
| FALSE | evaluated 69555 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
ch == QLatin1Char('#')TRUE | evaluated 46 times by 3 testsEvaluated by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickanimatedimage
| FALSE | evaluated 69555 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) { | 46-69555 |
93 | scanToEnd(ch); | - |
94 | break;executed 46 times by 3 tests: break; Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickanimatedimage
| 46 |
95 | } | - |
96 | const QChar *start = ch; | - |
97 | scanWord(ch); | - |
98 | if (sectionCount < 4TRUE | evaluated 69555 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| FALSE | never evaluated |
) { | 0-69555 |
99 | sections[sectionCount++] = source.mid(start-source.constData(), ch-start); | - |
100 | }executed 69555 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
else { | 69555 |
101 | reportError(lineNumber, start-lineStart, QLatin1String("unexpected token")); | - |
102 | scanToEnd(ch); | - |
103 | invalidLine = true; | - |
104 | break; never executed: break; | 0 |
105 | } | - |
106 | scanSpace(ch); | - |
107 | }executed 69555 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
while (*TRUE | evaluated 31422 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| FALSE | evaluated 38133 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
ch != QLatin1Char('\n')TRUE | evaluated 31422 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| FALSE | evaluated 38133 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
&& !ch->isNull()TRUE | evaluated 31418 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| FALSE | evaluated 4 times by 1 test |
); | 4-69555 |
108 | | - |
109 | if (!ch->isNull()TRUE | evaluated 38179 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| FALSE | evaluated 4 times by 1 test |
) | 4-38179 |
110 | ++executed 38179 times by 141 tests: ++ch; 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
ch;executed 38179 times by 141 tests: ++ch; 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| 38179 |
111 | | - |
112 | if (invalidLineTRUE | never evaluated | FALSE | evaluated 38183 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) { | 0-38183 |
113 | reportError(lineNumber, 0, | - |
114 | ([]() noexcept -> QString { enum { Size = sizeof(u"" "invalid qmldir directive contains too many tokens")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "invalid qmldir directive contains too many tokens" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return never executed: return qstring_literal_temp; qstring_literal_temp;never executed: return qstring_literal_temp; }())); | 0 |
115 | continue; never executed: continue; | 0 |
116 | } else if (sectionCount == 0TRUE | evaluated 44 times by 3 testsEvaluated by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickanimatedimage
| FALSE | evaluated 38139 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) { | 44-38139 |
117 | continue;executed 44 times by 3 tests: continue; Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
- tst_qquickanimatedimage
| 44 |
118 | | - |
119 | } else if (sections[0] == QLatin1String("module")TRUE | evaluated 7789 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| FALSE | evaluated 30350 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) { | 7789-30350 |
120 | if (sectionCount != 2TRUE | evaluated 4 times by 1 test | FALSE | evaluated 7785 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) { | 4-7785 |
121 | reportError(lineNumber, 0, | - |
122 | ([]() noexcept -> QString { enum { Size = sizeof(u"" "module identifier directive requires one argument, but %1 were provided")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "module identifier directive requires one argument, but %1 were provided" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 4 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 4 times by 1 test: return qstring_literal_temp; }()).arg(sectionCount - 1)); | 4 |
123 | continue;executed 4 times by 1 test: continue; | 4 |
124 | } | - |
125 | if (!_typeNamespace.isEmpty()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 7783 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) { | 2-7783 |
126 | reportError(lineNumber, 0, | - |
127 | ([]() noexcept -> QString { enum { Size = sizeof(u"" "only one module identifier directive may be defined in a qmldir file")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "only one module identifier directive may be defined in a qmldir file" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 2 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 2 times by 1 test: return qstring_literal_temp; }())); | 2 |
128 | continue;executed 2 times by 1 test: continue; | 2 |
129 | } | - |
130 | if (!firstLineTRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
| FALSE | evaluated 7779 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) { | 4-7779 |
131 | reportError(lineNumber, 0, | - |
132 | ([]() noexcept -> QString { enum { Size = sizeof(u"" "module identifier directive must be the first directive in a qmldir file")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "module identifier directive must be the first directive in a qmldir file" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 4 times by 2 tests: return qstring_literal_temp; Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
qstring_literal_temp;executed 4 times by 2 tests: return qstring_literal_temp; Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
}())); | 4 |
133 | continue;executed 4 times by 2 tests: continue; Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
| 4 |
134 | } | - |
135 | | - |
136 | _typeNamespace = sections[1]; | - |
137 | | - |
138 | }executed 7779 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
else if (sections[0] == QLatin1String("plugin")TRUE | evaluated 7577 times by 136 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| FALSE | evaluated 22773 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) { | 7577-22773 |
139 | if (sectionCount < 2TRUE | evaluated 2 times by 1 test | FALSE | evaluated 7575 times by 136 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
|
|| sectionCount > 3TRUE | evaluated 2 times by 1 test | FALSE | evaluated 7573 times by 136 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
|
) { | 2-7575 |
140 | reportError(lineNumber, 0, | - |
141 | ([]() noexcept -> QString { enum { Size = sizeof(u"" "plugin directive requires one or two arguments, but %1 were provided")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "plugin directive requires one or two arguments, but %1 were provided" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 4 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 4 times by 1 test: return qstring_literal_temp; }()).arg(sectionCount - 1)); | 4 |
142 | | - |
143 | continue;executed 4 times by 1 test: continue; | 4 |
144 | } | - |
145 | | - |
146 | const Plugin entry(sections[1], sections[2]); | - |
147 | | - |
148 | _plugins.append(entry); | - |
149 | | - |
150 | }executed 7573 times by 136 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
else if (sections[0] == QLatin1String("classname")TRUE | evaluated 7493 times by 136 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| FALSE | evaluated 15280 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) { | 7493-15280 |
151 | if (sectionCount < 2TRUE | never evaluated | FALSE | evaluated 7493 times by 136 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
|
) { | 0-7493 |
152 | reportError(lineNumber, 0, | - |
153 | ([]() noexcept -> QString { enum { Size = sizeof(u"" "classname directive requires an argument, but %1 were provided")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "classname directive requires an argument, but %1 were provided" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return never executed: return qstring_literal_temp; qstring_literal_temp;never executed: return qstring_literal_temp; }()).arg(sectionCount - 1)); | 0 |
154 | | - |
155 | continue; never executed: continue; | 0 |
156 | } | - |
157 | | - |
158 | _className = sections[1]; | - |
159 | | - |
160 | }executed 7493 times by 136 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
else if (sections[0] == QLatin1String("internal")TRUE | evaluated 2 times by 1 test | FALSE | evaluated 15278 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) { | 2-15278 |
161 | if (sectionCount != 3TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-2 |
162 | reportError(lineNumber, 0, | - |
163 | ([]() noexcept -> QString { enum { Size = sizeof(u"" "internal types require 2 arguments, but %1 were provided")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "internal types require 2 arguments, but %1 were provided" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 2 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 2 times by 1 test: return qstring_literal_temp; }()).arg(sectionCount - 1)); | 2 |
164 | continue;executed 2 times by 1 test: continue; | 2 |
165 | } | - |
166 | Component entry(sections[1], sections[2], -1, -1); | - |
167 | entry.internal = true; | - |
168 | _components.insertMulti(entry.typeName, entry); | - |
169 | } never executed: end of block else if (sections[0] == QLatin1String("singleton")TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qmldiskcache
| FALSE | evaluated 15272 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) { | 0-15272 |
170 | if (sectionCount < 3TRUE | never evaluated | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qmldiskcache
|
|| sectionCount > 4TRUE | never evaluated | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qmldiskcache
|
) { | 0-6 |
171 | reportError(lineNumber, 0, | - |
172 | ([]() noexcept -> QString { enum { Size = sizeof(u"" "singleton types require 2 or 3 arguments, but %1 were provided")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "singleton types require 2 or 3 arguments, but %1 were provided" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return never executed: return qstring_literal_temp; qstring_literal_temp;never executed: return qstring_literal_temp; }()).arg(sectionCount - 1)); | 0 |
173 | continue; never executed: continue; | 0 |
174 | } else if (sectionCount == 3TRUE | never evaluated | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qmldiskcache
|
) { | 0-6 |
175 | | - |
176 | | - |
177 | Component entry(sections[1], sections[2], -1, -1); | - |
178 | entry.singleton = true; | - |
179 | _components.insertMulti(entry.typeName, entry); | - |
180 | } never executed: end of block else { | 0 |
181 | | - |
182 | | - |
183 | int major, minor; | - |
184 | if (parseVersion(sections[2], &major, &minor)TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qmldiskcache
| FALSE | never evaluated |
) { | 0-6 |
185 | const QString &fileName = sections[3]; | - |
186 | Component entry(sections[1], fileName, major, minor); | - |
187 | entry.singleton = true; | - |
188 | _components.insertMulti(entry.typeName, entry); | - |
189 | }executed 6 times by 2 tests: end of block Executed by:- tst_examples
- tst_qmldiskcache
else { | 6 |
190 | reportError(lineNumber, 0, ([]() noexcept -> QString { enum { Size = sizeof(u"" "invalid version %1, expected <major>.<minor>")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "invalid version %1, expected <major>.<minor>" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return never executed: return qstring_literal_temp; qstring_literal_temp;never executed: return qstring_literal_temp; }()).arg(sections[2])); | 0 |
191 | } never executed: end of block | 0 |
192 | } | - |
193 | } else if (sections[0] == QLatin1String("typeinfo")TRUE | evaluated 7701 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| FALSE | evaluated 7571 times by 134 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
|
) { | 7571-7701 |
194 | if (sectionCount != 2TRUE | never evaluated | FALSE | evaluated 7701 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) { | 0-7701 |
195 | reportError(lineNumber, 0, | - |
196 | ([]() noexcept -> QString { enum { Size = sizeof(u"" "typeinfo requires 1 argument, but %1 were provided")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "typeinfo requires 1 argument, but %1 were provided" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return never executed: return qstring_literal_temp; qstring_literal_temp;never executed: return qstring_literal_temp; }()).arg(sectionCount - 1)); | 0 |
197 | continue; never executed: continue; | 0 |
198 | } | - |
199 | | - |
200 | | - |
201 | | - |
202 | | - |
203 | | - |
204 | }executed 7701 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
else if (sections[0] == QLatin1String("designersupported")TRUE | evaluated 7115 times by 134 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| FALSE | evaluated 456 times by 16 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
) { | 456-7701 |
205 | if (sectionCount != 1TRUE | never evaluated | FALSE | evaluated 7115 times by 134 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
|
) | 0-7115 |
206 | reportError(lineNumber, 0, ([]() noexcept -> QString { enum { Size = sizeof(u"" "designersupported does not expect any argument")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "designersupported does not expect any argument" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return never executed: return qstring_literal_temp; qstring_literal_temp;never executed: return qstring_literal_temp; }()));never executed: reportError(lineNumber, 0, ([]() noexcept -> QString { enum { Size = sizeof(u"" "designersupported does not expect any argument")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "designersupported does not expect any argument" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())); | 0 |
207 | else | - |
208 | _designerSupported = true;executed 7115 times by 134 tests: _designerSupported = 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| 7115 |
209 | } else if (sections[0] == QLatin1String("depends")TRUE | evaluated 54 times by 8 testsEvaluated by:- tst_qqmldirparser
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 402 times by 16 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquicktextedit
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
) { | 54-402 |
210 | if (sectionCount != 3TRUE | never evaluated | FALSE | evaluated 54 times by 8 testsEvaluated by:- tst_qqmldirparser
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
) { | 0-54 |
211 | reportError(lineNumber, 0, | - |
212 | ([]() noexcept -> QString { enum { Size = sizeof(u"" "depends requires 2 arguments, but %1 were provided")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "depends requires 2 arguments, but %1 were provided" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return never executed: return qstring_literal_temp; qstring_literal_temp;never executed: return qstring_literal_temp; }()).arg(sectionCount - 1)); | 0 |
213 | continue; never executed: continue; | 0 |
214 | } | - |
215 | | - |
216 | int major, minor; | - |
217 | if (parseVersion(sections[2], &major, &minor)TRUE | evaluated 52 times by 8 testsEvaluated by:- tst_qqmldirparser
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 2 times by 1 test |
) { | 2-52 |
218 | Component entry(sections[1], QString(), major, minor); | - |
219 | entry.internal = true; | - |
220 | _dependencies.insert(entry.typeName, entry); | - |
221 | }executed 52 times by 8 tests: end of block Executed by:- tst_qqmldirparser
- tst_qqmllistmodel
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
else { | 52 |
222 | reportError(lineNumber, 0, ([]() noexcept -> QString { enum { Size = sizeof(u"" "invalid version %1, expected <major>.<minor>")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "invalid version %1, expected <major>.<minor>" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 2 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 2 times by 1 test: return qstring_literal_temp; }()).arg(sections[2])); | 2 |
223 | }executed 2 times by 1 test: end of block | 2 |
224 | } else if (sectionCount == 2TRUE | evaluated 90 times by 3 testsEvaluated by:- tst_examples
- tst_qqmldirparser
- tst_qquicktextedit
| FALSE | evaluated 312 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
) { | 90-312 |
225 | | - |
226 | const Component entry(sections[0], sections[1], -1, -1); | - |
227 | _components.insertMulti(entry.typeName, entry); | - |
228 | }executed 90 times by 3 tests: end of block Executed by:- tst_examples
- tst_qqmldirparser
- tst_qquicktextedit
else if (sectionCount == 3TRUE | evaluated 306 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
|
) { | 6-306 |
229 | int major, minor; | - |
230 | if (parseVersion(sections[1], &major, &minor)TRUE | evaluated 302 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 4 times by 1 test |
) { | 4-302 |
231 | const QString &fileName = sections[2]; | - |
232 | | - |
233 | if (fileName.endsWith(QLatin1String(".js"))TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qqmldirparser
- tst_qqmlecmascript
| FALSE | evaluated 292 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
) { | 10-292 |
234 | | - |
235 | const Script entry(sections[0], fileName, major, minor); | - |
236 | _scripts.append(entry); | - |
237 | }executed 10 times by 2 tests: end of block Executed by:- tst_qqmldirparser
- tst_qqmlecmascript
else { | 10 |
238 | const Component entry(sections[0], fileName, major, minor); | - |
239 | _components.insertMulti(entry.typeName, entry); | - |
240 | }executed 292 times by 14 tests: end of block Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmldirparser
- tst_qqmlimport
- tst_qqmllistmodel
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qrcqml
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
| 292 |
241 | } else { | - |
242 | reportError(lineNumber, 0, ([]() noexcept -> QString { enum { Size = sizeof(u"" "invalid version %1, expected <major>.<minor>")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "invalid version %1, expected <major>.<minor>" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 4 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 4 times by 1 test: return qstring_literal_temp; }()).arg(sections[1])); | 4 |
243 | }executed 4 times by 1 test: end of block | 4 |
244 | } else { | - |
245 | reportError(lineNumber, 0, | - |
246 | ([]() noexcept -> QString { enum { Size = sizeof(u"" "a component declaration requires two or three arguments, but %1 were provided")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "a component declaration requires two or three arguments, but %1 were provided" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 6 times by 2 tests: return qstring_literal_temp; Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
qstring_literal_temp;executed 6 times by 2 tests: return qstring_literal_temp; Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
}()).arg(sectionCount)); | 6 |
247 | }executed 6 times by 2 tests: end of block Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
| 6 |
248 | | - |
249 | firstLine = false; | - |
250 | }executed 38123 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| 38123 |
251 | | - |
252 | returnexecuted 7981 times by 141 tests: return hasError(); 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
hasError();executed 7981 times by 141 tests: return hasError(); 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| 7981 |
253 | } | - |
254 | | - |
255 | void QQmlDirParser::reportError(quint16 line, quint16 column, const QString &description) | - |
256 | { | - |
257 | QQmlJS::DiagnosticMessage error; | - |
258 | error.loc.startLine = line; | - |
259 | error.loc.startColumn = column; | - |
260 | error.message = description; | - |
261 | _errors.append(error); | - |
262 | }executed 28 times by 2 tests: end of block Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
| 28 |
263 | | - |
264 | bool QQmlDirParser::hasError() const | - |
265 | { | - |
266 | if (! _errors.isEmpty()TRUE | evaluated 52 times by 2 testsEvaluated by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
| FALSE | evaluated 64992 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
|
) | 52-64992 |
267 | returnexecuted 52 times by 2 tests: return true; Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
true;executed 52 times by 2 tests: return true; Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
| 52 |
268 | | - |
269 | returnexecuted 64992 times by 141 tests: return false; 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
false;executed 64992 times by 141 tests: return false; 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| 64992 |
270 | } | - |
271 | | - |
272 | void QQmlDirParser::setError(const QQmlError &e) | - |
273 | { | - |
274 | _errors.clear(); | - |
275 | reportError(e.line(), e.column(), e.description()); | - |
276 | } never executed: end of block | 0 |
277 | | - |
278 | QList<QQmlError> QQmlDirParser::errors(const QString &uri) const | - |
279 | { | - |
280 | QUrl url(uri); | - |
281 | QList<QQmlError> errors; | - |
282 | const int numErrors = _errors.size(); | - |
283 | errors.reserve(numErrors); | - |
284 | for (int i = 0; i < numErrorsTRUE | evaluated 28 times by 2 testsEvaluated by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
| FALSE | evaluated 26 times by 2 testsEvaluated by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
|
; ++i) { | 26-28 |
285 | const QQmlJS::DiagnosticMessage &msg = _errors.at(i); | - |
286 | QQmlError e; | - |
287 | QString description = msg.message; | - |
288 | description.replace(QLatin1String("$$URI$$"), uri); | - |
289 | e.setDescription(description); | - |
290 | e.setUrl(url); | - |
291 | e.setLine(msg.loc.startLine); | - |
292 | e.setColumn(msg.loc.startColumn); | - |
293 | errors << e; | - |
294 | }executed 28 times by 2 tests: end of block Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
| 28 |
295 | returnexecuted 26 times by 2 tests: return errors; Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
errors;executed 26 times by 2 tests: return errors; Executed by:- tst_qqmldirparser
- tst_qqmlmoduleplugin
| 26 |
296 | } | - |
297 | | - |
298 | QString QQmlDirParser::typeNamespace() const | - |
299 | { | - |
300 | returnexecuted 7401 times by 135 tests: return _typeNamespace; 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
- ...
_typeNamespace;executed 7401 times by 135 tests: return _typeNamespace; 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
- ...
| 7401 |
301 | } | - |
302 | | - |
303 | void QQmlDirParser::setTypeNamespace(const QString &s) | - |
304 | { | - |
305 | _typeNamespace = s; | - |
306 | } never executed: end of block | 0 |
307 | | - |
308 | QList<QQmlDirParser::Plugin> QQmlDirParser::plugins() const | - |
309 | { | - |
310 | returnexecuted 64460 times by 141 tests: return _plugins; 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
_plugins;executed 64460 times by 141 tests: return _plugins; 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| 64460 |
311 | } | - |
312 | | - |
313 | QHash<QString, QQmlDirParser::Component> QQmlDirParser::components() const | - |
314 | { | - |
315 | returnexecuted 57081 times by 141 tests: return _components; 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
_components;executed 57081 times by 141 tests: return _components; 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| 57081 |
316 | } | - |
317 | | - |
318 | QHash<QString, QQmlDirParser::Component> QQmlDirParser::dependencies() const | - |
319 | { | - |
320 | returnexecuted 46 times by 1 test: return _dependencies; _dependencies;executed 46 times by 1 test: return _dependencies; | 46 |
321 | } | - |
322 | | - |
323 | QList<QQmlDirParser::Script> QQmlDirParser::scripts() const | - |
324 | { | - |
325 | returnexecuted 58107 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
_scripts;executed 58107 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_qqmldirparser
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- ...
| 58107 |
326 | } | - |
327 | bool QQmlDirParser::designerSupported() const | - |
328 | { | - |
329 | returnexecuted 54 times by 2 tests: return _designerSupported; Executed by:- tst_qqmldirparser
- tst_qqmlimport
_designerSupported;executed 54 times by 2 tests: return _designerSupported; Executed by:- tst_qqmldirparser
- tst_qqmlimport
| 54 |
330 | } | - |
331 | | - |
332 | QString QQmlDirParser::className() const | - |
333 | { | - |
334 | return _className; | - |
335 | } | - |
336 | | - |
337 | QDebug &operator<< (QDebug &debug, const QQmlDirParser::Component &component) | - |
338 | { | - |
339 | const QString output = ([]() noexcept -> QString { enum { Size = sizeof(u"" "{%1 %2.%3}")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "{%1 %2.%3}" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()). | - |
340 | arg(component.typeName).arg(component.majorVersion).arg(component.minorVersion); | - |
341 | return never executed: return debug << QtPrivate::asString(output).toLocal8Bit().constData(); debug << QtPrivate::asString(output).toLocal8Bit().constData();never executed: return debug << QtPrivate::asString(output).toLocal8Bit().constData(); | 0 |
342 | } | - |
343 | | - |
344 | QDebug &operator<< (QDebug &debug, const QQmlDirParser::Script &script) | - |
345 | { | - |
346 | const QString output = ([]() noexcept -> QString { enum { Size = sizeof(u"" "{%1 %2.%3}")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "{%1 %2.%3}" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()). | - |
347 | arg(script.nameSpace).arg(script.majorVersion).arg(script.minorVersion); | - |
348 | return never executed: return debug << QtPrivate::asString(output).toLocal8Bit().constData(); debug << QtPrivate::asString(output).toLocal8Bit().constData();never executed: return debug << QtPrivate::asString(output).toLocal8Bit().constData(); | 0 |
349 | } | - |
350 | | - |
351 | | - |
| | |