| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | class QQmlPropertyCache; | - |
| 9 | class QQmlContextData; | - |
| 10 | class QQmlTypeNameCache; | - |
| 11 | | - |
| 12 | namespace QmlIR { | - |
| 13 | | - |
| 14 | struct Document; | - |
| 15 | struct IRLoader; | - |
| 16 | | - |
| 17 | template <typename T> | - |
| 18 | struct PoolList | - |
| 19 | { | - |
| 20 | PoolList() | - |
| 21 | : first(nullptr) | - |
| 22 | , last(nullptr) | - |
| 23 | {} never executed: end of block | 0 |
| 24 | | - |
| 25 | T *first; | - |
| 26 | T *last; | - |
| 27 | int count = 0; | - |
| 28 | | - |
| 29 | int append(T *item) { | - |
| 30 | item->next = nullptr; | - |
| 31 | if (last| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 32 | last->next = item; never executed: last->next = item; | 0 |
| 33 | else | - |
| 34 | first = item; never executed: first = item; | 0 |
| 35 | last = item; | - |
| 36 | return never executed: return count++; count++;never executed: return count++; | 0 |
| 37 | } | - |
| 38 | | - |
| 39 | void prepend(T *item) { | - |
| 40 | item->next = first; | - |
| 41 | first = item; | - |
| 42 | if (!last| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 43 | last = first; never executed: last = first; | 0 |
| 44 | ++count; | - |
| 45 | } never executed: end of block | 0 |
| 46 | | - |
| 47 | template <typename Sortable, typename Base, Sortable Base::*sortMember> | - |
| 48 | T *findSortedInsertionPoint(T *item) const | - |
| 49 | { | - |
| 50 | T *insertPos = nullptr; | - |
| 51 | | - |
| 52 | for (T *it = first; it| TRUE | never evaluated | | FALSE | never evaluated |
; it = it->next) { | 0 |
| 53 | if (!(it->*sortMember <= item->*sortMember)| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 54 | break; never executed: break; | 0 |
| 55 | insertPos = it; | - |
| 56 | } never executed: end of block | 0 |
| 57 | | - |
| 58 | return never executed: return insertPos; insertPos;never executed: return insertPos; | 0 |
| 59 | } | - |
| 60 | | - |
| 61 | void insertAfter(T *insertionPoint, T *item) { | - |
| 62 | if (!insertionPoint| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 63 | prepend(item); | - |
| 64 | } never executed: end of block else if (insertionPoint == last| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 65 | append(item); | - |
| 66 | } never executed: end of block else { | 0 |
| 67 | item->next = insertionPoint->next; | - |
| 68 | insertionPoint->next = item; | - |
| 69 | ++count; | - |
| 70 | } never executed: end of block | 0 |
| 71 | } | - |
| 72 | | - |
| 73 | T *unlink(T *before, T *item) { | - |
| 74 | T * const newNext = item->next; | - |
| 75 | | - |
| 76 | if (before| TRUE | evaluated 20 times by 7 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
| | FALSE | evaluated 128 times by 16 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
|
) | 20-128 |
| 77 | before->next = newNext;executed 20 times by 7 tests: before->next = newNext;Executed by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
| 20 |
| 78 | else | - |
| 79 | first = newNext;executed 128 times by 16 tests: first = newNext;Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
| 128 |
| 80 | | - |
| 81 | if (item == last| TRUE | evaluated 15 times by 7 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
| | FALSE | evaluated 133 times by 15 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
|
) { | 15-133 |
| 82 | if (newNext| TRUE | never evaluated | | FALSE | evaluated 15 times by 7 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
|
) | 0-15 |
| 83 | last = newNext; never executed: last = newNext; | 0 |
| 84 | else | - |
| 85 | last = first;executed 15 times by 7 tests: last = first;Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
| 15 |
| 86 | } | - |
| 87 | | - |
| 88 | --count; | - |
| 89 | returnexecuted 148 times by 16 tests: return newNext;Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
newNext;executed 148 times by 16 tests: return newNext;Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
| 148 |
| 90 | } | - |
| 91 | | - |
| 92 | T *slowAt(int index) const | - |
| 93 | { | - |
| 94 | T *result = first; | - |
| 95 | while (index > 0| TRUE | evaluated 2182 times by 45 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- ...
| | FALSE | evaluated 2037 times by 83 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- 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
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
|
&& result| TRUE | evaluated 2182 times by 45 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- ...
| | FALSE | never evaluated |
) { | 0-2182 |
| 96 | result = result->next; | - |
| 97 | --index; | - |
| 98 | }executed 2182 times by 45 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmlprofilerservice
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- ...
| 2182 |
| 99 | returnexecuted 2037 times by 83 tests: return result;Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- 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
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
result;executed 2037 times by 83 tests: return result;Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- 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
- tst_qqmllocale
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- tst_qqmlnotifier
- ...
| 2037 |
| 100 | } | - |
| 101 | | - |
| 102 | struct Iterator { | - |
| 103 | T *ptr; | - |
| 104 | | - |
| 105 | explicit Iterator(T *p) : ptr(p) {}executed 618960 times by 142 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 618960 |
| 106 | | - |
| 107 | T *operator->() { | - |
| 108 | returnexecuted 490307 times by 142 tests: return ptr;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
ptr;executed 490307 times by 142 tests: return ptr;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 490307 |
| 109 | } | - |
| 110 | | - |
| 111 | const T *operator->() const { | - |
| 112 | return never executed: return ptr; ptr;never executed: return ptr; | 0 |
| 113 | } | - |
| 114 | | - |
| 115 | T &operator*() { | - |
| 116 | returnexecuted 22616 times by 130 tests: return *ptr;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- 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_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
*ptr;executed 22616 times by 130 tests: return *ptr;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- 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_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- ...
| 22616 |
| 117 | } | - |
| 118 | | - |
| 119 | const T &operator*() const { | - |
| 120 | return never executed: return *ptr; *ptr;never executed: return *ptr; | 0 |
| 121 | } | - |
| 122 | | - |
| 123 | void operator++() { | - |
| 124 | ptr = ptr->next; | - |
| 125 | }executed 370963 times by 142 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 370963 |
| 126 | | - |
| 127 | bool operator==(const Iterator &rhs) const { | - |
| 128 | return never executed: return ptr == rhs.ptr; ptr == rhs.ptr;never executed: return ptr == rhs.ptr; | 0 |
| 129 | } | - |
| 130 | | - |
| 131 | bool operator!=(const Iterator &rhs) const { | - |
| 132 | returnexecuted 680415 times by 142 tests: return ptr != rhs.ptr;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
ptr != rhs.ptr;executed 680415 times by 142 tests: return ptr != rhs.ptr;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 680415 |
| 133 | } | - |
| 134 | }; | - |
| 135 | | - |
| 136 | Iterator begin() { returnexecuted 309464 times by 142 tests: return Iterator(first);Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
Iterator(first);executed 309464 times by 142 tests: return Iterator(first);Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
} | 309464 |
| 137 | Iterator end() { returnexecuted 309496 times by 142 tests: return Iterator(nullptr);Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
Iterator(nullptr);executed 309496 times by 142 tests: return Iterator(nullptr);Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
} | 309496 |
| 138 | }; | - |
| 139 | | - |
| 140 | template <typename T> | - |
| 141 | class FixedPoolArray | - |
| 142 | { | - |
| 143 | T *data; | - |
| 144 | public: | - |
| 145 | int count = 0; | - |
| 146 | | - |
| 147 | FixedPoolArray() | - |
| 148 | : data(nullptr) | - |
| 149 | | - |
| 150 | {}executed 1500 times by 33 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| 1500 |
| 151 | | - |
| 152 | void allocate(QQmlJS::MemoryPool *pool, int size) | - |
| 153 | { | - |
| 154 | count = size; | - |
| 155 | data = reinterpret_cast<T*>(pool->allocate(count * sizeof(T))); | - |
| 156 | } never executed: end of block | 0 |
| 157 | | - |
| 158 | void allocate(QQmlJS::MemoryPool *pool, const QVector<T> &vector) | - |
| 159 | { | - |
| 160 | count = vector.count(); | - |
| 161 | data = reinterpret_cast<T*>(pool->allocate(count * sizeof(T))); | - |
| 162 | | - |
| 163 | if (QTypeInfo<T>::isComplex| TRUE | never evaluated | | FALSE | evaluated 51548 times by 134 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
|
) { | 0-51548 |
| 164 | for (int i = 0; i < count| TRUE | never evaluated | | FALSE | never evaluated |
; ++i) | 0 |
| 165 | new never executed: new (data + i) T(vector.at(i)); (data + i) T(vector.at(i));never executed: new (data + i) T(vector.at(i)); | 0 |
| 166 | } never executed: end of block else { | 0 |
| 167 | memcpy(data, static_cast<const void*>(vector.constData()), count * sizeof(T)); | - |
| 168 | }executed 51548 times by 134 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- ...
| 51548 |
| 169 | } | - |
| 170 | | - |
| 171 | template <typename Container> | - |
| 172 | void allocate(QQmlJS::MemoryPool *pool, const Container &container) | - |
| 173 | { | - |
| 174 | count = container.count(); | - |
| 175 | data = reinterpret_cast<T*>(pool->allocate(count * sizeof(T))); | - |
| 176 | typename Container::ConstIterator it = container.constBegin(); | - |
| 177 | for (int i = 0; i < count| TRUE | evaluated 4099 times by 116 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- ...
| | FALSE | evaluated 49594 times by 142 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
|
; ++i) | 4099-49594 |
| 178 | newexecuted 4099 times by 116 tests: new (data + i) T(*it++);Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- ...
(data + i) T(*it++);executed 4099 times by 116 tests: new (data + i) T(*it++);Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- ...
| 4099 |
| 179 | }executed 49594 times by 142 tests: end of blockExecuted by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
| 49594 |
| 180 | | - |
| 181 | const T &at(int index) const { | - |
| 182 | ((index >= 0 && index < count) ? static_cast<void>(0) : qt_assert("index >= 0 && index < count", __FILE__, 243)); | - |
| 183 | returnexecuted 4115 times by 116 tests: return data[index];Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- ...
data[index];executed 4115 times by 116 tests: return data[index];Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlmoduleplugin
- tst_qqmlnativeconnector
- ...
| 4115 |
| 184 | } | - |
| 185 | | - |
| 186 | T &operator[](int index) { | - |
| 187 | ((index >= 0 && index < count) ? static_cast<void>(0) : qt_assert("index >= 0 && index < count", __FILE__, 248)); | - |
| 188 | return never executed: return data[index]; data[index];never executed: return data[index]; | 0 |
| 189 | } | - |
| 190 | | - |
| 191 | | - |
| 192 | int indexOf(const T &value) const { | - |
| 193 | for (int i = 0; i < count| TRUE | never evaluated | | FALSE | never evaluated |
; ++i) | 0 |
| 194 | if (data[i] == value| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 195 | return never executed: return i; i;never executed: return i; | 0 |
| 196 | return never executed: return -1; -1;never executed: return -1; | 0 |
| 197 | } | - |
| 198 | | - |
| 199 | const T *begin() const { returnexecuted 3763 times by 67 tests: return data;Executed by:- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- ...
data;executed 3763 times by 67 tests: return data;Executed by:- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- ...
} | 3763 |
| 200 | const T *end() const { returnexecuted 3161 times by 55 tests: return data + count;Executed by:- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- ...
data + count;executed 3161 times by 55 tests: return data + count;Executed by:- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- ...
} | 3161 |
| 201 | }; | - |
| 202 | | - |
| 203 | struct Object; | - |
| 204 | | - |
| 205 | struct EnumValue : public QV4::CompiledData::EnumValue | - |
| 206 | { | - |
| 207 | EnumValue *next; | - |
| 208 | }; | - |
| 209 | | - |
| 210 | struct Enum | - |
| 211 | { | - |
| 212 | int nameIndex; | - |
| 213 | QV4::CompiledData::Location location; | - |
| 214 | PoolList<EnumValue> *enumValues; | - |
| 215 | | - |
| 216 | int enumValueCount() const { returnexecuted 2 times by 1 test: return enumValues->count; enumValues->count;executed 2 times by 1 test: return enumValues->count; } | 2 |
| 217 | PoolList<EnumValue>::Iterator enumValuesBegin() const { returnexecuted 2 times by 1 test: return enumValues->begin(); enumValues->begin();executed 2 times by 1 test: return enumValues->begin(); } | 2 |
| 218 | PoolList<EnumValue>::Iterator enumValuesEnd() const { returnexecuted 2 times by 1 test: return enumValues->end(); enumValues->end();executed 2 times by 1 test: return enumValues->end(); } | 2 |
| 219 | | - |
| 220 | Enum *next; | - |
| 221 | }; | - |
| 222 | | - |
| 223 | | - |
| 224 | struct SignalParameter : public QV4::CompiledData::Parameter | - |
| 225 | { | - |
| 226 | SignalParameter *next; | - |
| 227 | }; | - |
| 228 | | - |
| 229 | struct Signal | - |
| 230 | { | - |
| 231 | int nameIndex; | - |
| 232 | QV4::CompiledData::Location location; | - |
| 233 | PoolList<SignalParameter> *parameters; | - |
| 234 | | - |
| 235 | QStringList parameterStringList(const QV4::Compiler::StringTableGenerator *stringPool) const; | - |
| 236 | | - |
| 237 | int parameterCount() const { returnexecuted 69 times by 16 tests: return parameters->count;Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickloader
- tst_qquicktaphandler
- tst_qquickworkerscript
- tst_scenegraph
parameters->count;executed 69 times by 16 tests: return parameters->count;Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qqmlmetaobject
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickaccessible
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickloader
- tst_qquicktaphandler
- tst_qquickworkerscript
- tst_scenegraph
} | 69 |
| 238 | PoolList<SignalParameter>::Iterator parametersBegin() const { returnexecuted 24 times by 6 tests: return parameters->begin();Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qquickgridview
parameters->begin();executed 24 times by 6 tests: return parameters->begin();Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qquickgridview
} | 24 |
| 239 | PoolList<SignalParameter>::Iterator parametersEnd() const { returnexecuted 24 times by 6 tests: return parameters->end();Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qquickgridview
parameters->end();executed 24 times by 6 tests: return parameters->end();Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qquickgridview
} | 24 |
| 240 | | - |
| 241 | Signal *next; | - |
| 242 | }; | - |
| 243 | | - |
| 244 | struct Property : public QV4::CompiledData::Property | - |
| 245 | { | - |
| 246 | Property *next; | - |
| 247 | }; | - |
| 248 | | - |
| 249 | struct Binding : public QV4::CompiledData::Binding | - |
| 250 | { | - |
| 251 | | - |
| 252 | | - |
| 253 | | - |
| 254 | quint32 offset; | - |
| 255 | | - |
| 256 | Binding *next; | - |
| 257 | }; | - |
| 258 | | - |
| 259 | struct Alias : public QV4::CompiledData::Alias | - |
| 260 | { | - |
| 261 | Alias *next; | - |
| 262 | }; | - |
| 263 | | - |
| 264 | struct Function | - |
| 265 | { | - |
| 266 | QV4::CompiledData::Location location; | - |
| 267 | int nameIndex; | - |
| 268 | quint32 index; | - |
| 269 | FixedPoolArray<int> formals; | - |
| 270 | | - |
| 271 | | - |
| 272 | const int *formalsBegin() const { returnexecuted 3161 times by 55 tests: return formals.begin();Executed by:- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- ...
formals.begin();executed 3161 times by 55 tests: return formals.begin();Executed by:- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- ...
} | 3161 |
| 273 | const int *formalsEnd() const { returnexecuted 3161 times by 55 tests: return formals.end();Executed by:- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- ...
formals.end();executed 3161 times by 55 tests: return formals.end();Executed by:- tst_examples
- tst_flickableinterop
- tst_parserstress
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltranslation
- ...
} | 3161 |
| 274 | | - |
| 275 | | - |
| 276 | Function *next; | - |
| 277 | }; | - |
| 278 | | - |
| 279 | struct CompiledFunctionOrExpression | - |
| 280 | { | - |
| 281 | CompiledFunctionOrExpression() | - |
| 282 | {} | - |
| 283 | | - |
| 284 | QQmlJS::AST::Node *parentNode = nullptr; | - |
| 285 | QQmlJS::AST::Node *node = nullptr; | - |
| 286 | quint32 nameIndex = 0; | - |
| 287 | bool disableAcceleratedLookups = false; | - |
| 288 | CompiledFunctionOrExpression *next = nullptr; | - |
| 289 | }; | - |
| 290 | | - |
| 291 | struct Object | - |
| 292 | { | - |
| 293 | public: static inline QString tr(const char *sourceText, const char *disambiguation = nullptr, int n = -1) { return QCoreApplication::translate("Object", sourceText, disambiguation, n); } static inline QString trUtf8(const char *sourceText, const char *disambiguation = nullptr, int n = -1) { return QCoreApplication::translate("Object", sourceText, disambiguation, n); } private: | - |
| 294 | public: | - |
| 295 | quint32 inheritedTypeNameIndex; | - |
| 296 | quint32 idNameIndex; | - |
| 297 | int id; | - |
| 298 | int indexOfDefaultPropertyOrAlias; | - |
| 299 | bool defaultPropertyIsAlias; | - |
| 300 | quint32 flags; | - |
| 301 | | - |
| 302 | QV4::CompiledData::Location location; | - |
| 303 | QV4::CompiledData::Location locationOfIdProperty; | - |
| 304 | | - |
| 305 | const Property *firstProperty() const { returnexecuted 20 times by 3 tests: return properties->first;Executed by:- tst_qqmlecmascript
- tst_qquickloader
- tst_qquickpathview
properties->first;executed 20 times by 3 tests: return properties->first;Executed by:- tst_qqmlecmascript
- tst_qquickloader
- tst_qquickpathview
} | 20 |
| 306 | int propertyCount() const { returnexecuted 84976 times by 142 tests: return properties->count;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
properties->count;executed 84976 times by 142 tests: return properties->count;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
} | 84976 |
| 307 | Alias *firstAlias() const { returnexecuted 326 times by 35 tests: return aliases->first;Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickrectangle
- ...
aliases->first;executed 326 times by 35 tests: return aliases->first;Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickrectangle
- ...
} | 326 |
| 308 | int aliasCount() const { returnexecuted 152819 times by 142 tests: return aliases->count;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
aliases->count;executed 152819 times by 142 tests: return aliases->count;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
} | 152819 |
| 309 | const Enum *firstEnum() const { return never executed: return qmlEnums->first; qmlEnums->first;never executed: return qmlEnums->first; } | 0 |
| 310 | int enumCount() const { returnexecuted 70946 times by 142 tests: return qmlEnums->count;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
qmlEnums->count;executed 70946 times by 142 tests: return qmlEnums->count;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
} | 70946 |
| 311 | const Signal *firstSignal() const { returnexecuted 20 times by 3 tests: return qmlSignals->first;Executed by:- tst_qqmlecmascript
- tst_qquickloader
- tst_qquickpathview
qmlSignals->first;executed 20 times by 3 tests: return qmlSignals->first;Executed by:- tst_qqmlecmascript
- tst_qquickloader
- tst_qquickpathview
} | 20 |
| 312 | int signalCount() const { returnexecuted 76122 times by 142 tests: return qmlSignals->count;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
qmlSignals->count;executed 76122 times by 142 tests: return qmlSignals->count;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
} | 76122 |
| 313 | Binding *firstBinding() const { returnexecuted 709457 times by 142 tests: return bindings->first;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
bindings->first;executed 709457 times by 142 tests: return bindings->first;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
} | 709457 |
| 314 | int bindingCount() const { returnexecuted 2622 times by 42 tests: return bindings->count;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- ...
bindings->count;executed 2622 times by 42 tests: return bindings->count;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- ...
} | 2622 |
| 315 | const Function *firstFunction() const { return never executed: return functions->first; functions->first;never executed: return functions->first; } | 0 |
| 316 | int functionCount() const { returnexecuted 71503 times by 142 tests: return functions->count;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
functions->count;executed 71503 times by 142 tests: return functions->count;Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
} | 71503 |
| 317 | | - |
| 318 | PoolList<Binding>::Iterator bindingsBegin() const { returnexecuted 204807 times by 142 tests: return bindings->begin();Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
bindings->begin();executed 204807 times by 142 tests: return bindings->begin();Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
} | 204807 |
| 319 | PoolList<Binding>::Iterator bindingsEnd() const { returnexecuted 204841 times by 142 tests: return bindings->end();Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
bindings->end();executed 204841 times by 142 tests: return bindings->end();Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
} | 204841 |
| 320 | PoolList<Property>::Iterator propertiesBegin() const { returnexecuted 81464 times by 142 tests: return properties->begin();Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
properties->begin();executed 81464 times by 142 tests: return properties->begin();Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
} | 81464 |
| 321 | PoolList<Property>::Iterator propertiesEnd() const { returnexecuted 81464 times by 142 tests: return properties->end();Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
properties->end();executed 81464 times by 142 tests: return properties->end();Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
} | 81464 |
| 322 | PoolList<Alias>::Iterator aliasesBegin() const { returnexecuted 9367 times by 102 tests: return aliases->begin();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
aliases->begin();executed 9367 times by 102 tests: return aliases->begin();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
} | 9367 |
| 323 | PoolList<Alias>::Iterator aliasesEnd() const { returnexecuted 9365 times by 102 tests: return aliases->end();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
aliases->end();executed 9365 times by 102 tests: return aliases->end();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
} | 9365 |
| 324 | PoolList<Enum>::Iterator enumsBegin() const { returnexecuted 4600 times by 102 tests: return qmlEnums->begin();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
qmlEnums->begin();executed 4600 times by 102 tests: return qmlEnums->begin();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
} | 4600 |
| 325 | PoolList<Enum>::Iterator enumsEnd() const { returnexecuted 4600 times by 102 tests: return qmlEnums->end();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
qmlEnums->end();executed 4600 times by 102 tests: return qmlEnums->end();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
} | 4600 |
| 326 | PoolList<Signal>::Iterator signalsBegin() const { returnexecuted 4600 times by 102 tests: return qmlSignals->begin();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
qmlSignals->begin();executed 4600 times by 102 tests: return qmlSignals->begin();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
} | 4600 |
| 327 | PoolList<Signal>::Iterator signalsEnd() const { returnexecuted 4600 times by 102 tests: return qmlSignals->end();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
qmlSignals->end();executed 4600 times by 102 tests: return qmlSignals->end();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
} | 4600 |
| 328 | PoolList<Function>::Iterator functionsBegin() const { returnexecuted 4600 times by 102 tests: return functions->begin();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
functions->begin();executed 4600 times by 102 tests: return functions->begin();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
} | 4600 |
| 329 | PoolList<Function>::Iterator functionsEnd() const { returnexecuted 4600 times by 102 tests: return functions->end();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
functions->end();executed 4600 times by 102 tests: return functions->end();Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- ...
} | 4600 |
| 330 | | - |
| 331 | | - |
| 332 | | - |
| 333 | Object *declarationsOverride; | - |
| 334 | | - |
| 335 | void init(QQmlJS::MemoryPool *pool, int typeNameIndex, int idIndex, const QQmlJS::AST::SourceLocation &location = QQmlJS::AST::SourceLocation()); | - |
| 336 | | - |
| 337 | QString appendEnum(Enum *enumeration); | - |
| 338 | QString appendSignal(Signal *signal); | - |
| 339 | QString appendProperty(Property *prop, const QString &propertyName, bool isDefaultProperty, const QQmlJS::AST::SourceLocation &defaultToken, QQmlJS::AST::SourceLocation *errorLocation); | - |
| 340 | QString appendAlias(Alias *prop, const QString &aliasName, bool isDefaultProperty, const QQmlJS::AST::SourceLocation &defaultToken, QQmlJS::AST::SourceLocation *errorLocation); | - |
| 341 | void appendFunction(QmlIR::Function *f); | - |
| 342 | | - |
| 343 | QString appendBinding(Binding *b, bool isListBinding); | - |
| 344 | Binding *findBinding(quint32 nameIndex) const; | - |
| 345 | Binding *unlinkBinding(Binding *before, Binding *binding) { returnexecuted 148 times by 16 tests: return bindings->unlink(before, binding);Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
bindings->unlink(before, binding);executed 148 times by 16 tests: return bindings->unlink(before, binding);Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlqt
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspritesequence
- tst_qquickvisualdatamodel
} | 148 |
| 346 | void insertSorted(Binding *b); | - |
| 347 | QString bindingAsString(Document *doc, int scriptIndex) const; | - |
| 348 | | - |
| 349 | PoolList<CompiledFunctionOrExpression> *functionsAndExpressions; | - |
| 350 | FixedPoolArray<int> runtimeFunctionIndices; | - |
| 351 | | - |
| 352 | FixedPoolArray<quint32> namedObjectsInComponent; | - |
| 353 | int namedObjectsInComponentCount() const { returnexecuted 305 times by 35 tests: return namedObjectsInComponent.count;Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickrectangle
- ...
namedObjectsInComponent.count;executed 305 times by 35 tests: return namedObjectsInComponent.count;Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickrectangle
- ...
} | 305 |
| 354 | const quint32 *namedObjectsInComponentTable() const { returnexecuted 602 times by 35 tests: return namedObjectsInComponent.begin();Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickrectangle
- ...
namedObjectsInComponent.begin();executed 602 times by 35 tests: return namedObjectsInComponent.begin();Executed by:- tst_examples
- tst_flickableinterop
- tst_qmldiskcache
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlmetaobject
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickrectangle
- ...
} | 602 |
| 355 | | - |
| 356 | private: | - |
| 357 | friend struct IRLoader; | - |
| 358 | | - |
| 359 | PoolList<Property> *properties; | - |
| 360 | PoolList<Alias> *aliases; | - |
| 361 | PoolList<Enum> *qmlEnums; | - |
| 362 | PoolList<Signal> *qmlSignals; | - |
| 363 | PoolList<Binding> *bindings; | - |
| 364 | PoolList<Function> *functions; | - |
| 365 | }; | - |
| 366 | | - |
| 367 | struct Pragma | - |
| 368 | { | - |
| 369 | enum PragmaType { | - |
| 370 | PragmaSingleton = 0x1 | - |
| 371 | }; | - |
| 372 | quint32 type; | - |
| 373 | | - |
| 374 | QV4::CompiledData::Location location; | - |
| 375 | }; | - |
| 376 | | - |
| 377 | struct Document | - |
| 378 | { | - |
| 379 | Document(bool debugMode); | - |
| 380 | QString code; | - |
| 381 | QQmlJS::Engine jsParserEngine; | - |
| 382 | QV4::Compiler::Module jsModule; | - |
| 383 | QList<const QV4::CompiledData::Import *> imports; | - |
| 384 | QList<Pragma*> pragmas; | - |
| 385 | QQmlJS::AST::UiProgram *program; | - |
| 386 | QVector<Object*> objects; | - |
| 387 | QV4::Compiler::JSUnitGenerator jsGenerator; | - |
| 388 | | - |
| 389 | QQmlRefPointer<QV4::CompiledData::CompilationUnit> javaScriptCompilationUnit; | - |
| 390 | | - |
| 391 | int registerString(const QString &str) { returnexecuted 58 times by 7 tests: return jsGenerator.registerString(str);Executed by:- tst_qqmlcomponent
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
jsGenerator.registerString(str);executed 58 times by 7 tests: return jsGenerator.registerString(str);Executed by:- tst_qqmlcomponent
- tst_qqmlmoduleplugin
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickloader
- tst_qquicktextedit
- tst_qquicktextinput
} | 58 |
| 392 | QString stringAt(int index) const { returnexecuted 678605 times by 142 tests: return jsGenerator.stringForIndex(index);Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
jsGenerator.stringForIndex(index);executed 678605 times by 142 tests: return jsGenerator.stringForIndex(index);Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
} | 678605 |
| 393 | | - |
| 394 | static void removeScriptPragmas(QString &script); | - |
| 395 | }; | - |
| 396 | | - |
| 397 | class ScriptDirectivesCollector : public QQmlJS::Directives | - |
| 398 | { | - |
| 399 | QmlIR::Document *document; | - |
| 400 | QQmlJS::Engine *engine; | - |
| 401 | QV4::Compiler::JSUnitGenerator *jsGenerator; | - |
| 402 | | - |
| 403 | public: | - |
| 404 | ScriptDirectivesCollector(QmlIR::Document *doc); | - |
| 405 | | - |
| 406 | void pragmaLibrary() override; | - |
| 407 | void importFile(const QString &jsfile, const QString &module, int lineNumber, int column) override; | - |
| 408 | void importModule(const QString &uri, const QString &version, const QString &module, int lineNumber, int column) override; | - |
| 409 | }; | - |
| 410 | | - |
| 411 | struct IRBuilder : public QQmlJS::AST::Visitor | - |
| 412 | { | - |
| 413 | public: static inline QString tr(const char *sourceText, const char *disambiguation = nullptr, int n = -1) { return QCoreApplication::translate("QQmlCodeGenerator", sourceText, disambiguation, n); } static inline QString trUtf8(const char *sourceText, const char *disambiguation = nullptr, int n = -1) { return QCoreApplication::translate("QQmlCodeGenerator", sourceText, disambiguation, n); } private: | - |
| 414 | public: | - |
| 415 | IRBuilder(const QSet<QString> &illegalNames); | - |
| 416 | bool generateFromQml(const QString &code, const QString &url, Document *output); | - |
| 417 | | - |
| 418 | static bool isSignalPropertyName(const QString &name); | - |
| 419 | | - |
| 420 | using QQmlJS::AST::Visitor::visit; | - |
| 421 | using QQmlJS::AST::Visitor::endVisit; | - |
| 422 | | - |
| 423 | bool visit(QQmlJS::AST::UiArrayMemberList *ast) override; | - |
| 424 | bool visit(QQmlJS::AST::UiImport *ast) override; | - |
| 425 | bool visit(QQmlJS::AST::UiPragma *ast) override; | - |
| 426 | bool visit(QQmlJS::AST::UiHeaderItemList *ast) override; | - |
| 427 | bool visit(QQmlJS::AST::UiObjectInitializer *ast) override; | - |
| 428 | bool visit(QQmlJS::AST::UiObjectMemberList *ast) override; | - |
| 429 | bool visit(QQmlJS::AST::UiParameterList *ast) override; | - |
| 430 | bool visit(QQmlJS::AST::UiProgram *) override; | - |
| 431 | bool visit(QQmlJS::AST::UiQualifiedId *ast) override; | - |
| 432 | bool visit(QQmlJS::AST::UiArrayBinding *ast) override; | - |
| 433 | bool visit(QQmlJS::AST::UiObjectBinding *ast) override; | - |
| 434 | bool visit(QQmlJS::AST::UiObjectDefinition *ast) override; | - |
| 435 | bool visit(QQmlJS::AST::UiEnumDeclaration *ast) override; | - |
| 436 | bool visit(QQmlJS::AST::UiPublicMember *ast) override; | - |
| 437 | bool visit(QQmlJS::AST::UiScriptBinding *ast) override; | - |
| 438 | bool visit(QQmlJS::AST::UiSourceElement *ast) override; | - |
| 439 | | - |
| 440 | void accept(QQmlJS::AST::Node *node); | - |
| 441 | | - |
| 442 | | - |
| 443 | bool defineQMLObject(int *objectIndex, QQmlJS::AST::UiQualifiedId *qualifiedTypeNameId, const QQmlJS::AST::SourceLocation &location, QQmlJS::AST::UiObjectInitializer *initializer, Object *declarationsOverride = nullptr); | - |
| 444 | bool defineQMLObject(int *objectIndex, QQmlJS::AST::UiObjectDefinition *node, Object *declarationsOverride = nullptr) | - |
| 445 | { return never executed: return defineQMLObject(objectIndex, node->qualifiedTypeNameId, node->qualifiedTypeNameId->firstSourceLocation(), node->initializer, declarationsOverride); defineQMLObject(objectIndex, node->qualifiedTypeNameId, node->qualifiedTypeNameId->firstSourceLocation(), node->initializer, declarationsOverride);never executed: return defineQMLObject(objectIndex, node->qualifiedTypeNameId, node->qualifiedTypeNameId->firstSourceLocation(), node->initializer, declarationsOverride); } | 0 |
| 446 | | - |
| 447 | static QString asString(QQmlJS::AST::UiQualifiedId *node); | - |
| 448 | QStringRef asStringRef(QQmlJS::AST::Node *node); | - |
| 449 | static void extractVersion(QStringRef string, int *maj, int *min); | - |
| 450 | QStringRef textRefAt(const QQmlJS::AST::SourceLocation &loc) const | - |
| 451 | { return never executed: return QStringRef(&sourceCode, loc.offset, loc.length); QStringRef(&sourceCode, loc.offset, loc.length);never executed: return QStringRef(&sourceCode, loc.offset, loc.length); } | 0 |
| 452 | QStringRef textRefAt(const QQmlJS::AST::SourceLocation &first, | - |
| 453 | const QQmlJS::AST::SourceLocation &last) const; | - |
| 454 | | - |
| 455 | void setBindingValue(QV4::CompiledData::Binding *binding, QQmlJS::AST::Statement *statement, AST::Node *parentNode); | - |
| 456 | void tryGeneratingTranslationBinding(const QStringRef &base, QQmlJS::AST::ArgumentList *args, QV4::CompiledData::Binding *binding); | - |
| 457 | | - |
| 458 | void appendBinding(QQmlJS::AST::UiQualifiedId *name, QQmlJS::AST::Statement *value, AST::Node *parentNode); | - |
| 459 | void appendBinding(QQmlJS::AST::UiQualifiedId *name, int objectIndex, bool isOnAssignment = false); | - |
| 460 | void appendBinding(const QQmlJS::AST::SourceLocation &qualifiedNameLocation, const QQmlJS::AST::SourceLocation &nameLocation, quint32 propertyNameIndex, QQmlJS::AST::Statement *value, AST::Node *parentNode); | - |
| 461 | void appendBinding(const QQmlJS::AST::SourceLocation &qualifiedNameLocation, const QQmlJS::AST::SourceLocation &nameLocation, quint32 propertyNameIndex, int objectIndex, bool isListItem = false, bool isOnAssignment = false); | - |
| 462 | | - |
| 463 | bool appendAlias(QQmlJS::AST::UiPublicMember *node); | - |
| 464 | | - |
| 465 | Object *bindingsTarget() const; | - |
| 466 | | - |
| 467 | bool setId(const QQmlJS::AST::SourceLocation &idLocation, QQmlJS::AST::Statement *value); | - |
| 468 | | - |
| 469 | | - |
| 470 | | - |
| 471 | bool resolveQualifiedId(QQmlJS::AST::UiQualifiedId **nameToResolve, Object **object, bool onAssignment = false); | - |
| 472 | | - |
| 473 | void recordError(const QQmlJS::AST::SourceLocation &location, const QString &description); | - |
| 474 | | - |
| 475 | quint32 registerString(const QString &str) const { return never executed: return jsGenerator->registerString(str); jsGenerator->registerString(str);never executed: return jsGenerator->registerString(str); } | 0 |
| 476 | template <typename _Tp> _Tp *New() { return never executed: return pool->New<_Tp>(); pool->New<_Tp>();never executed: return pool->New<_Tp>(); } | 0 |
| 477 | | - |
| 478 | QString stringAt(int index) const { return never executed: return jsGenerator->stringForIndex(index); jsGenerator->stringForIndex(index);never executed: return jsGenerator->stringForIndex(index); } | 0 |
| 479 | | - |
| 480 | static bool isStatementNodeScript(QQmlJS::AST::Statement *statement); | - |
| 481 | static bool isRedundantNullInitializerForPropertyDeclaration(Property *property, QQmlJS::AST::Statement *statement); | - |
| 482 | | - |
| 483 | QString sanityCheckFunctionNames(Object *obj, const QSet<QString> &illegalNames, QQmlJS::AST::SourceLocation *errorLocation); | - |
| 484 | | - |
| 485 | QList<QQmlJS::DiagnosticMessage> errors; | - |
| 486 | | - |
| 487 | QSet<QString> illegalNames; | - |
| 488 | | - |
| 489 | QList<const QV4::CompiledData::Import *> _imports; | - |
| 490 | QList<Pragma*> _pragmas; | - |
| 491 | QVector<Object*> _objects; | - |
| 492 | | - |
| 493 | QV4::CompiledData::TypeReferenceMap _typeReferences; | - |
| 494 | | - |
| 495 | Object *_object; | - |
| 496 | Property *_propertyDeclaration; | - |
| 497 | | - |
| 498 | QQmlJS::MemoryPool *pool; | - |
| 499 | QString sourceCode; | - |
| 500 | QV4::Compiler::JSUnitGenerator *jsGenerator; | - |
| 501 | }; | - |
| 502 | | - |
| 503 | struct QmlUnitGenerator | - |
| 504 | { | - |
| 505 | QV4::CompiledData::Unit *generate(Document &output, const QV4::CompiledData::DependentTypesHasher &dependencyHasher = QV4::CompiledData::DependentTypesHasher()); | - |
| 506 | | - |
| 507 | private: | - |
| 508 | typedef bool (Binding::*BindingFilter)() const; | - |
| 509 | char *writeBindings(char *bindingPtr, const Object *o, BindingFilter filter) const; | - |
| 510 | }; | - |
| 511 | struct JSCodeGen : public QV4::Compiler::Codegen | - |
| 512 | { | - |
| 513 | JSCodeGen(const QString &sourceCode, QV4::Compiler::JSUnitGenerator *jsUnitGenerator, QV4::Compiler::Module *jsModule, | - |
| 514 | QQmlJS::Engine *jsEngine, QQmlJS::AST::UiProgram *qmlRoot, | - |
| 515 | QQmlTypeNameCache *imports, const QV4::Compiler::StringTableGenerator *stringPool, const QSet<QString> &globalNames); | - |
| 516 | | - |
| 517 | struct IdMapping | - |
| 518 | { | - |
| 519 | QString name; | - |
| 520 | int idIndex; | - |
| 521 | QQmlPropertyCache *type; | - |
| 522 | }; | - |
| 523 | typedef QVector<IdMapping> ObjectIdMapping; | - |
| 524 | | - |
| 525 | void beginContextScope(const ObjectIdMapping &objectIds, QQmlPropertyCache *contextObject); | - |
| 526 | void beginObjectScope(QQmlPropertyCache *scopeObject); | - |
| 527 | | - |
| 528 | | - |
| 529 | QVector<int> generateJSCodeForFunctionsAndBindings(const QList<CompiledFunctionOrExpression> &functions); | - |
| 530 | | - |
| 531 | int defineFunction(const QString &name, AST::Node *ast, | - |
| 532 | AST::FormalParameterList *formals, | - |
| 533 | AST::StatementList *body) override; | - |
| 534 | | - |
| 535 | protected: | - |
| 536 | void beginFunctionBodyHook() override; | - |
| 537 | Reference fallbackNameLookup(const QString &name) override; | - |
| 538 | | - |
| 539 | private: | - |
| 540 | | - |
| 541 | QQmlPropertyData *lookupQmlCompliantProperty(QQmlPropertyCache *cache, const QString &name); | - |
| 542 | | - |
| 543 | QString sourceCode; | - |
| 544 | QQmlJS::Engine *jsEngine; | - |
| 545 | QQmlJS::AST::UiProgram *qmlRoot; | - |
| 546 | QQmlTypeNameCache *imports; | - |
| 547 | const QV4::Compiler::StringTableGenerator *stringPool; | - |
| 548 | | - |
| 549 | bool _disableAcceleratedLookups; | - |
| 550 | ObjectIdMapping _idObjects; | - |
| 551 | QQmlPropertyCache *_contextObject; | - |
| 552 | QQmlPropertyCache *_scopeObject; | - |
| 553 | int _qmlContextSlot; | - |
| 554 | int _importedScriptsSlot; | - |
| 555 | QSet<QString> m_globalNames; | - |
| 556 | }; | - |
| 557 | | - |
| 558 | struct IRLoader { | - |
| 559 | IRLoader(const QV4::CompiledData::Unit *unit, QmlIR::Document *output); | - |
| 560 | | - |
| 561 | void load(); | - |
| 562 | | - |
| 563 | private: | - |
| 564 | QmlIR::Object *loadObject(const QV4::CompiledData::Object *serializedObject); | - |
| 565 | | - |
| 566 | template <typename _Tp> _Tp *New() { return never executed: return pool->New<_Tp>(); pool->New<_Tp>();never executed: return pool->New<_Tp>(); } | 0 |
| 567 | | - |
| 568 | const QV4::CompiledData::Unit *unit; | - |
| 569 | QmlIR::Document *output; | - |
| 570 | QQmlJS::MemoryPool *pool; | - |
| 571 | }; | - |
| 572 | | - |
| 573 | } | - |
| 574 | | - |
| 575 | struct QQmlCompileError | - |
| 576 | { | - |
| 577 | QQmlCompileError() {} | - |
| 578 | QQmlCompileError(const QV4::CompiledData::Location &location, const QString &description) | - |
| 579 | : location(location), description(description) {}executed 64 times by 11 tests: end of blockExecuted by:- tst_qqmlconnections
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlpropertymap
- tst_qqmlvaluetypes
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickstates
- tst_qquicktextedit
- tst_qquickview
- tst_qquickwidget
| 64 |
| 580 | QV4::CompiledData::Location location; | - |
| 581 | QString description; | - |
| 582 | | - |
| 583 | bool isSet() const { returnexecuted 492088 times by 142 tests: return !description.isEmpty();Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
!description.isEmpty();executed 492088 times by 142 tests: return !description.isEmpty();Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_parserstress
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginecleanup
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlfileselector
- tst_qqmlimport
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- ...
} | 492088 |
| 584 | }; | - |
| 585 | | - |
| 586 | | - |
| | |