Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | using namespace QV4; | - |
6 | | - |
7 | | - |
8 | | - |
9 | void Heap::StringOrSymbol::markObjects(Heap::Base *that, MarkStack *markStack) | - |
10 | { | - |
11 | StringOrSymbol *s = static_cast<StringOrSymbol *>(that); | - |
12 | Heap::StringOrSymbol *id = s->identifier.asStringOrSymbol(); | - |
13 | if (idTRUE | evaluated 5728385 times by 26 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_qv4mm
- tst_scenegraph
- ...
| FALSE | evaluated 17123860 times by 26 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_qv4mm
- tst_scenegraph
- ...
|
) | 5728385-17123860 |
14 | id->mark(markStack);executed 5728365 times by 26 tests: id->mark(markStack); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_qv4mm
- tst_scenegraph
- ...
| 5728365 |
15 | }executed 22851152 times by 26 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_qv4mm
- tst_scenegraph
- ...
| 22851152 |
16 | | - |
17 | void Heap::String::markObjects(Heap::Base *that, MarkStack *markStack) | - |
18 | { | - |
19 | StringOrSymbol::markObjects(that, markStack); | - |
20 | String *s = static_cast<String *>(that); | - |
21 | if (s->subtype < StringType_ComplexTRUE | evaluated 12685479 times by 26 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_qv4mm
- tst_scenegraph
- ...
| FALSE | evaluated 10059713 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
|
) | 10059713-12685479 |
22 | return;executed 12685686 times by 26 tests: return; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_qv4mm
- tst_scenegraph
- ...
| 12685686 |
23 | | - |
24 | ComplexString *cs = static_cast<ComplexString *>(s); | - |
25 | if (cs->subtype == StringType_AddedStringTRUE | evaluated 10059713 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
| FALSE | never evaluated |
) { | 0-10059713 |
26 | cs->left->mark(markStack); | - |
27 | cs->right->mark(markStack); | - |
28 | }executed 10059710 times by 5 tests: end of block Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
else { | 10059710 |
29 | ((cs->subtype == StringType_SubString) ? static_cast<void>(0) : qt_assert("cs->subtype == StringType_SubString", __FILE__, 75)); | - |
30 | cs->left->mark(markStack); | - |
31 | } never executed: end of block | 0 |
32 | } | - |
33 | | - |
34 | const QV4::VTable StringOrSymbol::static_vtbl = { 0, (sizeof(StringOrSymbol::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), (sizeof(StringOrSymbol::Data) + (StringOrSymbol::NInlineProperties*sizeof(QV4::Value)) + QV4::Chunk::SlotSize - 1)/QV4::Chunk::SlotSize*QV4::Chunk::SlotSize/sizeof(QV4::Value) - (sizeof(StringOrSymbol::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), StringOrSymbol::IsExecutionContext, StringOrSymbol::IsString, StringOrSymbol::IsObject, StringOrSymbol::IsFunctionObject, StringOrSymbol::IsErrorObject, StringOrSymbol::IsArrayData, StringOrSymbol::IsStringOrSymbol, StringOrSymbol::MyType, { 0, 0, 0, 0 }, "StringOrSymbol", StringOrSymbol::virtualDestroy, StringOrSymbol::Data::markObjects, StringOrSymbol::virtualIsEqualTo, StringOrSymbol::virtualGet, StringOrSymbol::virtualPut, StringOrSymbol::virtualDeleteProperty, StringOrSymbol::virtualHasProperty, StringOrSymbol::virtualGetOwnProperty, StringOrSymbol::virtualDefineOwnProperty, StringOrSymbol::virtualIsExtensible, StringOrSymbol::virtualPreventExtensions, StringOrSymbol::virtualGetPrototypeOf, StringOrSymbol::virtualSetPrototypeOf, StringOrSymbol::virtualGetLength, StringOrSymbol::virtualAdvanceIterator, StringOrSymbol::virtualInstanceOf, StringOrSymbol::virtualCall, StringOrSymbol::virtualCallAsConstructor, }; | - |
35 | const QV4::VTable String::static_vtbl = { 0, (sizeof(String::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), (sizeof(String::Data) + (String::NInlineProperties*sizeof(QV4::Value)) + QV4::Chunk::SlotSize - 1)/QV4::Chunk::SlotSize*QV4::Chunk::SlotSize/sizeof(QV4::Value) - (sizeof(String::Data) + sizeof(QV4::Value) - 1)/sizeof(QV4::Value), String::IsExecutionContext, String::IsString, String::IsObject, String::IsFunctionObject, String::IsErrorObject, String::IsArrayData, String::IsStringOrSymbol, String::MyType, { 0, 0, 0, 0 }, "String", String::virtualDestroy, String::Data::markObjects, String::virtualIsEqualTo, String::virtualGet, String::virtualPut, String::virtualDeleteProperty, String::virtualHasProperty, String::virtualGetOwnProperty, String::virtualDefineOwnProperty, String::virtualIsExtensible, String::virtualPreventExtensions, String::virtualGetPrototypeOf, String::virtualSetPrototypeOf, String::virtualGetLength, String::virtualAdvanceIterator, String::virtualInstanceOf, String::virtualCall, String::virtualCallAsConstructor, }; | - |
36 | | - |
37 | | - |
38 | bool String::virtualIsEqualTo(Managed *t, Managed *o) | - |
39 | { | - |
40 | if (t == oTRUE | never evaluated | FALSE | evaluated 11674625 times by 30 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_qquickanimations
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
) | 0-11674625 |
41 | return never executed: return true; true;never executed: return true; | 0 |
42 | | - |
43 | if (!o->vtable()->isStringTRUE | evaluated 116 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsvalue
| FALSE | evaluated 11692451 times by 30 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_qquickanimations
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- ...
|
) | 116-11692451 |
44 | returnexecuted 116 times by 2 tests: return false; Executed by:- tst_ecmascripttests
- tst_qjsvalue
false;executed 116 times by 2 tests: return false; Executed by:- tst_ecmascripttests
- tst_qjsvalue
| 116 |
45 | | - |
46 | returnexecuted 11680949 times by 30 tests: return static_cast<String *>(t)->isEqualTo(static_cast<String *>(o)); 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
- ...
static_cast<String *>(t)->isEqualTo(static_cast<String *>(o));executed 11680949 times by 30 tests: return static_cast<String *>(t)->isEqualTo(static_cast<String *>(o)); 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
- ...
| 11680949 |
47 | } | - |
48 | | - |
49 | | - |
50 | void Heap::String::init(const QString &t) | - |
51 | { | - |
52 | Base::init(); | - |
53 | | - |
54 | subtype = String::StringType_Unknown; | - |
55 | | - |
56 | text = const_cast<QString &>(t).data_ptr(); | - |
57 | text->ref.ref(); | - |
58 | }executed 136219196 times by 153 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
- ...
| 136219196 |
59 | | - |
60 | void Heap::ComplexString::init(String *l, String *r) | - |
61 | { | - |
62 | Base::init(); | - |
63 | | - |
64 | subtype = String::StringType_AddedString; | - |
65 | | - |
66 | left = l; | - |
67 | right = r; | - |
68 | len = left->length() + right->length(); | - |
69 | if (left->subtype >= StringType_ComplexTRUE | evaluated 32280834 times by 20 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktextedit
- tst_qquickworkerscript
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 24642256 times by 35 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- 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
- tst_qquickloader
- ...
|
) | 24642256-32280834 |
70 | largestSubLength = static_cast<ComplexString *>(left)->largestSubLength;executed 32282729 times by 20 tests: largestSubLength = static_cast<ComplexString *>(left)->largestSubLength; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktextedit
- tst_qquickworkerscript
- tst_signalspy
- tst_testfiltering
| 32282729 |
71 | else | - |
72 | largestSubLength = left->length();executed 24643229 times by 35 tests: largestSubLength = left->length(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- 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
- tst_qquickloader
- ...
| 24643229 |
73 | if (right->subtype >= StringType_ComplexTRUE | evaluated 15020571 times by 6 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsqldatabase
| FALSE | evaluated 41941748 times by 35 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- 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
- tst_qquickloader
- ...
|
) | 15020571-41941748 |
74 | largestSubLength = qMax(largestSubLength, static_cast<ComplexString *>(right)->largestSubLength);executed 15038215 times by 6 tests: largestSubLength = qMax(largestSubLength, static_cast<ComplexString *>(right)->largestSubLength); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsqldatabase
| 15038215 |
75 | else | - |
76 | largestSubLength = qMax(largestSubLength, right->length());executed 42046336 times by 35 tests: largestSubLength = qMax(largestSubLength, right->length()); Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- 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
- tst_qquickloader
- ...
| 42046336 |
77 | | - |
78 | | - |
79 | if (len > 256TRUE | evaluated 2836349 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qqmlecmascript
- tst_qquicklayouts
- tst_scenegraph
| FALSE | evaluated 54092789 times by 35 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- 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
- tst_qquickloader
- ...
|
&& len >= 2*largestSubLengthTRUE | evaluated 2290 times by 3 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qqmlecmascript
| FALSE | evaluated 2838332 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qqmlecmascript
- tst_qquicklayouts
- tst_scenegraph
|
) | 2290-54092789 |
80 | simplifyString();executed 2290 times by 3 tests: simplifyString(); Executed by:- tst_ecmascripttests
- tst_examples
- tst_qqmlecmascript
| 2290 |
81 | }executed 56873141 times by 35 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- 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
- tst_qquickloader
- ...
| 56873141 |
82 | | - |
83 | void Heap::ComplexString::init(Heap::String *ref, int from, int len) | - |
84 | { | - |
85 | ((ref->length() >= from + len) ? static_cast<void>(0) : qt_assert("ref->length() >= from + len", __FILE__, 131)); | - |
86 | Base::init(); | - |
87 | | - |
88 | subtype = String::StringType_SubString; | - |
89 | | - |
90 | left = ref; | - |
91 | this->from = from; | - |
92 | this->len = len; | - |
93 | }executed 8264 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
| 8264 |
94 | | - |
95 | void Heap::StringOrSymbol::destroy() | - |
96 | { | - |
97 | if (textTRUE | evaluated 154026839 times by 153 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 40670510 times by 22 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmlxmlhttprequest
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktextedit
- tst_qquickworkerscript
- tst_signalspy
- tst_testfiltering
|
) { | 40670510-154026839 |
98 | internalClass->engine->memoryManager->changeUnmanagedHeapSizeUsage(qptrdiff(-text->size) * (int)sizeof(QChar)); | - |
99 | if (!text->ref.deref()TRUE | evaluated 90746429 times by 153 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 63997380 times by 153 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
- ...
|
) | 63997380-90746429 |
100 | QStringData::deallocate(text);executed 90750691 times by 153 tests: QStringData::deallocate(text); 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
- ...
| 90750691 |
101 | }executed 154510497 times by 153 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
- ...
| 154510497 |
102 | Base::destroy(); | - |
103 | }executed 194518973 times by 153 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
- ...
| 194518973 |
104 | | - |
105 | uint String::toUInt(bool *ok) const | - |
106 | { | - |
107 | *ok = true; | - |
108 | | - |
109 | if (subtype() >= Heap::String::StringType_UnknownTRUE | evaluated 74 times by 1 test | FALSE | never evaluated |
) | 0-74 |
110 | d()->createHashValue();executed 74 times by 1 test: d()->createHashValue(); | 74 |
111 | if (subtype() == Heap::String::StringType_ArrayIndexTRUE | evaluated 12 times by 1 test | FALSE | evaluated 64 times by 1 test |
) | 12-64 |
112 | returnexecuted 12 times by 1 test: return d()->stringHash; d()->stringHash;executed 12 times by 1 test: return d()->stringHash; | 12 |
113 | | - |
114 | | - |
115 | double d = RuntimeHelpers::stringToNumber(toQString()); | - |
116 | uint l = (uint)d; | - |
117 | if (d == lTRUE | evaluated 24 times by 1 test | FALSE | evaluated 39 times by 1 test |
) | 24-39 |
118 | returnexecuted 24 times by 1 test: return l; l;executed 24 times by 1 test: return l; | 24 |
119 | *ok = false; | - |
120 | returnexecuted 40 times by 1 test: return (0x7fffffff * 2U + 1U) ; executed 40 times by 1 test: return (0x7fffffff * 2U + 1U) ; | 40 |
121 | (0x7fffffff * 2U + 1U)executed 40 times by 1 test: return (0x7fffffff * 2U + 1U) ; | 40 |
122 | ;executed 40 times by 1 test: return (0x7fffffff * 2U + 1U) ; | 40 |
123 | } | - |
124 | | - |
125 | void String::createPropertyKeyImpl() const | - |
126 | { | - |
127 | if (!d()->textTRUE | evaluated 392 times by 6 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_signalspy
- tst_testfiltering
| FALSE | evaluated 49761633 times by 153 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
- ...
|
) | 392-49761633 |
128 | d()->simplifyString();executed 392 times by 6 tests: d()->simplifyString(); Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_signalspy
- tst_testfiltering
| 392 |
129 | ((d()->text) ? static_cast<void>(0) : qt_assert("d()->text", __FILE__, 173)); | - |
130 | engine()->identifierTable->asPropertyKey(this); | - |
131 | }executed 49960297 times by 153 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
- ...
| 49960297 |
132 | | - |
133 | void Heap::String::simplifyString() const | - |
134 | { | - |
135 | ((!text) ? static_cast<void>(0) : qt_assert("!text", __FILE__, 179)); | - |
136 | | - |
137 | int l = length(); | - |
138 | QString result(l, Qt::Uninitialized); | - |
139 | QChar *ch = const_cast<QChar *>(result.constData()); | - |
140 | append(this, ch); | - |
141 | text = result.data_ptr(); | - |
142 | text->ref.ref(); | - |
143 | const ComplexString *cs = static_cast<const ComplexString *>(this); | - |
144 | identifier = PropertyKey::invalid(); | - |
145 | cs->left = cs->right = nullptr; | - |
146 | | - |
147 | internalClass->engine->memoryManager->changeUnmanagedHeapSizeUsage(qptrdiff(text->size) * (qptrdiff)sizeof(QChar)); | - |
148 | subtype = StringType_Unknown; | - |
149 | }executed 16663697 times by 36 tests: end of block 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
- ...
| 16663697 |
150 | | - |
151 | bool Heap::String::startsWithUpper() const | - |
152 | { | - |
153 | if (subtype == StringType_AddedStringTRUE | never evaluated | FALSE | evaluated 2592224 times by 88 testsEvaluated 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
- ...
|
) | 0-2592224 |
154 | return never executed: return static_cast<const Heap::ComplexString *>(this)->left->startsWithUpper(); static_cast<const Heap::ComplexString *>(this)->left->startsWithUpper();never executed: return static_cast<const Heap::ComplexString *>(this)->left->startsWithUpper(); | 0 |
155 | | - |
156 | const Heap::String *str = this; | - |
157 | int offset = 0; | - |
158 | if (subtype == StringType_SubStringTRUE | never evaluated | FALSE | evaluated 2592224 times by 88 testsEvaluated 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
- ...
|
) { | 0-2592224 |
159 | const ComplexString *cs = static_cast<const Heap::ComplexString *>(this); | - |
160 | if (!cs->lenTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
161 | return never executed: return false; false;never executed: return false; | 0 |
162 | | - |
163 | if (cs->left->subtype >= Heap::String::StringType_ComplexTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
164 | cs->left->simplifyString(); never executed: cs->left->simplifyString(); | 0 |
165 | str = cs->left; | - |
166 | offset = cs->from; | - |
167 | } never executed: end of block | 0 |
168 | ((str->subtype < Heap::String::StringType_Complex) ? static_cast<void>(0) : qt_assert("str->subtype < Heap::String::StringType_Complex", __FILE__, 212)); | - |
169 | returnexecuted 2592224 times by 88 tests: return str->text->size > offset && QChar::isUpper(str->text->data()[offset]); 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
- ...
str->text->size > offset && QChar::isUpper(str->text->data()[offset]);executed 2592224 times by 88 tests: return str->text->size > offset && QChar::isUpper(str->text->data()[offset]); 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
- ...
| 2592224 |
170 | } | - |
171 | | - |
172 | void Heap::String::append(const String *data, QChar *ch) | - |
173 | { | - |
174 | std::vector<const String *> worklist; | - |
175 | worklist.reserve(32); | - |
176 | worklist.push_back(data); | - |
177 | | - |
178 | while (!worklist.empty()TRUE | evaluated 252767988 times by 36 testsEvaluated 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
- ...
| FALSE | evaluated 16841982 times by 36 testsEvaluated 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
- ...
|
) { | 16841982-252767988 |
179 | const String *item = worklist.back(); | - |
180 | worklist.pop_back(); | - |
181 | | - |
182 | if (item->subtype == StringType_AddedStringTRUE | evaluated 118504636 times by 35 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- 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
- tst_qquickloader
- ...
| FALSE | evaluated 135236175 times by 36 testsEvaluated 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
- ...
|
) { | 118504636-135236175 |
183 | const ComplexString *cs = static_cast<const ComplexString *>(item); | - |
184 | worklist.push_back(cs->right); | - |
185 | worklist.push_back(cs->left); | - |
186 | }executed 118595368 times by 35 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- 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
- tst_qquickloader
- ...
else if (item->subtype == StringType_SubStringTRUE | evaluated 5402 times by 2 testsEvaluated by:- tst_ecmascripttests
- tst_qjsengine
| FALSE | evaluated 135387870 times by 35 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- 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
- tst_qquickloader
- ...
|
) { | 5402-135387870 |
187 | const ComplexString *cs = static_cast<const ComplexString *>(item); | - |
188 | memcpy(ch, cs->left->toQString().constData() + cs->from, cs->len*sizeof(QChar)); | - |
189 | ch += cs->len; | - |
190 | }executed 5394 times by 2 tests: end of block Executed by:- tst_ecmascripttests
- tst_qjsengine
else { | 5394 |
191 | memcpy(static_cast<void *>(ch), static_cast<const void *>(item->text->data()), item->text->size * sizeof(QChar)); | - |
192 | ch += item->text->size; | - |
193 | }executed 135384657 times by 35 tests: end of block Executed by:- tst_ecmascripttests
- tst_examples
- tst_flickableinterop
- 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
- tst_qquickloader
- ...
| 135384657 |
194 | } | - |
195 | }executed 16728298 times by 36 tests: end of block 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
- ...
| 16728298 |
196 | | - |
197 | void Heap::StringOrSymbol::createHashValue() const | - |
198 | { | - |
199 | if (!textTRUE | evaluated 1611715 times by 5 testsEvaluated by:- tst_ecmascripttests
- tst_qqmlecmascript
- tst_qqmlsqldatabase
- tst_qquickrepeater
- tst_testfiltering
| FALSE | evaluated 71070973 times by 153 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
- ...
|
) { | 1611715-71070973 |
200 | ((internalClass->vtable->isString) ? static_cast<void>(0) : qt_assert("internalClass->vtable->isString", __FILE__, 244)); | - |
201 | static_cast<const Heap::String *>(this)->simplifyString(); | - |
202 | }executed 1611577 times by 5 tests: end of block Executed by:- tst_ecmascripttests
- tst_qqmlecmascript
- tst_qqmlsqldatabase
- tst_qquickrepeater
- tst_testfiltering
| 1611577 |
203 | ((text) ? static_cast<void>(0) : qt_assert("text", __FILE__, 247)); | - |
204 | const QChar *ch = reinterpret_cast<const QChar *>(text->data()); | - |
205 | const QChar *end = ch + text->size; | - |
206 | stringHash = QV4::String::calculateHashValue(ch, end, &subtype); | - |
207 | }executed 72742851 times by 153 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
- ...
| 72742851 |
208 | | - |
209 | PropertyKey StringOrSymbol::toPropertyKey() const { | - |
210 | if (d()->identifier.isValid()TRUE | evaluated 238143320 times by 153 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 49725580 times by 153 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
- ...
|
) | 49725580-238143320 |
211 | returnexecuted 238159844 times by 153 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
- ...
d()->identifier;executed 238159844 times by 153 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
- ...
| 238159844 |
212 | createPropertyKey(); | - |
213 | returnexecuted 49828412 times by 153 tests: return propertyKey(); 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
- ...
propertyKey();executed 49828412 times by 153 tests: return propertyKey(); 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
- ...
| 49828412 |
214 | } | - |
215 | | - |
216 | qint64 String::virtualGetLength(const Managed *m) | - |
217 | { | - |
218 | return never executed: return static_cast<const String *>(m)->d()->length(); static_cast<const String *>(m)->d()->length();never executed: return static_cast<const String *>(m)->d()->length(); | 0 |
219 | } | - |
220 | | - |
221 | | - |
222 | | - |
223 | uint String::toArrayIndex(const QString &str) | - |
224 | { | - |
225 | returnexecuted 79529 times by 33 tests: return QV4::String::toArrayIndex(str.constData(), str.constData() + str.length()); Executed by:- tst_ecmascripttests
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- ...
QV4::String::toArrayIndex(str.constData(), str.constData() + str.length());executed 79529 times by 33 tests: return QV4::String::toArrayIndex(str.constData(), str.constData() + str.length()); Executed by:- tst_ecmascripttests
- tst_examples
- tst_parserstress
- tst_qjsengine
- tst_qjsonbinding
- tst_qjsvalue
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickparticlegroup
- ...
| 79529 |
226 | } | - |
| | |