Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | #include "qv4identifiertable_p.h" | - |
40 | #include "qv4symbol_p.h" | - |
41 | | - |
42 | QT_BEGIN_NAMESPACE | - |
43 | | - |
44 | namespace QV4 { | - |
45 | | - |
46 | static const uchar prime_deltas[] = { | - |
47 | 0, 0, 1, 3, 1, 5, 3, 3, 1, 9, 7, 5, 3, 9, 25, 3, | - |
48 | 1, 21, 3, 21, 7, 15, 9, 5, 3, 29, 15, 0, 0, 0, 0, 0 | - |
49 | }; | - |
50 | | - |
51 | static inline int primeForNumBits(int numBits) | - |
52 | { | - |
53 | return (1 << numBits) + prime_deltas[numBits];executed 296372 times by 153 tests: return (1 << numBits) + prime_deltas[numBits]; 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
- ...
| 296372 |
54 | } | - |
55 | | - |
56 | | - |
57 | IdentifierTable::IdentifierTable(ExecutionEngine *engine) | - |
58 | : engine(engine) | - |
59 | , size(0) | - |
60 | , numBits(8) | - |
61 | { | - |
62 | alloc = primeForNumBits(numBits); | - |
63 | entriesByHash = (Heap::StringOrSymbol **)malloc(alloc*sizeof(Heap::StringOrSymbol *)); | - |
64 | entriesById = (Heap::StringOrSymbol **)malloc(alloc*sizeof(Heap::StringOrSymbol *)); | - |
65 | memset(entriesByHash, 0, alloc*sizeof(Heap::String *)); | - |
66 | memset(entriesById, 0, alloc*sizeof(Heap::String *)); | - |
67 | }executed 99152 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
- ...
| 99152 |
68 | | - |
69 | IdentifierTable::~IdentifierTable() | - |
70 | { | - |
71 | free(entriesByHash); | - |
72 | free(entriesById); | - |
73 | for (auto &h : idHashes) | - |
74 | h->identifierTable = nullptr;executed 46074 times by 84 tests: h->identifierTable = nullptr; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- 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
- tst_qqmlnotifier
- tst_qqmlprofilerservice
- tst_qqmlproperty
- ...
| 46074 |
75 | }executed 98531 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
- ...
| 98531 |
76 | | - |
77 | void IdentifierTable::addEntry(Heap::StringOrSymbol *str) | - |
78 | { | - |
79 | uint hash = str->hashValue(); | - |
80 | | - |
81 | if (str->subtype == Heap::String::StringType_ArrayIndex)TRUE | never evaluated | FALSE | evaluated 38331450 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
- ...
|
| 0-38331450 |
82 | return; never executed: return; | 0 |
83 | | - |
84 | str->identifier = PropertyKey::fromStringOrSymbol(str); | - |
85 | | - |
86 | bool grow = (alloc <= size*2); | - |
87 | | - |
88 | if (grow) {TRUE | evaluated 197632 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 38051782 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
- ...
|
| 197632-38051782 |
89 | ++numBits; | - |
90 | int newAlloc = primeForNumBits(numBits); | - |
91 | Heap::StringOrSymbol **newEntries = (Heap::StringOrSymbol **)malloc(newAlloc*sizeof(Heap::String *)); | - |
92 | memset(newEntries, 0, newAlloc*sizeof(Heap::StringOrSymbol *)); | - |
93 | for (int i = 0; i < alloc; ++i) {TRUE | evaluated 77139795 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 198931 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
- ...
|
| 198931-77139795 |
94 | Heap::StringOrSymbol *e = entriesByHash[i]; | - |
95 | if (!e)TRUE | evaluated 38581216 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 38725698 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
- ...
|
| 38581216-38725698 |
96 | continue;executed 38586803 times by 153 tests: continue; 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
- ...
| 38586803 |
97 | uint idx = e->stringHash % newAlloc; | - |
98 | while (newEntries[idx]) {TRUE | evaluated 10711610 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 38732634 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
- ...
|
| 10711610-38732634 |
99 | ++idx; | - |
100 | idx %= newAlloc; | - |
101 | }executed 10711791 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
- ...
| 10711791 |
102 | newEntries[idx] = e; | - |
103 | }executed 38747129 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
- ...
| 38747129 |
104 | free(entriesByHash); | - |
105 | entriesByHash = newEntries; | - |
106 | | - |
107 | newEntries = (Heap::StringOrSymbol **)malloc(newAlloc*sizeof(Heap::String *)); | - |
108 | memset(newEntries, 0, newAlloc*sizeof(Heap::StringOrSymbol *)); | - |
109 | for (int i = 0; i < alloc; ++i) {TRUE | evaluated 77100411 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 198928 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
- ...
|
| 198928-77100411 |
110 | Heap::StringOrSymbol *e = entriesById[i]; | - |
111 | if (!e)TRUE | evaluated 38576563 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 38698596 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
- ...
|
| 38576563-38698596 |
112 | continue;executed 38589059 times by 153 tests: continue; 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
- ...
| 38589059 |
113 | uint idx = e->identifier.id() % newAlloc; | - |
114 | while (newEntries[idx]) {TRUE | evaluated 3212130 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 38709429 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
- ...
|
| 3212130-38709429 |
115 | ++idx; | - |
116 | idx %= newAlloc; | - |
117 | }executed 3212505 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
- ...
| 3212505 |
118 | newEntries[idx] = e; | - |
119 | }executed 38720344 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
- ...
| 38720344 |
120 | free(entriesById); | - |
121 | entriesById = newEntries; | - |
122 | | - |
123 | alloc = newAlloc; | - |
124 | }executed 198963 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
- ...
| 198963 |
125 | | - |
126 | uint idx = hash % alloc; | - |
127 | while (entriesByHash[idx]) {TRUE | evaluated 24182582 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 38301508 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
- ...
|
| 24182582-38301508 |
128 | ++idx; | - |
129 | idx %= alloc; | - |
130 | }executed 24187698 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
- ...
| 24187698 |
131 | entriesByHash[idx] = str; | - |
132 | | - |
133 | idx = str->identifier.id() % alloc; | - |
134 | while (entriesById[idx]) {TRUE | evaluated 25494657 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 38348365 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
- ...
|
| 25494657-38348365 |
135 | ++idx; | - |
136 | idx %= alloc; | - |
137 | }executed 25498923 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
- ...
| 25498923 |
138 | entriesById[idx] = str; | - |
139 | | - |
140 | ++size; | - |
141 | }executed 38336547 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
- ...
| 38336547 |
142 | | - |
143 | | - |
144 | | - |
145 | Heap::String *IdentifierTable::insertString(const QString &s) | - |
146 | { | - |
147 | uint subtype; | - |
148 | uint hash = String::createHashValue(s.constData(), s.length(), &subtype); | - |
149 | if (subtype == Heap::String::StringType_ArrayIndex) {TRUE | never evaluated | FALSE | evaluated 24172 times by 34 testsEvaluated by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
|
| 0-24172 |
150 | Heap::String *str = engine->newString(s); | - |
151 | str->stringHash = hash; | - |
152 | str->subtype = subtype; | - |
153 | return str; never executed: return str; | 0 |
154 | } | - |
155 | uint idx = hash % alloc; | - |
156 | while (Heap::StringOrSymbol *e = entriesByHash[idx]) {TRUE | evaluated 68992 times by 34 testsEvaluated by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | evaluated 4844 times by 33 testsEvaluated by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
|
| 4844-68992 |
157 | if (e->stringHash == hash && e->toQString() == s)TRUE | evaluated 19328 times by 34 testsEvaluated by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | evaluated 49664 times by 20 testsEvaluated by:- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
|
TRUE | evaluated 19328 times by 34 testsEvaluated by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| FALSE | never evaluated |
| 0-49664 |
158 | return static_cast<Heap::String *>(e);executed 19328 times by 34 tests: return static_cast<Heap::String *>(e); Executed by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| 19328 |
159 | ++idx; | - |
160 | idx %= alloc; | - |
161 | }executed 49664 times by 20 tests: end of block Executed by:- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| 49664 |
162 | | - |
163 | Heap::String *str = engine->newString(s); | - |
164 | str->stringHash = hash; | - |
165 | str->subtype = subtype; | - |
166 | addEntry(str); | - |
167 | return str;executed 4844 times by 33 tests: return str; Executed by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| 4844 |
168 | } | - |
169 | | - |
170 | Heap::Symbol *IdentifierTable::insertSymbol(const QString &s) | - |
171 | { | - |
172 | Q_ASSERT(s.at(0) == QLatin1Char('@')); | - |
173 | | - |
174 | uint subtype; | - |
175 | uint hash = String::createHashValue(s.constData(), s.length(), &subtype); | - |
176 | uint idx = hash % alloc; | - |
177 | while (Heap::StringOrSymbol *e = entriesByHash[idx]) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 16 times by 1 test |
| 4-16 |
178 | if (e->stringHash == hash && e->toQString() == s)TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
179 | return static_cast<Heap::Symbol *>(e);executed 4 times by 1 test: return static_cast<Heap::Symbol *>(e); | 4 |
180 | ++idx; | - |
181 | idx %= alloc; | - |
182 | } never executed: end of block | 0 |
183 | | - |
184 | Heap::Symbol *str = Symbol::create(engine, s); | - |
185 | str->stringHash = hash; | - |
186 | str->subtype = subtype; | - |
187 | addEntry(str); | - |
188 | return str;executed 16 times by 1 test: return str; | 16 |
189 | | - |
190 | } | - |
191 | | - |
192 | | - |
193 | PropertyKey IdentifierTable::asPropertyKeyImpl(const Heap::String *str) | - |
194 | { | - |
195 | if (str->identifier.isValid())TRUE | never evaluated | FALSE | evaluated 51482956 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
- ...
|
| 0-51482956 |
196 | return str->identifier; never executed: return str->identifier; | 0 |
197 | uint hash = str->hashValue(); | - |
198 | if (str->subtype == Heap::String::StringType_ArrayIndex) {TRUE | evaluated 36699 times by 13 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qtqmlmodules
- tst_testfiltering
| FALSE | evaluated 51493532 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
- ...
|
| 36699-51493532 |
199 | str->identifier = PropertyKey::fromArrayIndex(hash); | - |
200 | return str->identifier;executed 36675 times by 13 tests: return str->identifier; Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qjsvalue
- tst_qjsvalueiterator
- tst_qqmlconsole
- tst_qqmlecmascript
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qtqmlmodules
- tst_testfiltering
| 36675 |
201 | } | - |
202 | | - |
203 | uint idx = hash % alloc; | - |
204 | while (Heap::StringOrSymbol *e = entriesByHash[idx]) {TRUE | evaluated 40717704 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 38314756 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
- ...
|
| 38314756-40717704 |
205 | if (e->stringHash == hash && e->toQString() == str->toQString()) {TRUE | evaluated 13316974 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 27440768 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
- ...
|
TRUE | evaluated 13309965 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 | never evaluated |
| 0-27440768 |
206 | str->identifier = e->identifier; | - |
207 | return e->identifier;executed 13293393 times by 153 tests: return e->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
- ...
| 13293393 |
208 | } | - |
209 | ++idx; | - |
210 | idx %= alloc; | - |
211 | }executed 27448329 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
- ...
| 27448329 |
212 | | - |
213 | addEntry(const_cast<QV4::Heap::String *>(str)); | - |
214 | return str->identifier;executed 38326273 times by 153 tests: return str->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
- ...
| 38326273 |
215 | } | - |
216 | | - |
217 | Heap::StringOrSymbol *IdentifierTable::resolveId(PropertyKey i) const | - |
218 | { | - |
219 | uint arrayIdx = i.asArrayIndex(); | - |
220 | if (arrayIdx < UINT_MAX)TRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
| 0-12 |
221 | return engine->newString(QString::number(arrayIdx)); never executed: return engine->newString(QString::number(arrayIdx)); | 0 |
222 | if (!i.isValid())TRUE | never evaluated | FALSE | evaluated 12 times by 1 test |
| 0-12 |
223 | return nullptr; never executed: return nullptr; | 0 |
224 | | - |
225 | uint idx = i.id() % alloc; | - |
226 | while (1) { | - |
227 | Heap::StringOrSymbol *e = entriesById[idx]; | - |
228 | if (!e || e->identifier == i)TRUE | evaluated 8 times by 1 test | FALSE | evaluated 24 times by 1 test |
TRUE | evaluated 4 times by 1 test | FALSE | evaluated 20 times by 1 test |
| 4-24 |
229 | return e;executed 12 times by 1 test: return e; | 12 |
230 | ++idx; | - |
231 | idx %= alloc; | - |
232 | }executed 20 times by 1 test: end of block | 20 |
233 | } never executed: end of block | 0 |
234 | | - |
235 | Heap::String *IdentifierTable::stringForId(PropertyKey i) const | - |
236 | { | - |
237 | Heap::StringOrSymbol *s = resolveId(i); | - |
238 | Q_ASSERT(s && s->internalClass->vtable->isString); | - |
239 | return static_cast<Heap::String *>(s); never executed: return static_cast<Heap::String *>(s); | 0 |
240 | } | - |
241 | | - |
242 | Heap::Symbol *IdentifierTable::symbolForId(PropertyKey i) const | - |
243 | { | - |
244 | Heap::StringOrSymbol *s = resolveId(i); | - |
245 | Q_ASSERT(!s || !s->internalClass->vtable->isString); | - |
246 | return static_cast<Heap::Symbol *>(s);executed 12 times by 1 test: return static_cast<Heap::Symbol *>(s); | 12 |
247 | } | - |
248 | | - |
249 | void IdentifierTable::markObjects(MarkStack *markStack) | - |
250 | { | - |
251 | for (const auto &h : idHashes) | - |
252 | h->markObjects(markStack);executed 58848 times by 20 tests: h->markObjects(markStack); Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qqmlecmascript
- tst_qqmlnotifier
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpositioners
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| 58848 |
253 | }executed 8854 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
- ...
| 8854 |
254 | | - |
255 | template <typename Key> | - |
256 | int sweepTable(Heap::StringOrSymbol **table, int alloc, std::function<Key(Heap::StringOrSymbol *)> f) { | - |
257 | int freed = 0; | - |
258 | Key lastKey = 0; | - |
259 | int lastEntry = -1; | - |
260 | int start = 0; | - |
261 | | - |
262 | for (; start < alloc; ++start) {TRUE | evaluated 32186 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 | never evaluated |
| 0-32186 |
263 | if (!table[start])TRUE | evaluated 17707 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 14478 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
- ...
|
| 14478-17707 |
264 | break;executed 17708 times by 26 tests: break; 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
- ...
| 17708 |
265 | }executed 14477 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
- ...
| 14477 |
266 | | - |
267 | for (int i = 0; i < alloc; ++i) {TRUE | evaluated 26633038 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 17708 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
- ...
|
| 17708-26633038 |
268 | int idx = (i + start) % alloc; | - |
269 | Heap::StringOrSymbol *entry = table[idx]; | - |
270 | if (!entry) {TRUE | evaluated 16720747 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 9915024 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
- ...
|
| 9915024-16720747 |
271 | lastEntry = -1; | - |
272 | continue;executed 16720739 times by 26 tests: continue; 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
- ...
| 16720739 |
273 | } | - |
274 | if (entry->isMarked()) {TRUE | evaluated 9910854 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 4294 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
| 4294-9910854 |
275 | if (lastEntry >= 0 && lastKey == f(entry)) {TRUE | evaluated 3540 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
| FALSE | evaluated 9907283 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
- ...
|
TRUE | never evaluated | FALSE | evaluated 3540 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
| 0-9907283 |
276 | Q_ASSERT(table[lastEntry] == nullptr); | - |
277 | table[lastEntry] = entry; | - |
278 | table[idx] = nullptr; | - |
279 | lastEntry = (lastEntry + 1) % alloc; | - |
280 | Q_ASSERT(table[lastEntry] == nullptr); | - |
281 | } never executed: end of block | 0 |
282 | continue;executed 9910878 times by 26 tests: continue; 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
- ...
| 9910878 |
283 | } | - |
284 | if (lastEntry == -1) {TRUE | evaluated 3420 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
| FALSE | evaluated 874 times by 6 testsEvaluated by:- tst_examples
- tst_qqmlqt
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
| 874-3420 |
285 | lastEntry = idx; | - |
286 | lastKey = f(entry); | - |
287 | }executed 3420 times by 10 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 3420 |
288 | table[idx] = nullptr; | - |
289 | ++freed; | - |
290 | }executed 4294 times by 10 tests: end of block Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 4294 |
291 | for (int i = 0; i < alloc; ++i) {TRUE | evaluated 26633478 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 17708 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
- ...
|
| 17708-26633478 |
292 | Heap::StringOrSymbol *entry = table[i]; | - |
293 | if (!entry)TRUE | evaluated 16725368 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 9910562 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
- ...
|
| 9910562-16725368 |
294 | continue;executed 16725361 times by 26 tests: continue; 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
- ...
| 16725361 |
295 | Q_ASSERT(entry->isMarked()); | - |
296 | }executed 9910643 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
- ...
| 9910643 |
297 | return freed;executed 17708 times by 26 tests: return freed; 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
- ...
| 17708 |
298 | } | - |
299 | | - |
300 | void IdentifierTable::sweep() | - |
301 | { | - |
302 | int f = sweepTable<int>(entriesByHash, alloc, [](Heap::StringOrSymbol *entry) {return entry->hashValue(); });executed 3181 times by 10 tests: return entry->hashValue(); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 3181 |
303 | int freed = sweepTable<quint64>(entriesById, alloc, [](Heap::StringOrSymbol *entry) {return entry->identifier.id(); });executed 3779 times by 10 tests: return entry->identifier.id(); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 3779 |
304 | Q_UNUSED(f); | - |
305 | Q_ASSERT(f == freed); | - |
306 | size -= freed; | - |
307 | }executed 8854 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
- ...
| 8854 |
308 | | - |
309 | PropertyKey IdentifierTable::asPropertyKey(const QString &s) | - |
310 | { | - |
311 | return insertString(s)->identifier;executed 24172 times by 34 tests: return insertString(s)->identifier; Executed by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmlvaluetypeproviders
- tst_qquickanimatedimage
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickflickable
- tst_qquickfontloader
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickpathview
- ...
| 24172 |
312 | } | - |
313 | | - |
314 | PropertyKey IdentifierTable::asPropertyKey(const char *s, int len) | - |
315 | { | - |
316 | uint subtype; | - |
317 | uint hash = String::createHashValue(s, len, &subtype); | - |
318 | if (hash == UINT_MAX)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
319 | return asPropertyKey(QString::fromUtf8(s, len)); never executed: return asPropertyKey(QString::fromUtf8(s, len)); | 0 |
320 | | - |
321 | QLatin1String latin(s, len); | - |
322 | uint idx = hash % alloc; | - |
323 | while (Heap::StringOrSymbol *e = entriesByHash[idx]) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
324 | if (e->stringHash == hash && e->toQString() == latin)TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
325 | return e->identifier; never executed: return e->identifier; | 0 |
326 | ++idx; | - |
327 | idx %= alloc; | - |
328 | } never executed: end of block | 0 |
329 | | - |
330 | Heap::String *str = engine->newString(QString::fromLatin1(s, len)); | - |
331 | str->stringHash = hash; | - |
332 | str->subtype = subtype; | - |
333 | addEntry(str); | - |
334 | return str->identifier; never executed: return str->identifier; | 0 |
335 | } | - |
336 | | - |
337 | } | - |
338 | | - |
339 | QT_END_NAMESPACE | - |
| | |