Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | template<class T, int Increment> | - |
5 | class QPODVector | - |
6 | { | - |
7 | public: | - |
8 | QPODVector() | - |
9 | : m_count(0), m_capacity(0), m_data(nullptr) {}executed 76680 times by 39 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- ...
| 76680 |
10 | ~QPODVector() { if (m_dataTRUE | evaluated 53526 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| FALSE | evaluated 23102 times by 30 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquicktableview
- tst_qquicktext
- ...
|
) ::executed 53526 times by 35 tests: ::free(m_data); Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
free(m_data);executed 53526 times by 35 tests: ::free(m_data); Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
}executed 76628 times by 39 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- ...
| 23102-76628 |
11 | | - |
12 | const T &at(int idx) const { | - |
13 | returnexecuted 327639 times by 27 tests: return m_data[idx]; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- ...
m_data[idx];executed 327639 times by 27 tests: return m_data[idx]; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- ...
| 327639 |
14 | } | - |
15 | | - |
16 | T &operator[](int idx) { | - |
17 | returnexecuted 264832 times by 32 tests: return m_data[idx]; Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- ...
m_data[idx];executed 264832 times by 32 tests: return m_data[idx]; Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- ...
| 264832 |
18 | } | - |
19 | | - |
20 | void clear() { | - |
21 | m_count = 0; | - |
22 | }executed 67712 times by 26 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- ...
| 67712 |
23 | | - |
24 | void prepend(const T &v) { | - |
25 | insert(0, v); | - |
26 | } never executed: end of block | 0 |
27 | | - |
28 | void append(const T &v) { | - |
29 | insert(m_count, v); | - |
30 | }executed 127457 times by 28 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- ...
| 127457 |
31 | | - |
32 | void insert(int idx, const T &v) { | - |
33 | if (m_count == m_capacityTRUE | evaluated 42616 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| FALSE | evaluated 90861 times by 31 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmlxmlhttprequest
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquickstates
- ...
|
) { | 42616-90861 |
34 | m_capacity += Increment; | - |
35 | m_data = (T *)realloc(static_cast<void *>(m_data), m_capacity * sizeof(T)); | - |
36 | }executed 42616 times by 35 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| 42616 |
37 | int moveCount = m_count - idx; | - |
38 | if (moveCountTRUE | evaluated 306 times by 5 testsEvaluated by:- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| FALSE | evaluated 133171 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
|
) | 306-133171 |
39 | ::executed 306 times by 5 tests: ::memmove(static_cast<void *>(m_data + idx + 1), static_cast<const void *>(m_data + idx), moveCount * sizeof(T)); Executed by:- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
memmove(static_cast<void *>(m_data + idx + 1), static_cast<const void *>(m_data + idx), moveCount * sizeof(T));executed 306 times by 5 tests: ::memmove(static_cast<void *>(m_data + idx + 1), static_cast<const void *>(m_data + idx), moveCount * sizeof(T)); Executed by:- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 306 |
40 | m_count++; | - |
41 | m_data[idx] = v; | - |
42 | }executed 133477 times by 35 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| 133477 |
43 | | - |
44 | void reserve(int count) { | - |
45 | if (count >= m_capacityTRUE | evaluated 12398 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_scenegraph
| FALSE | never evaluated |
) { | 0-12398 |
46 | m_capacity = (count + (Increment-1)) & (0xFFFFFFFF - Increment + 1); | - |
47 | m_data = (T *)realloc(static_cast<void *>(m_data), m_capacity * sizeof(T)); | - |
48 | }executed 12398 times by 24 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_scenegraph
| 12398 |
49 | }executed 12398 times by 24 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_scenegraph
| 12398 |
50 | | - |
51 | void insertBlank(int idx, int count) { | - |
52 | int newSize = m_count + count; | - |
53 | reserve(newSize); | - |
54 | int moveCount = m_count - idx; | - |
55 | if (moveCountTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
56 | :: never executed: ::memmove(static_cast<void *>(m_data + idx + count), static_cast<const void *>(m_data + idx), moveCount * sizeof(T)); memmove(static_cast<void *>(m_data + idx + count), static_cast<const void *>(m_data + idx),never executed: ::memmove(static_cast<void *>(m_data + idx + count), static_cast<const void *>(m_data + idx), moveCount * sizeof(T)); | 0 |
57 | moveCount * sizeof(T)); never executed: ::memmove(static_cast<void *>(m_data + idx + count), static_cast<const void *>(m_data + idx), moveCount * sizeof(T)); | 0 |
58 | m_count = newSize; | - |
59 | } never executed: end of block | 0 |
60 | | - |
61 | void remove(int idx, int count = 1) { | - |
62 | int moveCount = m_count - (idx + count); | - |
63 | if (moveCountTRUE | evaluated 3260 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| FALSE | evaluated 3772 times by 17 testsEvaluated by:- tst_examples
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
|
) | 3260-3772 |
64 | ::executed 3260 times by 14 tests: ::memmove(static_cast<void *>(m_data + idx), static_cast<const void *>(m_data + idx + count), moveCount * sizeof(T)); Executed by:- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
memmove(static_cast<void *>(m_data + idx), static_cast<const void *>(m_data + idx + count),executed 3260 times by 14 tests: ::memmove(static_cast<void *>(m_data + idx), static_cast<const void *>(m_data + idx + count), moveCount * sizeof(T)); Executed by:- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 3260 |
65 | moveCount * sizeof(T));executed 3260 times by 14 tests: ::memmove(static_cast<void *>(m_data + idx), static_cast<const void *>(m_data + idx + count), moveCount * sizeof(T)); Executed by:- tst_flickableinterop
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 3260 |
66 | m_count -= count; | - |
67 | }executed 7032 times by 22 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
| 7032 |
68 | | - |
69 | void removeOne(const T &v) { | - |
70 | int idx = 0; | - |
71 | while (idx < m_countTRUE | evaluated 4 times by 1 testEvaluated by:- tst_qqmllistmodelworkerscript
| FALSE | never evaluated |
) { | 0-4 |
72 | if (m_data[idx] == vTRUE | evaluated 4 times by 1 testEvaluated by:- tst_qqmllistmodelworkerscript
| FALSE | never evaluated |
) { | 0-4 |
73 | remove(idx); | - |
74 | return;executed 4 times by 1 test: return; Executed by:- tst_qqmllistmodelworkerscript
| 4 |
75 | } | - |
76 | ++idx; | - |
77 | } never executed: end of block | 0 |
78 | } never executed: end of block | 0 |
79 | | - |
80 | int find(const T &v) { | - |
81 | for (int idx = 0; idx < m_countTRUE | evaluated 203823 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktextinput
| FALSE | evaluated 37714 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_scenegraph
|
; ++idx) | 37714-203823 |
82 | if (m_data[idx] == vTRUE | evaluated 83533 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktextinput
| FALSE | evaluated 120290 times by 8 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktextinput
|
) | 83533-120290 |
83 | returnexecuted 83533 times by 10 tests: return idx; Executed by:- tst_examples
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktextinput
idx;executed 83533 times by 10 tests: return idx; Executed by:- tst_examples
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktextinput
| 83533 |
84 | returnexecuted 37714 times by 24 tests: return -1; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_scenegraph
-1;executed 37714 times by 24 tests: return -1; Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_scenegraph
| 37714 |
85 | } | - |
86 | | - |
87 | bool contains(const T &v) { | - |
88 | return never executed: return find(v) != -1; find(v) != -1;never executed: return find(v) != -1; | 0 |
89 | } | - |
90 | | - |
91 | int count() const { | - |
92 | returnexecuted 919915 times by 35 tests: return m_count; Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
m_count;executed 919915 times by 35 tests: return m_count; Executed by:- tst_examples
- tst_flickableinterop
- tst_qmlcachegen
- tst_qqmlecmascript
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlobjectmodel
- tst_qqmlqt
- tst_qqmltranslation
- tst_qqmlxmlhttprequest
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- ...
| 919915 |
93 | } | - |
94 | | - |
95 | void copyAndClear(QPODVector<T,Increment> &other) { | - |
96 | if (other.m_dataTRUE | never evaluated | FALSE | evaluated 39654 times by 24 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_scenegraph
|
) ::never executed: ::free(other.m_data); free(other.m_data);never executed: ::free(other.m_data); | 0-39654 |
97 | other.m_count = m_count; | - |
98 | other.m_capacity = m_capacity; | - |
99 | other.m_data = m_data; | - |
100 | m_count = 0; | - |
101 | m_capacity = 0; | - |
102 | m_data = nullptr; | - |
103 | }executed 39654 times by 24 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmlqt
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwindow
- tst_scenegraph
| 39654 |
104 | | - |
105 | QPODVector<T,Increment> &operator<<(const T &v) { append(v); return never executed: return *this; *this;never executed: return *this; } | 0 |
106 | private: | - |
107 | QPODVector(const QPODVector &); | - |
108 | QPODVector &operator=(const QPODVector &); | - |
109 | int m_count; | - |
110 | int m_capacity; | - |
111 | T *m_data; | - |
112 | }; | - |
113 | | - |
114 | | - |
| | |