Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | #ifndef QV4STRING_H | - |
40 | #define QV4STRING_H | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | #include <QtCore/qstring.h> | - |
54 | #include "qv4managed_p.h" | - |
55 | #include <QtCore/private/qnumeric_p.h> | - |
56 | #include "qv4enginebase_p.h" | - |
57 | | - |
58 | QT_BEGIN_NAMESPACE | - |
59 | | - |
60 | namespace QV4 { | - |
61 | | - |
62 | struct ExecutionEngine; | - |
63 | struct PropertyKey; | - |
64 | | - |
65 | namespace Heap { | - |
66 | | - |
67 | struct Q_QML_PRIVATE_EXPORT StringOrSymbol : Base | - |
68 | { | - |
69 | enum StringType { | - |
70 | StringType_Symbol, | - |
71 | StringType_Regular, | - |
72 | StringType_ArrayIndex, | - |
73 | StringType_Unknown, | - |
74 | StringType_AddedString, | - |
75 | StringType_SubString, | - |
76 | StringType_Complex = StringType_AddedString | - |
77 | }; | - |
78 | | - |
79 | mutable QStringData *text; | - |
80 | mutable PropertyKey identifier; | - |
81 | mutable uint subtype; | - |
82 | mutable uint stringHash; | - |
83 | | - |
84 | static void markObjects(Heap::Base *that, MarkStack *markStack); | - |
85 | void destroy(); | - |
86 | | - |
87 | inline QString toQString() const { | - |
88 | if (!text)TRUE | never evaluated | FALSE | evaluated 17546264 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
|
| 0-17546264 |
89 | return QString(); never executed: return QString(); | 0 |
90 | QStringDataPtr ptr = { text }; | - |
91 | text->ref.ref(); | - |
92 | return QString(ptr);executed 17546531 times by 154 tests: return QString(ptr); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 17546531 |
93 | } | - |
94 | void createHashValue() const; | - |
95 | inline unsigned hashValue() const { | - |
96 | if (subtype >= StringType_Unknown)TRUE | evaluated 72667769 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| FALSE | evaluated 101448314 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
|
| 72667769-101448314 |
97 | createHashValue();executed 72672843 times by 154 tests: createHashValue(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 72672843 |
98 | Q_ASSERT(subtype < StringType_Complex); | - |
99 | | - |
100 | return stringHash;executed 174088444 times by 154 tests: return stringHash; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 174088444 |
101 | } | - |
102 | }; | - |
103 | | - |
104 | struct Q_QML_PRIVATE_EXPORT String : StringOrSymbol { | - |
105 | static void markObjects(Heap::Base *that, MarkStack *markStack); | - |
106 | | - |
107 | #ifndef V4_BOOTSTRAP | - |
108 | const VTable *vtable() const { | - |
109 | return internalClass->vtable; never executed: return internalClass->vtable; | 0 |
110 | } | - |
111 | | - |
112 | void init(const QString &text); | - |
113 | void simplifyString() const; | - |
114 | int length() const; | - |
115 | std::size_t retainedTextSize() const { | - |
116 | return subtype >= StringType_Complex ? 0 : (std::size_t(text->size) * sizeof(QChar)); never executed: return subtype >= StringType_Complex ? 0 : (std::size_t(text->size) * sizeof(QChar)); | 0 |
117 | } | - |
118 | inline QString toQString() const { | - |
119 | if (subtype >= StringType_Complex)TRUE | evaluated 1836238 times by 12 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickworkerscript
| FALSE | evaluated 92876059 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
|
| 1836238-92876059 |
120 | simplifyString();executed 1836309 times by 12 tests: simplifyString(); Executed by:- tst_ecmascripttests
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickimage
- tst_qquicklistview
- tst_qquickloader
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickworkerscript
| 1836309 |
121 | QStringDataPtr ptr = { text }; | - |
122 | text->ref.ref(); | - |
123 | return QString(ptr);executed 95379062 times by 154 tests: return QString(ptr); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 95379062 |
124 | } | - |
125 | inline bool isEqualTo(const String *other) const { | - |
126 | if (this == other)TRUE | evaluated 604 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
| FALSE | evaluated 34927245 times by 104 testsEvaluated by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
|
| 604-34927245 |
127 | return true;executed 604 times by 15 tests: return true; Executed by:- tst_examples
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquicklayouts
- tst_qquickloader
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
| 604 |
128 | if (hashValue() != other->hashValue())TRUE | evaluated 24379461 times by 103 testsEvaluated by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| FALSE | evaluated 10594707 times by 28 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- ...
|
| 10594707-24379461 |
129 | return false;executed 24379455 times by 103 tests: return false; Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
| 24379455 |
130 | Q_ASSERT(subtype < StringType_Complex); | - |
131 | if (identifier.isValid() && identifier == other->identifier)TRUE | evaluated 84899 times by 9 testsEvaluated by:- tst_ecmascripttests
- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_signalspy
| FALSE | evaluated 10438086 times by 26 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_qquickworkerscript
- ...
|
TRUE | evaluated 1247 times by 1 test | FALSE | evaluated 83705 times by 9 testsEvaluated by:- tst_ecmascripttests
- tst_qjsonbinding
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_signalspy
|
| 1247-10438086 |
132 | return true;executed 1247 times by 1 test: return true; | 1247 |
133 | if (subtype == Heap::String::StringType_ArrayIndex && other->subtype == Heap::String::StringType_ArrayIndex)TRUE | evaluated 3569 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquicklistview
- tst_qquickloader
| FALSE | evaluated 10564733 times by 28 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- ...
|
TRUE | evaluated 3510 times by 8 testsEvaluated by:- tst_ecmascripttests
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquicklistview
- tst_qquickloader
| FALSE | evaluated 60 times by 1 test |
| 60-10564733 |
134 | return true;executed 3510 times by 8 tests: return true; Executed by:- tst_ecmascripttests
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquicklistview
- tst_qquickloader
| 3510 |
135 | | - |
136 | return toQString() == other->toQString();executed 10528445 times by 28 tests: return toQString() == other->toQString(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- ...
| 10528445 |
137 | } | - |
138 | | - |
139 | bool startsWithUpper() const; | - |
140 | | - |
141 | private: | - |
142 | static void append(const String *data, QChar *ch); | - |
143 | #endif | - |
144 | }; | - |
145 | Q_STATIC_ASSERT(std::is_trivial< String >::value); | - |
146 | | - |
147 | #ifndef V4_BOOTSTRAP | - |
148 | struct ComplexString : String { | - |
149 | void init(String *l, String *n); | - |
150 | void init(String *ref, int from, int len); | - |
151 | mutable String *left; | - |
152 | mutable String *right; | - |
153 | union { | - |
154 | mutable int largestSubLength; | - |
155 | int from; | - |
156 | }; | - |
157 | int len; | - |
158 | }; | - |
159 | Q_STATIC_ASSERT(std::is_trivial< ComplexString >::value); | - |
160 | | - |
161 | inline | - |
162 | int String::length() const { | - |
163 | return text ? text->size : static_cast<const ComplexString *>(this)->len;executed 322258445 times by 105 tests: return text ? text->size : static_cast<const ComplexString *>(this)->len; Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- ...
| 322258445 |
164 | } | - |
165 | #endif | - |
166 | | - |
167 | } | - |
168 | | - |
169 | struct Q_QML_PRIVATE_EXPORT StringOrSymbol : public Managed { | - |
170 | #ifndef V4_BOOTSTRAP | - |
171 | V4_MANAGED(StringOrSymbol, Managed) never executed: end of block never executed: end of block never executed: return &static_vtbl; executed 700178082 times by 154 tests: return static_cast<QV4::Heap::StringOrSymbol *>(m()); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
executed 698730076 times by 154 tests: return dptr; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 0-700178082 |
172 | enum { | - |
173 | IsStringOrSymbol = true | - |
174 | }; | - |
175 | | - |
176 | private: | - |
177 | inline void createPropertyKey() const; | - |
178 | public: | - |
179 | PropertyKey propertyKey() const { Q_ASSERT(d()->identifier.isValid()); return d()->identifier; }executed 63396875 times by 154 tests: return d()->identifier; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 63396875 |
180 | PropertyKey toPropertyKey() const; | - |
181 | | - |
182 | | - |
183 | inline QString toQString() const { | - |
184 | return d()->toQString();executed 3675694 times by 154 tests: return d()->toQString(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 3675694 |
185 | } | - |
186 | #endif | - |
187 | }; | - |
188 | | - |
189 | struct Q_QML_PRIVATE_EXPORT String : public StringOrSymbol { | - |
190 | #ifndef V4_BOOTSTRAP | - |
191 | V4_MANAGED(String, StringOrSymbol) never executed: end of block never executed: end of block executed 57169265 times by 154 tests: return &static_vtbl; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
executed 578631430 times by 154 tests: return static_cast<QV4::Heap::String *>(m()); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
executed 579363891 times by 154 tests: return dptr; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 0-579363891 |
192 | Q_MANAGED_TYPE(String) | - |
193 | V4_INTERNALCLASS(String)executed 191859555 times by 154 tests: return e->internalClasses(QV4::EngineBase::Class_String); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 191859555 |
194 | V4_NEEDS_DESTROYexecuted 193395965 times by 154 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 193395965 |
195 | enum { | - |
196 | IsString = true | - |
197 | }; | - |
198 | | - |
199 | uchar subtype() const { return d()->subtype; }executed 151 times by 1 test: return d()->subtype; | 151 |
200 | void setSubtype(uchar subtype) const { d()->subtype = subtype; } never executed: end of block | 0 |
201 | | - |
202 | bool equals(String *other) const { | - |
203 | return d()->isEqualTo(other->d());executed 23239094 times by 104 tests: return d()->isEqualTo(other->d()); Executed by:- tst_bindingdependencyapi
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| 23239094 |
204 | } | - |
205 | inline bool isEqualTo(const String *other) const { | - |
206 | return d()->isEqualTo(other->d());executed 11674331 times by 30 tests: return d()->isEqualTo(other->d()); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
| 11674331 |
207 | } | - |
208 | | - |
209 | inline bool compare(const String *other) { | - |
210 | return toQString() < other->toQString();executed 10269 times by 3 tests: return toQString() < other->toQString(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qqmlecmascript
| 10269 |
211 | } | - |
212 | | - |
213 | inline QString toQString() const { | - |
214 | return d()->toQString();executed 55889882 times by 154 tests: return d()->toQString(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 55889882 |
215 | } | - |
216 | | - |
217 | inline unsigned hashValue() const { | - |
218 | return d()->hashValue();executed 14489172 times by 104 tests: return d()->hashValue(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qjsonbinding
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 14489172 |
219 | } | - |
220 | uint toUInt(bool *ok) const; | - |
221 | | - |
222 | | - |
223 | Q_NEVER_INLINE void createPropertyKeyImpl() const; | - |
224 | | - |
225 | static uint createHashValue(const QChar *ch, int length, uint *subtype) | - |
226 | { | - |
227 | const QChar *end = ch + length; | - |
228 | return calculateHashValue(ch, end, subtype);executed 1604387 times by 147 tests: return calculateHashValue(ch, end, subtype); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- ...
| 1604387 |
229 | } | - |
230 | | - |
231 | static uint createHashValue(const char *ch, int length, uint *subtype) | - |
232 | { | - |
233 | const char *end = ch + length; | - |
234 | return calculateHashValue(ch, end, subtype);executed 470754 times by 146 tests: return calculateHashValue(ch, end, subtype); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
| 470754 |
235 | } | - |
236 | | - |
237 | bool startsWithUpper() const { return d()->startsWithUpper(); }executed 2592232 times by 89 tests: return d()->startsWithUpper(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetatype
- ...
| 2592232 |
238 | | - |
239 | protected: | - |
240 | static bool virtualIsEqualTo(Managed *that, Managed *o); | - |
241 | static qint64 virtualGetLength(const Managed *m); | - |
242 | #endif | - |
243 | | - |
244 | public: | - |
245 | static uint toArrayIndex(const QString &str); | - |
246 | | - |
247 | private: | - |
248 | static inline uint toUInt(const QChar *ch) { return ch->unicode(); }executed 636079988 times by 154 tests: return ch->unicode(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 636079988 |
249 | static inline uint toUInt(const char *ch) { return static_cast<unsigned char>(*ch); }executed 5431336 times by 146 tests: return static_cast<unsigned char>(*ch); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
| 5431336 |
250 | | - |
251 | template <typename T> | - |
252 | static inline uint toArrayIndex(const T *ch, const T *end) | - |
253 | { | - |
254 | uint i = toUInt(ch) - '0'; | - |
255 | if (i > 9)TRUE | evaluated 74541620 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| FALSE | evaluated 315528 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
|
| 315528-74541620 |
256 | return UINT_MAX;executed 74620909 times by 154 tests: return (0x7fffffff * 2U + 1U) ; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 74620909 |
257 | ++ch; | - |
258 | | - |
259 | if (i == 0 && ch != end)TRUE | evaluated 27761 times by 15 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qtqmlmodules
- tst_testfiltering
| FALSE | evaluated 287645 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
|
TRUE | evaluated 17752 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_qjsvalue
- tst_qqmlecmascript
| FALSE | evaluated 10003 times by 15 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquicklistview
- tst_qtqmlmodules
- tst_testfiltering
|
| 10003-287645 |
260 | return UINT_MAX;executed 17752 times by 3 tests: return (0x7fffffff * 2U + 1U) ; Executed by:- tst_ecmascripttests
- tst_qjsvalue
- tst_qqmlecmascript
| 17752 |
261 | | - |
262 | while (ch < end) {TRUE | evaluated 1223418 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| FALSE | evaluated 182961 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
|
| 182961-1223418 |
263 | uint x = toUInt(ch) - '0'; | - |
264 | if (x > 9)TRUE | evaluated 114051 times by 10 testsEvaluated by:- tst_ecmascripttests
- tst_parserstress
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickloader
| FALSE | evaluated 1109369 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
|
| 114051-1109369 |
265 | return UINT_MAX;executed 114055 times by 10 tests: return (0x7fffffff * 2U + 1U) ; Executed by:- tst_ecmascripttests
- tst_parserstress
- tst_qjsonbinding
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickloader
| 114055 |
266 | if (mul_overflow(i, uint(10), &i) || add_overflow(i, x, &i)) TRUE | evaluated 580 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_parserstress
- tst_qjsvalue
| FALSE | evaluated 1108590 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
|
TRUE | evaluated 148 times by 1 test | FALSE | evaluated 1108780 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
|
| 148-1108780 |
267 | return UINT_MAX;executed 728 times by 3 tests: return (0x7fffffff * 2U + 1U) ; Executed by:- tst_ecmascripttests
- tst_parserstress
- tst_qjsvalue
| 728 |
268 | ++ch; | - |
269 | }executed 1108666 times by 154 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 1108666 |
270 | return i;executed 182999 times by 154 tests: return i; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 182999 |
271 | } | - |
272 | | - |
273 | public: | - |
274 | template <typename T> | - |
275 | static inline uint calculateHashValue(const T *ch, const T* end, uint *subtype) | - |
276 | { | - |
277 | | - |
278 | uint h = toArrayIndex(ch, end); | - |
279 | if (h != UINT_MAX) {TRUE | evaluated 80140 times by 19 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qtqmlmodules
- tst_testfiltering
| FALSE | evaluated 74761424 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
|
| 80140-74761424 |
280 | if (subtype)TRUE | evaluated 80088 times by 19 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qtqmlmodules
- tst_testfiltering
| FALSE | evaluated 90 times by 2 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
|
| 90-80088 |
281 | *subtype = Heap::StringOrSymbol::StringType_ArrayIndex;executed 80085 times by 19 tests: *subtype = Heap::StringOrSymbol::StringType_ArrayIndex; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qtqmlmodules
- tst_testfiltering
| 80085 |
282 | return h;executed 80174 times by 19 tests: return h; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qtqmlmodules
- tst_testfiltering
| 80174 |
283 | } | - |
284 | | - |
285 | while (ch < end) {TRUE | evaluated 494029316 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| FALSE | evaluated 74926578 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
|
| 74926578-494029316 |
286 | h = 31 * h + toUInt(ch); | - |
287 | ++ch; | - |
288 | }executed 494232754 times by 154 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 494232754 |
289 | | - |
290 | if (subtype)TRUE | evaluated 72887442 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| FALSE | evaluated 2050859 times by 146 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- ...
|
| 2050859-72887442 |
291 | *subtype = (toUInt(ch) == '@') ? Heap::StringOrSymbol::StringType_Symbol : Heap::StringOrSymbol::StringType_Regular;executed 72884453 times by 154 tests: *subtype = (toUInt(ch) == '@') ? Heap::StringOrSymbol::StringType_Symbol : Heap::StringOrSymbol::StringType_Regular; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
TRUE | never evaluated | FALSE | evaluated 72885660 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
|
| 0-72885660 |
292 | return h;executed 74941598 times by 154 tests: return h; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 74941598 |
293 | } | - |
294 | }; | - |
295 | | - |
296 | #ifndef V4_BOOTSTRAP | - |
297 | struct ComplexString : String { | - |
298 | typedef QV4::Heap::ComplexString Data; | - |
299 | QV4::Heap::ComplexString *d_unchecked() const { return static_cast<QV4::Heap::ComplexString *>(m()); }executed 113077466 times by 36 tests: return static_cast<QV4::Heap::ComplexString *>(m()); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- ...
| 113077466 |
300 | QV4::Heap::ComplexString *d() const { | - |
301 | QV4::Heap::ComplexString *dptr = d_unchecked(); | - |
302 | dptr->_checkIsInitialized(); | - |
303 | return dptr;executed 56900394 times by 36 tests: return dptr; Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- ...
| 56900394 |
304 | } | - |
305 | }; | - |
306 | | - |
307 | inline | - |
308 | void StringOrSymbol::createPropertyKey() const { | - |
309 | if (d()->identifier.isValid())TRUE | never evaluated | FALSE | evaluated 49794608 times by 154 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
|
| 0-49794608 |
310 | return; never executed: return; | 0 |
311 | Q_ASSERT(isString()); | - |
312 | static_cast<const String *>(this)->createPropertyKeyImpl(); | - |
313 | }executed 49907671 times by 154 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 49907671 |
314 | | - |
315 | template<> | - |
316 | inline const StringOrSymbol *Value::as() const { | - |
317 | return isManaged() && m()->internalClass->vtable->isStringOrSymbol ? static_cast<const String *>(this) : nullptr; never executed: return isManaged() && m()->internalClass->vtable->isStringOrSymbol ? static_cast<const String *>(this) : nullptr; | 0 |
318 | } | - |
319 | | - |
320 | template<> | - |
321 | inline const String *Value::as() const { | - |
322 | return isManaged() && m()->internalClass->vtable->isString ? static_cast<const String *>(this) : nullptr;executed 64758358 times by 154 tests: return isManaged() && m()->internalClass->vtable->isString ? static_cast<const String *>(this) : nullptr; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugclient
- tst_qqmldebugjs
- tst_qqmldebuglocal
- tst_qqmldebugservice
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- ...
| 64758358 |
323 | } | - |
324 | | - |
325 | template<> | - |
326 | inline ReturnedValue value_convert<String>(ExecutionEngine *e, const Value &v) | - |
327 | { | - |
328 | return v.toString(e)->asReturnedValue();executed 263175 times by 3 tests: return v.toString(e)->asReturnedValue(); Executed by:- tst_ecmascripttests
- tst_qjsengine
- tst_qjsvalue
| 263175 |
329 | } | - |
330 | #endif | - |
331 | | - |
332 | | - |
333 | } | - |
334 | | - |
335 | QT_END_NAMESPACE | - |
336 | | - |
337 | #endif | - |
| | |