OpenCoverage

qqmldirparser.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmldirparser.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5static int parseInt(const QStringRef &str, bool *ok)-
6{-
7 int pos = 0;-
8 int number = 0;-
9 while (pos < str.length()
pos < str.length()Description
TRUEevaluated 728 times by 16 tests
Evaluated 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
FALSEevaluated 720 times by 16 tests
Evaluated 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()
str.at(pos).isDigit()Description
TRUEevaluated 728 times by 16 tests
Evaluated 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
FALSEnever evaluated
) {
0-728
10 if (pos != 0
pos != 0Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmldirparser
FALSEevaluated 720 times by 16 tests
Evaluated 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;
Executed by:
  • tst_qqmldirparser
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()
pos != str.length()Description
TRUEnever evaluated
FALSEevaluated 720 times by 16 tests
Evaluated 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 return
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
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-
22static bool parseVersion(const QString &str, int *major, int *minor)-
23{-
24 const int dotIndex = str.indexOf(QLatin1Char('.'));-
25 if (dotIndex != -1
dotIndex != -1Description
TRUEevaluated 360 times by 16 tests
Evaluated 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
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qqmldirparser
&& str.indexOf(QLatin1Char('.'), dotIndex + 1) == -1
str.indexOf(QL...dex + 1) == -1Description
TRUEevaluated 360 times by 16 tests
Evaluated 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
FALSEnever evaluated
) {
0-360
26 bool ok = false;-
27 *major = parseInt(QStringRef(&str, 0, dotIndex), &ok);-
28 if (ok
okDescription
TRUEevaluated 360 times by 16 tests
Evaluated 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
FALSEnever 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 return
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
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 return
executed 6 times by 1 test: return false;
Executed by:
  • tst_qqmldirparser
false;
executed 6 times by 1 test: return false;
Executed by:
  • tst_qqmldirparser
6
33}-
34-
35QQmlDirParser::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-
39QQmlDirParser::~QQmlDirParser()-
40{-
41}-
42-
43inline static void scanSpace(const QChar *&ch) {-
44 while (ch->isSpace()
ch->isSpace()Description
TRUEevaluated 69809 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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
  • ...
FALSEevaluated 69605 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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()
!ch->isNull()Description
TRUEevaluated 69809 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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
  • ...
FALSEnever evaluated
&& *
*ch != QLatin1Char('\n')Description
TRUEevaluated 31434 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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
  • ...
FALSEevaluated 38375 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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')
*ch != QLatin1Char('\n')Description
TRUEevaluated 31434 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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
  • ...
FALSEevaluated 38375 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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-
48inline static void scanToEnd(const QChar *&ch) {-
49 while (*
*ch != QLatin1Char('\n')Description
TRUEevaluated 646 times by 3 tests
Evaluated by:
  • tst_qqmldirparser
  • tst_qqmlmoduleplugin
  • tst_qquickanimatedimage
FALSEevaluated 46 times by 3 tests
Evaluated by:
  • tst_qqmldirparser
  • tst_qqmlmoduleplugin
  • tst_qquickanimatedimage
ch != QLatin1Char('\n')
*ch != QLatin1Char('\n')Description
TRUEevaluated 646 times by 3 tests
Evaluated by:
  • tst_qqmldirparser
  • tst_qqmlmoduleplugin
  • tst_qquickanimatedimage
FALSEevaluated 46 times by 3 tests
Evaluated by:
  • tst_qqmldirparser
  • tst_qqmlmoduleplugin
  • tst_qquickanimatedimage
&& !ch->isNull()
!ch->isNull()Description
TRUEevaluated 646 times by 3 tests
Evaluated by:
  • tst_qqmldirparser
  • tst_qqmlmoduleplugin
  • tst_qquickanimatedimage
FALSEnever 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-
53inline static void scanWord(const QChar *&ch) {-
54 while (!ch->isSpace()
!ch->isSpace()Description
TRUEevaluated 752031 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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
  • ...
FALSEevaluated 69551 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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()
!ch->isNull()Description
TRUEevaluated 752027 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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
  • ...
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qmldiskcache
)
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-
61bool 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()
!ch->isNull()Description
TRUEevaluated 38425 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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
  • ...
FALSEevaluated 7981 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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 (*
*ch == QLatin1Char('\n')Description
TRUEevaluated 242 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldirparser
  • tst_qqmlmoduleplugin
  • tst_qquickdraghandler
  • tst_qquicktableview
  • tst_qquicktaphandler
FALSEevaluated 38183 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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')
*ch == QLatin1Char('\n')Description
TRUEevaluated 242 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldirparser
  • tst_qqmlmoduleplugin
  • tst_qquickdraghandler
  • tst_qquicktableview
  • tst_qquicktaphandler
FALSEevaluated 38183 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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()
ch->isNull()Description
TRUEnever evaluated
FALSEevaluated 38183 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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 (*
*ch == QLatin1Char('#')Description
TRUEevaluated 46 times by 3 tests
Evaluated by:
  • tst_qqmldirparser
  • tst_qqmlmoduleplugin
  • tst_qquickanimatedimage
FALSEevaluated 69555 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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('#')
*ch == QLatin1Char('#')Description
TRUEevaluated 46 times by 3 tests
Evaluated by:
  • tst_qqmldirparser
  • tst_qqmlmoduleplugin
  • tst_qquickanimatedimage
FALSEevaluated 69555 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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 < 4
sectionCount < 4Description
TRUEevaluated 69555 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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
  • ...
FALSEnever 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 (*
*ch != QLatin1Char('\n')Description
TRUEevaluated 31422 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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
  • ...
FALSEevaluated 38133 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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')
*ch != QLatin1Char('\n')Description
TRUEevaluated 31422 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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
  • ...
FALSEevaluated 38133 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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()
!ch->isNull()Description
TRUEevaluated 31418 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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
  • ...
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qmldiskcache
);
4-69555
108-
109 if (!ch->isNull()
!ch->isNull()Description
TRUEevaluated 38179 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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
  • ...
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qmldiskcache
)
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 (invalidLine
invalidLineDescription
TRUEnever evaluated
FALSEevaluated 38183 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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 == 0
sectionCount == 0Description
TRUEevaluated 44 times by 3 tests
Evaluated by:
  • tst_qqmldirparser
  • tst_qqmlmoduleplugin
  • tst_qquickanimatedimage
FALSEevaluated 38139 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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")
sections[0] ==...ring("module")Description
TRUEevaluated 7789 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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
  • ...
FALSEevaluated 30350 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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 != 2
sectionCount != 2Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmldirparser
FALSEevaluated 7785 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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); return
executed 4 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmldirparser
qstring_literal_temp;
executed 4 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmldirparser
}()).arg(sectionCount - 1));
4
123 continue;
executed 4 times by 1 test: continue;
Executed by:
  • tst_qqmldirparser
4
124 }-
125 if (!_typeNamespace.isEmpty()
!_typeNamespace.isEmpty()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmldirparser
FALSEevaluated 7783 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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); return
executed 2 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmldirparser
qstring_literal_temp;
executed 2 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmldirparser
}()));
2
128 continue;
executed 2 times by 1 test: continue;
Executed by:
  • tst_qqmldirparser
2
129 }-
130 if (!firstLine
!firstLineDescription
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qqmldirparser
  • tst_qqmlmoduleplugin
FALSEevaluated 7779 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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); return
executed 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")
sections[0] ==...ring("plugin")Description
TRUEevaluated 7577 times by 136 tests
Evaluated 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
  • ...
FALSEevaluated 22773 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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 < 2
sectionCount < 2Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmldirparser
FALSEevaluated 7575 times by 136 tests
Evaluated 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 > 3
sectionCount > 3Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmldirparser
FALSEevaluated 7573 times by 136 tests
Evaluated 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); return
executed 4 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmldirparser
qstring_literal_temp;
executed 4 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmldirparser
}()).arg(sectionCount - 1));
4
142-
143 continue;
executed 4 times by 1 test: continue;
Executed by:
  • tst_qqmldirparser
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")
sections[0] ==...g("classname")Description
TRUEevaluated 7493 times by 136 tests
Evaluated 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
  • ...
FALSEevaluated 15280 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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 < 2
sectionCount < 2Description
TRUEnever evaluated
FALSEevaluated 7493 times by 136 tests
Evaluated 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")
sections[0] ==...ng("internal")Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlmoduleplugin
FALSEevaluated 15278 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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 != 3
sectionCount != 3Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlmoduleplugin
FALSEnever 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); return
executed 2 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmlmoduleplugin
qstring_literal_temp;
executed 2 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmlmoduleplugin
}()).arg(sectionCount - 1));
2
164 continue;
executed 2 times by 1 test: continue;
Executed by:
  • tst_qqmlmoduleplugin
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")
sections[0] ==...g("singleton")Description
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qmldiskcache
FALSEevaluated 15272 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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 < 3
sectionCount < 3Description
TRUEnever evaluated
FALSEevaluated 6 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qmldiskcache
|| sectionCount > 4
sectionCount > 4Description
TRUEnever evaluated
FALSEevaluated 6 times by 2 tests
Evaluated 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 == 3
sectionCount == 3Description
TRUEnever evaluated
FALSEevaluated 6 times by 2 tests
Evaluated 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)
parseVersion(s...major, &minor)Description
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qmldiskcache
FALSEnever 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")
sections[0] ==...ng("typeinfo")Description
TRUEevaluated 7701 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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
  • ...
FALSEevaluated 7571 times by 134 tests
Evaluated 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 != 2
sectionCount != 2Description
TRUEnever evaluated
FALSEevaluated 7701 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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")
sections[0] ==...nersupported")Description
TRUEevaluated 7115 times by 134 tests
Evaluated 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
  • ...
FALSEevaluated 456 times by 16 tests
Evaluated 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 != 1
sectionCount != 1Description
TRUEnever evaluated
FALSEevaluated 7115 times by 134 tests
Evaluated 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")
sections[0] ==...ing("depends")Description
TRUEevaluated 54 times by 8 tests
Evaluated by:
  • tst_qqmldirparser
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
FALSEevaluated 402 times by 16 tests
Evaluated 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 != 3
sectionCount != 3Description
TRUEnever evaluated
FALSEevaluated 54 times by 8 tests
Evaluated 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)
parseVersion(s...major, &minor)Description
TRUEevaluated 52 times by 8 tests
Evaluated by:
  • tst_qqmldirparser
  • tst_qqmllistmodel
  • tst_qquickanimationcontroller
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_quicktestmainwithsetup
  • tst_signalspy
  • tst_testfiltering
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmldirparser
) {
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); return
executed 2 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmldirparser
qstring_literal_temp;
executed 2 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmldirparser
}()).arg(sections[2]));
2
223 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmldirparser
2
224 } else if (sectionCount == 2
sectionCount == 2Description
TRUEevaluated 90 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qqmldirparser
  • tst_qquicktextedit
FALSEevaluated 312 times by 15 tests
Evaluated 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 == 3
sectionCount == 3Description
TRUEevaluated 306 times by 15 tests
Evaluated 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
FALSEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qqmldirparser
  • tst_qqmlmoduleplugin
) {
6-306
229 int major, minor;-
230 if (parseVersion(sections[1], &major, &minor)
parseVersion(s...major, &minor)Description
TRUEevaluated 302 times by 15 tests
Evaluated 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
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qqmldirparser
) {
4-302
231 const QString &fileName = sections[2];-
232-
233 if (fileName.endsWith(QLatin1String(".js"))
fileName.endsW...String(".js"))Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_qqmldirparser
  • tst_qqmlecmascript
FALSEevaluated 292 times by 14 tests
Evaluated 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); return
executed 4 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmldirparser
qstring_literal_temp;
executed 4 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qqmldirparser
}()).arg(sections[1]));
4
243 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_qqmldirparser
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); return
executed 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 return
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
  • ...
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-
255void 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-
264bool QQmlDirParser::hasError() const-
265{-
266 if (! _errors.isEmpty()
! _errors.isEmpty()Description
TRUEevaluated 52 times by 2 tests
Evaluated by:
  • tst_qqmldirparser
  • tst_qqmlmoduleplugin
FALSEevaluated 64992 times by 141 tests
Evaluated by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_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 return
executed 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 return
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
  • ...
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-
272void 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-
278QList<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 < numErrors
i < numErrorsDescription
TRUEevaluated 28 times by 2 tests
Evaluated by:
  • tst_qqmldirparser
  • tst_qqmlmoduleplugin
FALSEevaluated 26 times by 2 tests
Evaluated 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 return
executed 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-
298QString QQmlDirParser::typeNamespace() const-
299{-
300 return
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
  • ...
_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-
303void QQmlDirParser::setTypeNamespace(const QString &s)-
304{-
305 _typeNamespace = s;-
306}
never executed: end of block
0
307-
308QList<QQmlDirParser::Plugin> QQmlDirParser::plugins() const-
309{-
310 return
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
  • ...
_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-
313QHash<QString, QQmlDirParser::Component> QQmlDirParser::components() const-
314{-
315 return
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
  • ...
_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-
318QHash<QString, QQmlDirParser::Component> QQmlDirParser::dependencies() const-
319{-
320 return
executed 46 times by 1 test: return _dependencies;
Executed by:
  • tst_qqmldirparser
_dependencies;
executed 46 times by 1 test: return _dependencies;
Executed by:
  • tst_qqmldirparser
46
321}-
322-
323QList<QQmlDirParser::Script> QQmlDirParser::scripts() const-
324{-
325 return
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
  • ...
_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}-
327bool QQmlDirParser::designerSupported() const-
328{-
329 return
executed 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-
332QString QQmlDirParser::className() const-
333{-
334 return _className;-
335}-
336-
337QDebug &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-
344QDebug &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-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0