| 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 | | - |
| 40 | #include "qquickparticlesystem_p.h" | - |
| 41 | #include <QtQuick/qsgnode.h> | - |
| 42 | #include "qquickparticleemitter_p.h" | - |
| 43 | #include "qquickparticleaffector_p.h" | - |
| 44 | #include "qquickparticlepainter_p.h" | - |
| 45 | #include <private/qquickspriteengine_p.h> | - |
| 46 | #include <private/qquicksprite_p.h> | - |
| 47 | #include "qquickv4particledata_p.h" | - |
| 48 | #include "qquickparticlegroup_p.h" | - |
| 49 | | - |
| 50 | #include "qquicktrailemitter_p.h"//###For auto-follow on states, perhaps should be in emitter? | - |
| 51 | #include <private/qqmlengine_p.h> | - |
| 52 | #include <private/qqmlglobal_p.h> | - |
| 53 | #include <cmath> | - |
| 54 | #include <QDebug> | - |
| 55 | | - |
| 56 | QT_BEGIN_NAMESPACE | - |
| 57 | | - |
| 58 | DEFINE_BOOL_CONFIG_OPTION(qmlParticlesDebug, QML_PARTICLES_DEBUG)executed 2 times by 1 test: status = Yes; executed 2 times by 1 test: end of block executed 48 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
executed 166 times by 24 tests: return status == Yes;Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| TRUE | evaluated 48 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 118 times by 8 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickfriction
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquickparticlesystem
|
| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 46 times by 23 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
| 0-166 |
| 59 | | - |
| 60 | | - |
| 61 | | - |
| 62 | | - |
| 63 | | - |
| 64 | | - |
| 65 | | - |
| 66 | | - |
| 67 | | - |
| 68 | | - |
| 69 | | - |
| 70 | | - |
| 71 | | - |
| 72 | | - |
| 73 | | - |
| 74 | | - |
| 75 | | - |
| 76 | | - |
| 77 | | - |
| 78 | | - |
| 79 | | - |
| 80 | | - |
| 81 | | - |
| 82 | | - |
| 83 | | - |
| 84 | | - |
| 85 | | - |
| 86 | | - |
| 87 | | - |
| 88 | | - |
| 89 | | - |
| 90 | | - |
| 91 | | - |
| 92 | | - |
| 93 | | - |
| 94 | | - |
| 95 | | - |
| 96 | | - |
| 97 | | - |
| 98 | | - |
| 99 | | - |
| 100 | | - |
| 101 | | - |
| 102 | | - |
| 103 | | - |
| 104 | | - |
| 105 | | - |
| 106 | | - |
| 107 | | - |
| 108 | | - |
| 109 | | - |
| 110 | | - |
| 111 | | - |
| 112 | | - |
| 113 | | - |
| 114 | | - |
| 115 | | - |
| 116 | | - |
| 117 | | - |
| 118 | | - |
| 119 | | - |
| 120 | | - |
| 121 | | - |
| 122 | | - |
| 123 | | - |
| 124 | | - |
| 125 | | - |
| 126 | | - |
| 127 | | - |
| 128 | | - |
| 129 | | - |
| 130 | | - |
| 131 | | - |
| 132 | | - |
| 133 | | - |
| 134 | | - |
| 135 | | - |
| 136 | | - |
| 137 | | - |
| 138 | | - |
| 139 | | - |
| 140 | | - |
| 141 | | - |
| 142 | | - |
| 143 | | - |
| 144 | | - |
| 145 | | - |
| 146 | | - |
| 147 | | - |
| 148 | | - |
| 149 | | - |
| 150 | | - |
| 151 | | - |
| 152 | | - |
| 153 | | - |
| 154 | | - |
| 155 | | - |
| 156 | | - |
| 157 | | - |
| 158 | | - |
| 159 | | - |
| 160 | | - |
| 161 | | - |
| 162 | | - |
| 163 | | - |
| 164 | | - |
| 165 | | - |
| 166 | | - |
| 167 | | - |
| 168 | | - |
| 169 | | - |
| 170 | | - |
| 171 | | - |
| 172 | | - |
| 173 | | - |
| 174 | | - |
| 175 | | - |
| 176 | | - |
| 177 | | - |
| 178 | | - |
| 179 | | - |
| 180 | | - |
| 181 | | - |
| 182 | | - |
| 183 | | - |
| 184 | | - |
| 185 | | - |
| 186 | | - |
| 187 | | - |
| 188 | | - |
| 189 | | - |
| 190 | | - |
| 191 | | - |
| 192 | | - |
| 193 | | - |
| 194 | | - |
| 195 | | - |
| 196 | | - |
| 197 | | - |
| 198 | | - |
| 199 | | - |
| 200 | | - |
| 201 | | - |
| 202 | | - |
| 203 | static inline int roundedTime(qreal a) | - |
| 204 | { | - |
| 205 | return (int)qRound(a*1000.0);executed 56202 times by 23 tests: return (int)qRound(a*1000.0);Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 56202 |
| 206 | } | - |
| 207 | | - |
| 208 | QQuickParticleDataHeap::QQuickParticleDataHeap() | - |
| 209 | : m_data(0) | - |
| 210 | { | - |
| 211 | m_data.reserve(1000); | - |
| 212 | clear(); | - |
| 213 | }executed 260 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 260 |
| 214 | | - |
| 215 | void QQuickParticleDataHeap::grow() | - |
| 216 | { | - |
| 217 | m_data.resize(1 << ++m_size); | - |
| 218 | }executed 784 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 784 |
| 219 | | - |
| 220 | void QQuickParticleDataHeap::insert(QQuickParticleData* data) | - |
| 221 | { | - |
| 222 | insertTimed(data, roundedTime(data->t + data->lifeSpan)); | - |
| 223 | }executed 56202 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 56202 |
| 224 | | - |
| 225 | void QQuickParticleDataHeap::insertTimed(QQuickParticleData* data, int time) | - |
| 226 | { | - |
| 227 | | - |
| 228 | if (m_lookups.contains(time)) {| TRUE | evaluated 1930 times by 3 testsEvaluated by:- tst_qquickage
- tst_qquickparticlegroup
- tst_qquicktrailemitter
| | FALSE | evaluated 54272 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 1930-54272 |
| 229 | m_data[m_lookups[time]].data << data; | - |
| 230 | return;executed 1930 times by 3 tests: return;Executed by:- tst_qquickage
- tst_qquickparticlegroup
- tst_qquicktrailemitter
| 1930 |
| 231 | } | - |
| 232 | if (m_end == (1 << m_size))| TRUE | evaluated 784 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 53488 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 784-53488 |
| 233 | grow();executed 784 times by 23 tests: grow();Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 784 |
| 234 | m_data[m_end].time = time; | - |
| 235 | m_data[m_end].data.clear(); | - |
| 236 | m_data[m_end].data.insert(data); | - |
| 237 | m_lookups.insert(time, m_end); | - |
| 238 | bubbleUp(m_end++); | - |
| 239 | }executed 54272 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 54272 |
| 240 | | - |
| 241 | int QQuickParticleDataHeap::top() | - |
| 242 | { | - |
| 243 | if (m_end == 0)| TRUE | evaluated 178 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 15313 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 178-15313 |
| 244 | return 1 << 30;executed 178 times by 23 tests: return 1 << 30;Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 178 |
| 245 | return m_data[0].time;executed 15313 times by 23 tests: return m_data[0].time;Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 15313 |
| 246 | } | - |
| 247 | | - |
| 248 | QSet<QQuickParticleData*> QQuickParticleDataHeap::pop() | - |
| 249 | { | - |
| 250 | if (!m_end)| TRUE | never evaluated | | FALSE | evaluated 12008 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-12008 |
| 251 | return QSet<QQuickParticleData*> (); never executed: return QSet<QQuickParticleData*> (); | 0 |
| 252 | QSet<QQuickParticleData*> ret = m_data[0].data; | - |
| 253 | m_lookups.remove(m_data[0].time); | - |
| 254 | if (m_end == 1) {| TRUE | never evaluated | | FALSE | evaluated 12008 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-12008 |
| 255 | --m_end; | - |
| 256 | } else { never executed: end of block | 0 |
| 257 | m_data[0] = m_data[--m_end]; | - |
| 258 | bubbleDown(0); | - |
| 259 | }executed 12008 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 12008 |
| 260 | return ret;executed 12008 times by 23 tests: return ret;Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 12008 |
| 261 | } | - |
| 262 | | - |
| 263 | void QQuickParticleDataHeap::clear() | - |
| 264 | { | - |
| 265 | m_size = 0; | - |
| 266 | m_end = 0; | - |
| 267 | | - |
| 268 | m_data.resize(1); | - |
| 269 | m_lookups.clear(); | - |
| 270 | }executed 520 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 520 |
| 271 | | - |
| 272 | bool QQuickParticleDataHeap::contains(QQuickParticleData* d) | - |
| 273 | { | - |
| 274 | for (int i=0; i<m_end; i++)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 275 | if (m_data[i].data.contains(d))| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 276 | return true; never executed: return true; | 0 |
| 277 | return false; never executed: return false; | 0 |
| 278 | } | - |
| 279 | | - |
| 280 | void QQuickParticleDataHeap::swap(int a, int b) | - |
| 281 | { | - |
| 282 | m_tmp = m_data[a]; | - |
| 283 | m_data[a] = m_data[b]; | - |
| 284 | m_data[b] = m_tmp; | - |
| 285 | m_lookups[m_data[a].time] = a; | - |
| 286 | m_lookups[m_data[b].time] = b; | - |
| 287 | }executed 91286 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 91286 |
| 288 | | - |
| 289 | void QQuickParticleDataHeap::bubbleUp(int idx) | - |
| 290 | { | - |
| 291 | if (!idx)| TRUE | evaluated 88 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 54184 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 88-54184 |
| 292 | return;executed 88 times by 23 tests: return;Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 88 |
| 293 | int parent = (idx-1)/2; | - |
| 294 | if (m_data[idx].time < m_data[parent].time) {| TRUE | never evaluated | | FALSE | evaluated 54184 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-54184 |
| 295 | swap(idx, parent); | - |
| 296 | bubbleUp(parent); | - |
| 297 | } never executed: end of block | 0 |
| 298 | }executed 54184 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 54184 |
| 299 | | - |
| 300 | void QQuickParticleDataHeap::bubbleDown(int idx) | - |
| 301 | { | - |
| 302 | int left = idx*2 + 1; | - |
| 303 | if (left >= m_end)| TRUE | evaluated 11952 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 91342 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 11952-91342 |
| 304 | return;executed 11952 times by 23 tests: return;Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 11952 |
| 305 | int lesser = left; | - |
| 306 | int right = idx*2 + 2; | - |
| 307 | if (right < m_end) {| TRUE | evaluated 91284 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 58 times by 9 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickfriction
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquickparticlegroup
- tst_qquickturbulence
|
| 58-91284 |
| 308 | if (m_data[left].time > m_data[right].time)| TRUE | evaluated 34856 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 56428 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 34856-56428 |
| 309 | lesser = right;executed 34856 times by 23 tests: lesser = right;Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 34856 |
| 310 | }executed 91284 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 91284 |
| 311 | if (m_data[idx].time > m_data[lesser].time) {| TRUE | evaluated 91286 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 56 times by 1 test |
| 56-91286 |
| 312 | swap(idx, lesser); | - |
| 313 | bubbleDown(lesser); | - |
| 314 | }executed 91286 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 91286 |
| 315 | }executed 91342 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 91342 |
| 316 | | - |
| 317 | QQuickParticleGroupData::QQuickParticleGroupData(const QString &name, QQuickParticleSystem* sys) | - |
| 318 | : index(sys->registerParticleGroupData(name, this)) | - |
| 319 | , m_size(0) | - |
| 320 | , m_system(sys) | - |
| 321 | { | - |
| 322 | initList(); | - |
| 323 | }executed 260 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 260 |
| 324 | | - |
| 325 | QQuickParticleGroupData::~QQuickParticleGroupData() | - |
| 326 | { | - |
| 327 | foreach (QQuickParticleData* d, data)| TRUE | evaluated 159899 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 159899 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 160159 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 159899 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 260 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-160159 |
| 328 | delete d;executed 159899 times by 24 tests: delete d;Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 159899 |
| 329 | }executed 260 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 260 |
| 330 | | - |
| 331 | QString QQuickParticleGroupData::name() | - |
| 332 | { | - |
| 333 | return m_system->groupIds.key(index);executed 28 times by 2 tests: return m_system->groupIds.key(index);Executed by:- tst_examples
- tst_qquickparticlegroup
| 28 |
| 334 | } | - |
| 335 | | - |
| 336 | void QQuickParticleGroupData::setSize(int newSize) | - |
| 337 | { | - |
| 338 | if (newSize == m_size)| TRUE | evaluated 108 times by 5 testsEvaluated by:- tst_examples
- tst_qquickgroupgoal
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquicktrailemitter
| | FALSE | evaluated 470 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 108-470 |
| 339 | return;executed 108 times by 5 tests: return;Executed by:- tst_examples
- tst_qquickgroupgoal
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquicktrailemitter
| 108 |
| 340 | Q_ASSERT(newSize > m_size); | - |
| 341 | data.resize(newSize); | - |
| 342 | freeList.resize(newSize); | - |
| 343 | for (int i=m_size; i<newSize; i++) {| TRUE | evaluated 159899 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 470 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 470-159899 |
| 344 | data[i] = new QQuickParticleData; | - |
| 345 | data[i]->groupId = index; | - |
| 346 | data[i]->index = i; | - |
| 347 | }executed 159899 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 159899 |
| 348 | int delta = newSize - m_size; | - |
| 349 | m_size = newSize; | - |
| 350 | foreach (QQuickParticlePainter* p, painters)| TRUE | evaluated 262 times by 5 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickgroupgoal
- tst_qquickparticlegroup
- tst_qquicktrailemitter
| | FALSE | evaluated 262 times by 5 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickgroupgoal
- tst_qquickparticlegroup
- tst_qquicktrailemitter
|
| TRUE | evaluated 732 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 262 times by 5 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickgroupgoal
- tst_qquickparticlegroup
- tst_qquicktrailemitter
| | FALSE | evaluated 470 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-732 |
| 351 | p->setCount(p->count() + delta);executed 262 times by 5 tests: p->setCount(p->count() + delta);Executed by:- tst_examples
- tst_qquickage
- tst_qquickgroupgoal
- tst_qquickparticlegroup
- tst_qquicktrailemitter
| 262 |
| 352 | }executed 470 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 470 |
| 353 | | - |
| 354 | void QQuickParticleGroupData::initList() | - |
| 355 | { | - |
| 356 | dataHeap.clear(); | - |
| 357 | }executed 260 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 260 |
| 358 | | - |
| 359 | void QQuickParticleGroupData::kill(QQuickParticleData* d) | - |
| 360 | { | - |
| 361 | Q_ASSERT(d->groupId == index); | - |
| 362 | d->lifeSpan = 0; | - |
| 363 | foreach (QQuickParticlePainter* p, painters)| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | evaluated 2656 times by 2 testsEvaluated by:- tst_qquickgroupgoal
- tst_qquickparticlegroup
| | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | evaluated 2656 times by 2 testsEvaluated by:- tst_qquickgroupgoal
- tst_qquickparticlegroup
|
| 0-2656 |
| 364 | p->reload(d); never executed: p->reload(d); | 0 |
| 365 | freeList.free(d->index); | - |
| 366 | }executed 2656 times by 2 tests: end of blockExecuted by:- tst_qquickgroupgoal
- tst_qquickparticlegroup
| 2656 |
| 367 | | - |
| 368 | QQuickParticleData* QQuickParticleGroupData::newDatum(bool respectsLimits) | - |
| 369 | { | - |
| 370 | | - |
| 371 | | - |
| 372 | while (freeList.hasUnusedEntries()) {| TRUE | evaluated 54060 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 226 times by 3 testsEvaluated by:- tst_qquickage
- tst_qquickgroupgoal
- tst_qquickparticlegroup
|
| 226-54060 |
| 373 | int idx = freeList.alloc(); | - |
| 374 | if (data[idx]->stillAlive(m_system)) {| TRUE | never evaluated | | FALSE | evaluated 54060 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-54060 |
| 375 | prepareRecycler(data[idx]); | - |
| 376 | continue; never executed: continue; | 0 |
| 377 | } | - |
| 378 | return data[idx];executed 54060 times by 23 tests: return data[idx];Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 54060 |
| 379 | } | - |
| 380 | if (respectsLimits)| TRUE | never evaluated | | FALSE | evaluated 226 times by 3 testsEvaluated by:- tst_qquickage
- tst_qquickgroupgoal
- tst_qquickparticlegroup
|
| 0-226 |
| 381 | return nullptr; never executed: return nullptr; | 0 |
| 382 | | - |
| 383 | int oldSize = m_size; | - |
| 384 | setSize(oldSize + 10); | - |
| 385 | int idx = freeList.alloc(); | - |
| 386 | Q_ASSERT(idx == oldSize); | - |
| 387 | return data[idx];executed 226 times by 3 tests: return data[idx];Executed by:- tst_qquickage
- tst_qquickgroupgoal
- tst_qquickparticlegroup
| 226 |
| 388 | } | - |
| 389 | | - |
| 390 | bool QQuickParticleGroupData::recycle() | - |
| 391 | { | - |
| 392 | while (dataHeap.top() <= m_system->timeInt) {| TRUE | evaluated 12008 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 3483 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 3483-12008 |
| 393 | foreach (QQuickParticleData* datum, dataHeap.pop()) {| TRUE | evaluated 12098 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 12098 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 24106 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 12098 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 12008 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-24106 |
| 394 | if (!datum->stillAlive(m_system)) {| TRUE | evaluated 11364 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 734 times by 2 testsEvaluated by:- tst_qquickage
- tst_qquickparticlegroup
|
| 734-11364 |
| 395 | freeList.free(datum->index); | - |
| 396 | } else {executed 11364 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 11364 |
| 397 | prepareRecycler(datum); | - |
| 398 | }executed 734 times by 2 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickparticlegroup
| 734 |
| 399 | } | - |
| 400 | }executed 12008 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 12008 |
| 401 | | - |
| 402 | | - |
| 403 | return freeList.count() == 0;executed 3483 times by 23 tests: return freeList.count() == 0;Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 3483 |
| 404 | } | - |
| 405 | | - |
| 406 | void QQuickParticleGroupData::prepareRecycler(QQuickParticleData* d) | - |
| 407 | { | - |
| 408 | if (d->lifeSpan*1000 < m_system->maxLife) {| TRUE | evaluated 56202 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| 0-56202 |
| 409 | dataHeap.insert(d); | - |
| 410 | } else {executed 56202 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 56202 |
| 411 | while ((roundedTime(d->t) + 2*m_system->maxLife/3) <= m_system->timeInt)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 412 | d->extendLife(m_system->maxLife / 3000.0, m_system); never executed: d->extendLife(m_system->maxLife / 3000.0, m_system); | 0 |
| 413 | dataHeap.insertTimed(d, roundedTime(d->t) + 2*m_system->maxLife/3); | - |
| 414 | } never executed: end of block | 0 |
| 415 | } | - |
| 416 | | - |
| 417 | QQuickParticleData::QQuickParticleData() | - |
| 418 | : index(0) | - |
| 419 | , systemIndex(-1) | - |
| 420 | , groupId(0) | - |
| 421 | , colorOwner(nullptr) | - |
| 422 | , rotationOwner(nullptr) | - |
| 423 | , deformationOwner(nullptr) | - |
| 424 | , animationOwner(nullptr) | - |
| 425 | , v8Datum(nullptr) | - |
| 426 | { | - |
| 427 | x = 0; | - |
| 428 | y = 0; | - |
| 429 | t = -1; | - |
| 430 | lifeSpan = 0; | - |
| 431 | size = 0; | - |
| 432 | endSize = 0; | - |
| 433 | vx = 0; | - |
| 434 | vy = 0; | - |
| 435 | ax = 0; | - |
| 436 | ay = 0; | - |
| 437 | xx = 1; | - |
| 438 | xy = 0; | - |
| 439 | yx = 0; | - |
| 440 | yy = 1; | - |
| 441 | rotation = 0; | - |
| 442 | rotationVelocity = 0; | - |
| 443 | autoRotate = 0; | - |
| 444 | animIdx = 0; | - |
| 445 | frameDuration = 1; | - |
| 446 | frameAt = -1; | - |
| 447 | frameCount = 1; | - |
| 448 | animT = -1; | - |
| 449 | animX = 0; | - |
| 450 | animY = 0; | - |
| 451 | animWidth = 1; | - |
| 452 | animHeight = 1; | - |
| 453 | color.r = 255; | - |
| 454 | color.g = 255; | - |
| 455 | color.b = 255; | - |
| 456 | color.a = 255; | - |
| 457 | r = 0; | - |
| 458 | delegate = nullptr; | - |
| 459 | modelIndex = -1; | - |
| 460 | }executed 160899 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 160899 |
| 461 | | - |
| 462 | QQuickParticleData::~QQuickParticleData() | - |
| 463 | { | - |
| 464 | delete v8Datum; | - |
| 465 | }executed 160899 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 160899 |
| 466 | | - |
| 467 | QQuickParticleData::QQuickParticleData(const QQuickParticleData &other) | - |
| 468 | { | - |
| 469 | *this = other; | - |
| 470 | } never executed: end of block | 0 |
| 471 | | - |
| 472 | QQuickParticleData &QQuickParticleData::operator=(const QQuickParticleData &other) | - |
| 473 | { | - |
| 474 | clone(other); | - |
| 475 | | - |
| 476 | groupId = other.groupId; | - |
| 477 | index = other.index; | - |
| 478 | systemIndex = other.systemIndex; | - |
| 479 | | - |
| 480 | v8Datum = nullptr; | - |
| 481 | | - |
| 482 | return *this;executed 1000 times by 1 test: return *this; | 1000 |
| 483 | } | - |
| 484 | | - |
| 485 | void QQuickParticleData::clone(const QQuickParticleData& other) | - |
| 486 | { | - |
| 487 | x = other.x; | - |
| 488 | y = other.y; | - |
| 489 | t = other.t; | - |
| 490 | lifeSpan = other.lifeSpan; | - |
| 491 | size = other.size; | - |
| 492 | endSize = other.endSize; | - |
| 493 | vx = other.vx; | - |
| 494 | vy = other.vy; | - |
| 495 | ax = other.ax; | - |
| 496 | ay = other.ay; | - |
| 497 | xx = other.xx; | - |
| 498 | xy = other.xy; | - |
| 499 | yx = other.yx; | - |
| 500 | yy = other.yy; | - |
| 501 | rotation = other.rotation; | - |
| 502 | rotationVelocity = other.rotationVelocity; | - |
| 503 | autoRotate = other.autoRotate; | - |
| 504 | animIdx = other.animIdx; | - |
| 505 | frameDuration = other.frameDuration; | - |
| 506 | frameCount = other.frameCount; | - |
| 507 | animT = other.animT; | - |
| 508 | animX = other.animX; | - |
| 509 | animY = other.animY; | - |
| 510 | animWidth = other.animWidth; | - |
| 511 | animHeight = other.animHeight; | - |
| 512 | color.r = other.color.r; | - |
| 513 | color.g = other.color.g; | - |
| 514 | color.b = other.color.b; | - |
| 515 | color.a = other.color.a; | - |
| 516 | r = other.r; | - |
| 517 | delegate = other.delegate; | - |
| 518 | modelIndex = other.modelIndex; | - |
| 519 | | - |
| 520 | colorOwner = other.colorOwner; | - |
| 521 | rotationOwner = other.rotationOwner; | - |
| 522 | deformationOwner = other.deformationOwner; | - |
| 523 | animationOwner = other.animationOwner; | - |
| 524 | }executed 3656 times by 3 tests: end of blockExecuted by:- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickparticlegroup
| 3656 |
| 525 | | - |
| 526 | QQmlV4Handle QQuickParticleData::v4Value(QQuickParticleSystem* particleSystem) | - |
| 527 | { | - |
| 528 | if (!v8Datum)| TRUE | evaluated 998 times by 1 test | | FALSE | evaluated 234 times by 1 test |
| 234-998 |
| 529 | v8Datum = new QQuickV4ParticleData(qmlEngine(particleSystem)->handle(), this, particleSystem);executed 998 times by 1 test: v8Datum = new QQuickV4ParticleData(qmlEngine(particleSystem)->handle(), this, particleSystem); | 998 |
| 530 | return v8Datum->v4Value();executed 1232 times by 1 test: return v8Datum->v4Value(); | 1232 |
| 531 | } | - |
| 532 | | - |
| 533 | void QQuickParticleData::debugDump(QQuickParticleSystem* particleSystem) const | - |
| 534 | { | - |
| 535 | qDebug() << "Particle" << systemIndex << groupId << "/" << index << stillAlive(particleSystem) | - |
| 536 | << "Pos: " << x << "," << y | - |
| 537 | << "Vel: " << vx << "," << vy | - |
| 538 | << "Acc: " << ax << "," << ay | - |
| 539 | << "Size: " << size << "," << endSize | - |
| 540 | << "Time: " << t << "," <<lifeSpan << ";" << (particleSystem->timeInt / 1000.0) ; | - |
| 541 | } never executed: end of block | 0 |
| 542 | | - |
| 543 | void QQuickParticleData::extendLife(float time, QQuickParticleSystem* particleSystem) | - |
| 544 | { | - |
| 545 | qreal newX = curX(particleSystem); | - |
| 546 | qreal newY = curY(particleSystem); | - |
| 547 | qreal newVX = curVX(particleSystem); | - |
| 548 | qreal newVY = curVY(particleSystem); | - |
| 549 | | - |
| 550 | t += time; | - |
| 551 | animT += time; | - |
| 552 | | - |
| 553 | qreal elapsed = (particleSystem->timeInt / 1000.0) - t; | - |
| 554 | qreal evy = newVY - elapsed*ay; | - |
| 555 | qreal ey = newY - elapsed*evy - 0.5 * elapsed*elapsed*ay; | - |
| 556 | qreal evx = newVX - elapsed*ax; | - |
| 557 | qreal ex = newX - elapsed*evx - 0.5 * elapsed*elapsed*ax; | - |
| 558 | | - |
| 559 | x = ex; | - |
| 560 | vx = evx; | - |
| 561 | y = ey; | - |
| 562 | vy = evy; | - |
| 563 | } never executed: end of block | 0 |
| 564 | | - |
| 565 | QQuickParticleSystem::QQuickParticleSystem(QQuickItem *parent) : | - |
| 566 | QQuickItem(parent), | - |
| 567 | stateEngine(nullptr), | - |
| 568 | nextFreeGroupId(0), | - |
| 569 | m_animation(nullptr), | - |
| 570 | m_running(true), | - |
| 571 | initialized(0), | - |
| 572 | particleCount(0), | - |
| 573 | m_nextIndex(0), | - |
| 574 | m_componentComplete(false), | - |
| 575 | m_paused(false), | - |
| 576 | m_empty(true) | - |
| 577 | { | - |
| 578 | m_debugMode = qmlParticlesDebug(); | - |
| 579 | }executed 166 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 166 |
| 580 | | - |
| 581 | QQuickParticleSystem::~QQuickParticleSystem() | - |
| 582 | { | - |
| 583 | foreach (QQuickParticleGroupData* gd, groupData)| TRUE | evaluated 260 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 260 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 426 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 260 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 166 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-426 |
| 584 | delete gd;executed 260 times by 24 tests: delete gd;Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 260 |
| 585 | }executed 166 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 166 |
| 586 | | - |
| 587 | void QQuickParticleSystem::initGroups() | - |
| 588 | { | - |
| 589 | m_reusableIndexes.clear(); | - |
| 590 | m_nextIndex = 0; | - |
| 591 | | - |
| 592 | qDeleteAll(groupData); | - |
| 593 | groupData.clear(); | - |
| 594 | groupIds.clear(); | - |
| 595 | nextFreeGroupId = 0; | - |
| 596 | | - |
| 597 | for (auto e : qAsConst(m_emitters)) { | - |
| 598 | e->reclaculateGroupId(); | - |
| 599 | }executed 244 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 244 |
| 600 | foreach (QQuickParticlePainter *p, m_painters) {| TRUE | evaluated 218 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 218 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 384 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 218 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 166 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-384 |
| 601 | p->recalculateGroupIds(); | - |
| 602 | }executed 218 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 218 |
| 603 | | - |
| 604 | QQuickParticleGroupData *pd = new QQuickParticleGroupData(QString(), this); | - |
| 605 | Q_ASSERT(pd->index == 0); | - |
| 606 | Q_UNUSED(pd); | - |
| 607 | }executed 166 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 166 |
| 608 | | - |
| 609 | void QQuickParticleSystem::registerParticlePainter(QQuickParticlePainter* p) | - |
| 610 | { | - |
| 611 | if (m_debugMode)| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 208 times by 23 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 12-208 |
| 612 | qDebug() << "Registering Painter" << p << "to" << this;executed 12 times by 1 test: QMessageLogger(__FILE__, 612, __PRETTY_FUNCTION__).debug() << "Registering Painter" << p << "to" << this; | 12 |
| 613 | | - |
| 614 | m_painters << QPointer<QQuickParticlePainter>(p); | - |
| 615 | | - |
| 616 | connect(p, &QQuickParticlePainter::groupsChanged, this, [this, p] { this->loadPainter(p); }, Qt::QueuedConnection);executed 144 times by 19 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquickturbulence
- tst_qquickwander
| 144 |
| 617 | loadPainter(p); | - |
| 618 | }executed 220 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 220 |
| 619 | | - |
| 620 | void QQuickParticleSystem::registerParticleEmitter(QQuickParticleEmitter* e) | - |
| 621 | { | - |
| 622 | if (m_debugMode)| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 264 times by 23 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 12-264 |
| 623 | qDebug() << "Registering Emitter" << e << "to" << this;executed 12 times by 1 test: QMessageLogger(__FILE__, 623, __PRETTY_FUNCTION__).debug() << "Registering Emitter" << e << "to" << this; | 12 |
| 624 | m_emitters << QPointer<QQuickParticleEmitter>(e); | - |
| 625 | }executed 276 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 276 |
| 626 | | - |
| 627 | void QQuickParticleSystem::finishRegisteringParticleEmitter(QQuickParticleEmitter* e) | - |
| 628 | { | - |
| 629 | connect(e, SIGNAL(particleCountChanged()), | - |
| 630 | this, SLOT(emittersChanged())); | - |
| 631 | connect(e, SIGNAL(groupChanged(QString)), | - |
| 632 | this, SLOT(emittersChanged())); | - |
| 633 | if (m_componentComplete)| TRUE | evaluated 40 times by 1 test | | FALSE | evaluated 236 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 40-236 |
| 634 | emittersChanged();executed 40 times by 1 test: emittersChanged(); | 40 |
| 635 | e->reset(); | - |
| 636 | }executed 276 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 276 |
| 637 | | - |
| 638 | void QQuickParticleSystem::registerParticleAffector(QQuickParticleAffector* a) | - |
| 639 | { | - |
| 640 | if (m_debugMode)| TRUE | never evaluated | | FALSE | evaluated 94 times by 11 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
|
| 0-94 |
| 641 | qDebug() << "Registering Affector" << a << "to" << this; never executed: QMessageLogger(__FILE__, 641, __PRETTY_FUNCTION__).debug() << "Registering Affector" << a << "to" << this; | 0 |
| 642 | m_affectors << QPointer<QQuickParticleAffector>(a); | - |
| 643 | }executed 94 times by 11 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| 94 |
| 644 | | - |
| 645 | void QQuickParticleSystem::registerParticleGroup(QQuickParticleGroup* g) | - |
| 646 | { | - |
| 647 | if (m_debugMode)| TRUE | never evaluated | | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
|
| 0-14 |
| 648 | qDebug() << "Registering Group" << g << "to" << this; never executed: QMessageLogger(__FILE__, 648, __PRETTY_FUNCTION__).debug() << "Registering Group" << g << "to" << this; | 0 |
| 649 | m_groups << QPointer<QQuickParticleGroup>(g); | - |
| 650 | createEngine(); | - |
| 651 | }executed 14 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickparticlegroup
| 14 |
| 652 | | - |
| 653 | void QQuickParticleSystem::setRunning(bool arg) | - |
| 654 | { | - |
| 655 | if (m_running != arg) {| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlesystem
| | FALSE | evaluated 2 times by 1 test |
| 2-6 |
| 656 | m_running = arg; | - |
| 657 | emit runningChanged(arg); | - |
| 658 | setPaused(false); | - |
| 659 | if (m_animation)| TRUE | never evaluated | | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlesystem
|
| 0-6 |
| 660 | m_running ? m_animation->start() : m_animation->stop(); never executed: m_running ? m_animation->start() : m_animation->stop(); | 0 |
| 661 | reset(); | - |
| 662 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickparticlesystem
| 6 |
| 663 | }executed 8 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickparticlesystem
| 8 |
| 664 | | - |
| 665 | void QQuickParticleSystem::setPaused(bool arg) { | - |
| 666 | if (m_paused != arg) {| TRUE | never evaluated | | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlesystem
|
| 0-6 |
| 667 | m_paused = arg; | - |
| 668 | if (m_animation && m_animation->state() != QAbstractAnimation::Stopped)| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 669 | m_paused ? m_animation->pause() : m_animation->resume(); never executed: m_paused ? m_animation->pause() : m_animation->resume(); | 0 |
| 670 | if (!m_paused) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 671 | foreach (QQuickParticlePainter *p, m_painters) {| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 672 | if (p) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 673 | p->update(); | - |
| 674 | } never executed: end of block | 0 |
| 675 | } never executed: end of block | 0 |
| 676 | } never executed: end of block | 0 |
| 677 | emit pausedChanged(arg); | - |
| 678 | } never executed: end of block | 0 |
| 679 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickparticlesystem
| 6 |
| 680 | | - |
| 681 | void QQuickParticleSystem::statePropertyRedirect(QQmlListProperty<QObject> *prop, QObject *value) | - |
| 682 | { | - |
| 683 | | - |
| 684 | QQuickParticleSystem* sys = qobject_cast<QQuickParticleSystem*>(prop->object->parent()); | - |
| 685 | QQuickParticleGroup* group = qobject_cast<QQuickParticleGroup*>(prop->object); | - |
| 686 | if (!group || !sys || !value)| TRUE | never evaluated | | FALSE | evaluated 12 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 12 times by 1 test |
| TRUE | never evaluated | | FALSE | evaluated 12 times by 1 test |
| 0-12 |
| 687 | return; never executed: return; | 0 |
| 688 | stateRedirect(group, sys, value); | - |
| 689 | }executed 12 times by 1 test: end of block | 12 |
| 690 | | - |
| 691 | void QQuickParticleSystem::stateRedirect(QQuickParticleGroup* group, QQuickParticleSystem* sys, QObject *value) | - |
| 692 | { | - |
| 693 | QStringList list; | - |
| 694 | list << group->name(); | - |
| 695 | QQuickParticleAffector* a = qobject_cast<QQuickParticleAffector*>(value); | - |
| 696 | if (a) {| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 8 times by 1 test |
| 4-8 |
| 697 | a->setParentItem(sys); | - |
| 698 | a->setGroups(list); | - |
| 699 | a->setSystem(sys); | - |
| 700 | return;executed 4 times by 1 test: return; | 4 |
| 701 | } | - |
| 702 | QQuickTrailEmitter* fe = qobject_cast<QQuickTrailEmitter*>(value); | - |
| 703 | if (fe) {| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 2 times by 1 test |
| 2-6 |
| 704 | fe->setParentItem(sys); | - |
| 705 | fe->setFollow(group->name()); | - |
| 706 | fe->setSystem(sys); | - |
| 707 | return;executed 6 times by 1 test: return; | 6 |
| 708 | } | - |
| 709 | QQuickParticleEmitter* e = qobject_cast<QQuickParticleEmitter*>(value); | - |
| 710 | if (e) {| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
| 0-2 |
| 711 | e->setParentItem(sys); | - |
| 712 | e->setGroup(group->name()); | - |
| 713 | e->setSystem(sys); | - |
| 714 | return; never executed: return; | 0 |
| 715 | } | - |
| 716 | QQuickParticlePainter* p = qobject_cast<QQuickParticlePainter*>(value); | - |
| 717 | if (p) {| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
| 0-2 |
| 718 | p->setParentItem(sys); | - |
| 719 | p->setGroups(list); | - |
| 720 | p->setSystem(sys); | - |
| 721 | return;executed 2 times by 1 test: return; | 2 |
| 722 | } | - |
| 723 | qWarning() << value << " was placed inside a particle system state but cannot be taken into the particle system. It will be lost."; | - |
| 724 | } never executed: end of block | 0 |
| 725 | | - |
| 726 | | - |
| 727 | int QQuickParticleSystem::registerParticleGroupData(const QString &name, QQuickParticleGroupData *pgd) | - |
| 728 | { | - |
| 729 | Q_ASSERT(!groupIds.contains(name)); | - |
| 730 | int id; | - |
| 731 | if (nextFreeGroupId >= groupData.size()) {| TRUE | evaluated 260 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| 0-260 |
| 732 | groupData.push_back(pgd); | - |
| 733 | nextFreeGroupId = groupData.size(); | - |
| 734 | id = nextFreeGroupId - 1; | - |
| 735 | } else {executed 260 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 260 |
| 736 | id = nextFreeGroupId; | - |
| 737 | groupData[id] = pgd; | - |
| 738 | searchNextFreeGroupId(); | - |
| 739 | } never executed: end of block | 0 |
| 740 | groupIds.insert(name, id); | - |
| 741 | return id;executed 260 times by 24 tests: return id;Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 260 |
| 742 | } | - |
| 743 | | - |
| 744 | void QQuickParticleSystem::searchNextFreeGroupId() | - |
| 745 | { | - |
| 746 | ++nextFreeGroupId; | - |
| 747 | for (int ei = groupData.size(); nextFreeGroupId != ei; ++nextFreeGroupId) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 748 | if (groupData[nextFreeGroupId] == nullptr) {| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 749 | return; never executed: return; | 0 |
| 750 | } | - |
| 751 | } never executed: end of block | 0 |
| 752 | } never executed: end of block | 0 |
| 753 | | - |
| 754 | void QQuickParticleSystem::componentComplete() | - |
| 755 | | - |
| 756 | { | - |
| 757 | QQuickItem::componentComplete(); | - |
| 758 | m_componentComplete = true; | - |
| 759 | m_animation = new QQuickParticleSystemAnimation(this); | - |
| 760 | reset(); | - |
| 761 | }executed 166 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 166 |
| 762 | | - |
| 763 | void QQuickParticleSystem::reset() | - |
| 764 | { | - |
| 765 | if (!m_componentComplete)| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlesystem
| | FALSE | evaluated 166 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 6-166 |
| 766 | return;executed 6 times by 2 tests: return;Executed by:- tst_examples
- tst_qquickparticlesystem
| 6 |
| 767 | | - |
| 768 | timeInt = 0; | - |
| 769 | | - |
| 770 | int cleared = 0; | - |
| 771 | cleared += m_emitters.removeAll(nullptr); | - |
| 772 | cleared += m_painters.removeAll(nullptr); | - |
| 773 | cleared += m_affectors.removeAll(nullptr); | - |
| 774 | | - |
| 775 | bySysIdx.resize(0); | - |
| 776 | initGroups(); | - |
| 777 | | - |
| 778 | if (!m_running)| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlesystem
| | FALSE | evaluated 160 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 6-160 |
| 779 | return;executed 6 times by 2 tests: return;Executed by:- tst_examples
- tst_qquickparticlesystem
| 6 |
| 780 | | - |
| 781 | foreach (QQuickParticleEmitter* e, m_emitters)| TRUE | evaluated 232 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 232 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 392 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 232 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 160 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-392 |
| 782 | e->reset();executed 232 times by 24 tests: e->reset();Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 232 |
| 783 | | - |
| 784 | emittersChanged(); | - |
| 785 | | - |
| 786 | foreach (QQuickParticlePainter *p, m_painters) {| TRUE | evaluated 208 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 208 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 368 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 208 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 160 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-368 |
| 787 | loadPainter(p); | - |
| 788 | p->reset(); | - |
| 789 | }executed 208 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 208 |
| 790 | | - |
| 791 | | - |
| 792 | if (m_animation) {| TRUE | evaluated 160 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| 0-160 |
| 793 | | - |
| 794 | if ((m_animation->state() == QAbstractAnimation::Running))| TRUE | never evaluated | | FALSE | evaluated 160 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-160 |
| 795 | m_animation->stop(); never executed: m_animation->stop(); | 0 |
| 796 | m_animation->start(); | - |
| 797 | if (m_paused)| TRUE | never evaluated | | FALSE | evaluated 160 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-160 |
| 798 | m_animation->pause(); never executed: m_animation->pause(); | 0 |
| 799 | }executed 160 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 160 |
| 800 | | - |
| 801 | initialized = true; | - |
| 802 | }executed 160 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 160 |
| 803 | | - |
| 804 | | - |
| 805 | void QQuickParticleSystem::loadPainter(QQuickParticlePainter *painter) | - |
| 806 | { | - |
| 807 | if (!m_componentComplete || !painter)| TRUE | evaluated 218 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 686 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | never evaluated | | FALSE | evaluated 686 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-686 |
| 808 | return;executed 218 times by 24 tests: return;Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 218 |
| 809 | | - |
| 810 | for (QQuickParticleGroupData* sg : groupData) { | - |
| 811 | sg->painters.removeOne(painter); | - |
| 812 | }executed 1646 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 1646 |
| 813 | | - |
| 814 | int particleCount = 0; | - |
| 815 | if (painter->groups().isEmpty()) {| TRUE | evaluated 130 times by 19 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 556 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 130-556 |
| 816 | static QStringList def = QStringList() << QString(); | - |
| 817 | painter->setGroups(def); | - |
| 818 | particleCount += groupData[0]->size(); | - |
| 819 | groupData[0]->painters << painter; | - |
| 820 | } else {executed 130 times by 19 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquickturbulence
- tst_qquickwander
| 130 |
| 821 | for (auto groupId : painter->groupIds()) { | - |
| 822 | QQuickParticleGroupData *gd = groupData[groupId]; | - |
| 823 | particleCount += gd->size(); | - |
| 824 | gd->painters << painter; | - |
| 825 | }executed 562 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 562 |
| 826 | }executed 556 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 556 |
| 827 | painter->setCount(particleCount); | - |
| 828 | painter->update(); | - |
| 829 | return;executed 686 times by 24 tests: return;Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 686 |
| 830 | } | - |
| 831 | | - |
| 832 | void QQuickParticleSystem::emittersChanged() | - |
| 833 | { | - |
| 834 | if (!m_componentComplete)| TRUE | never evaluated | | FALSE | evaluated 222 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-222 |
| 835 | return; never executed: return; | 0 |
| 836 | | - |
| 837 | QVector<int> previousSizes; | - |
| 838 | QVector<int> newSizes; | - |
| 839 | previousSizes.reserve(groupData.size()); | - |
| 840 | newSizes.reserve(groupData.size()); | - |
| 841 | for (int i = 0, ei = groupData.size(); i != ei; ++i) {| TRUE | evaluated 266 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 222 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 222-266 |
| 842 | previousSizes << groupData[i]->size(); | - |
| 843 | newSizes << 0; | - |
| 844 | }executed 266 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 266 |
| 845 | | - |
| 846 | | - |
| 847 | for (int i = 0; i < m_emitters.count(); ) {| TRUE | evaluated 752 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 222 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 222-752 |
| 848 | QQuickParticleEmitter *e = m_emitters.at(i); | - |
| 849 | if (!e) {| TRUE | never evaluated | | FALSE | evaluated 752 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-752 |
| 850 | m_emitters.removeAt(i); | - |
| 851 | continue; never executed: continue; | 0 |
| 852 | } | - |
| 853 | | - |
| 854 | int groupId = e->groupId(); | - |
| 855 | if (groupId == QQuickParticleGroupData::InvalidID) {| TRUE | evaluated 86 times by 8 testsEvaluated by:- tst_examples
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgroupgoal
- tst_qquicklineextruder
- tst_qquickparticlegroup
- tst_qquickrectangleextruder
- tst_qquicktrailemitter
| | FALSE | evaluated 666 times by 22 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 86-666 |
| 856 | groupId = (new QQuickParticleGroupData(e->group(), this))->index; | - |
| 857 | previousSizes << 0; | - |
| 858 | newSizes << 0; | - |
| 859 | }executed 86 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgroupgoal
- tst_qquicklineextruder
- tst_qquickparticlegroup
- tst_qquickrectangleextruder
- tst_qquicktrailemitter
| 86 |
| 860 | newSizes[groupId] += e->particleCount(); | - |
| 861 | | - |
| 862 | | - |
| 863 | ++i; | - |
| 864 | }executed 752 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 752 |
| 865 | | - |
| 866 | | - |
| 867 | particleCount = 0; | - |
| 868 | for (int i = 0, ei = groupData.size(); i != ei; ++i) {| TRUE | evaluated 352 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 222 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 222-352 |
| 869 | groupData[i]->setSize(qMax(newSizes[i], previousSizes[i])); | - |
| 870 | particleCount += groupData[i]->size(); | - |
| 871 | }executed 352 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 352 |
| 872 | | - |
| 873 | if (m_debugMode)| TRUE | evaluated 12 times by 1 test | | FALSE | evaluated 210 times by 23 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 12-210 |
| 874 | qDebug() << "Particle system emitters changed. New particle count: " << particleCount << "in" << groupData.size() << "groups.";executed 12 times by 1 test: QMessageLogger(__FILE__, 874, __PRETTY_FUNCTION__).debug() << "Particle system emitters changed. New particle count: " << particleCount << "in" << groupData.size() << "groups."; | 12 |
| 875 | | - |
| 876 | if (particleCount > bySysIdx.size())| TRUE | evaluated 192 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 30 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlesystem
|
| 30-192 |
| 877 | bySysIdx.resize(particleCount);executed 192 times by 24 tests: bySysIdx.resize(particleCount);Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 192 |
| 878 | | - |
| 879 | foreach (QQuickParticleAffector *a, m_affectors) {| TRUE | evaluated 90 times by 11 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 90 times by 11 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 312 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 90 times by 11 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 222 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-312 |
| 880 | if (a) {| TRUE | evaluated 88 times by 10 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 2 times by 1 test |
| 2-88 |
| 881 | a->m_updateIntSet = true; | - |
| 882 | }executed 88 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| 88 |
| 883 | }executed 90 times by 11 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| 90 |
| 884 | | - |
| 885 | foreach (QQuickParticlePainter *p, m_painters)| TRUE | evaluated 332 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 332 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 554 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 332 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 222 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-554 |
| 886 | loadPainter(p);executed 332 times by 24 tests: loadPainter(p);Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 332 |
| 887 | | - |
| 888 | if (!m_groups.isEmpty())| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | evaluated 216 times by 23 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 6-216 |
| 889 | createEngine();executed 6 times by 2 tests: createEngine();Executed by:- tst_examples
- tst_qquickparticlegroup
| 6 |
| 890 | | - |
| 891 | }executed 222 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 222 |
| 892 | | - |
| 893 | void QQuickParticleSystem::createEngine() | - |
| 894 | { | - |
| 895 | if (!m_componentComplete)| TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
|
| 6-14 |
| 896 | return;executed 14 times by 2 tests: return;Executed by:- tst_examples
- tst_qquickparticlegroup
| 14 |
| 897 | if (stateEngine && m_debugMode)| TRUE | never evaluated | | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
|
| TRUE | never evaluated | | FALSE | never evaluated |
| 0-6 |
| 898 | qDebug() << "Resetting Existing Sprite Engine..."; never executed: QMessageLogger(__FILE__, 898, __PRETTY_FUNCTION__).debug() << "Resetting Existing Sprite Engine..."; | 0 |
| 899 | | - |
| 900 | foreach (QQuickParticleGroup* group, m_groups) {| TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
|
| TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | never evaluated |
| TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
|
| 0-20 |
| 901 | bool exists = false; | - |
| 902 | for (auto it = groupIds.keyBegin(), end = groupIds.keyEnd(); it != end; ++it) {| TRUE | evaluated 62 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | evaluated 8 times by 1 test |
| 8-62 |
| 903 | if (group->name() == *it) {| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | evaluated 56 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
|
| 6-56 |
| 904 | exists = true; | - |
| 905 | break;executed 6 times by 2 tests: break;Executed by:- tst_examples
- tst_qquickparticlegroup
| 6 |
| 906 | } | - |
| 907 | }executed 56 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickparticlegroup
| 56 |
| 908 | if (!exists) {| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
|
| 6-8 |
| 909 | new QQuickParticleGroupData(group->name(), this); | - |
| 910 | }executed 8 times by 1 test: end of block | 8 |
| 911 | }executed 14 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickparticlegroup
| 14 |
| 912 | | - |
| 913 | if (m_groups.count()) {| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | never evaluated |
| 0-6 |
| 914 | | - |
| 915 | | - |
| 916 | QList<QQuickParticleGroup*> newList; | - |
| 917 | for (int i = 0, ei = groupData.size(); i != ei; ++i) {| TRUE | evaluated 28 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
|
| 6-28 |
| 918 | bool exists = false; | - |
| 919 | QString name = groupData[i]->name(); | - |
| 920 | foreach (QQuickParticleGroup* existing, m_groups) {| TRUE | evaluated 76 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | evaluated 76 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
|
| TRUE | evaluated 104 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | never evaluated |
| TRUE | evaluated 76 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | evaluated 28 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
|
| 0-104 |
| 921 | if (existing->name() == name) {| TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | evaluated 62 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
|
| 14-62 |
| 922 | newList << existing; | - |
| 923 | exists = true; | - |
| 924 | }executed 14 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickparticlegroup
| 14 |
| 925 | }executed 76 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickparticlegroup
| 76 |
| 926 | if (!exists) {| TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
|
| 14 |
| 927 | newList << new QQuickParticleGroup(this); | - |
| 928 | newList.back()->setName(name); | - |
| 929 | }executed 14 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickparticlegroup
| 14 |
| 930 | }executed 28 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickparticlegroup
| 28 |
| 931 | m_groups = newList; | - |
| 932 | QList<QQuickStochasticState*> states; | - |
| 933 | states.reserve(m_groups.count()); | - |
| 934 | foreach (QQuickParticleGroup* g, m_groups)| TRUE | evaluated 28 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | evaluated 28 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
|
| TRUE | evaluated 34 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | never evaluated |
| TRUE | evaluated 28 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
|
| 0-34 |
| 935 | states << (QQuickStochasticState*)g;executed 28 times by 2 tests: states << (QQuickStochasticState*)g;Executed by:- tst_examples
- tst_qquickparticlegroup
| 28 |
| 936 | | - |
| 937 | if (!stateEngine)| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickparticlegroup
| | FALSE | never evaluated |
| 0-6 |
| 938 | stateEngine = new QQuickStochasticEngine(this);executed 6 times by 2 tests: stateEngine = new QQuickStochasticEngine(this);Executed by:- tst_examples
- tst_qquickparticlegroup
| 6 |
| 939 | stateEngine->setCount(particleCount); | - |
| 940 | stateEngine->m_states = states; | - |
| 941 | | - |
| 942 | connect(stateEngine, SIGNAL(stateChanged(int)), | - |
| 943 | this, SLOT(particleStateChange(int))); | - |
| 944 | | - |
| 945 | } else {executed 6 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickparticlegroup
| 6 |
| 946 | if (stateEngine)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 947 | delete stateEngine; never executed: delete stateEngine; | 0 |
| 948 | stateEngine = nullptr; | - |
| 949 | } never executed: end of block | 0 |
| 950 | | - |
| 951 | } | - |
| 952 | | - |
| 953 | void QQuickParticleSystem::particleStateChange(int idx) | - |
| 954 | { | - |
| 955 | moveGroups(bySysIdx[idx], stateEngine->curState(idx)); | - |
| 956 | }executed 18432 times by 1 test: end of block | 18432 |
| 957 | | - |
| 958 | void QQuickParticleSystem::moveGroups(QQuickParticleData *d, int newGIdx) | - |
| 959 | { | - |
| 960 | if (!d || newGIdx == d->groupId)| TRUE | never evaluated | | FALSE | evaluated 19760 times by 2 testsEvaluated by:- tst_qquickgroupgoal
- tst_qquickparticlegroup
|
| TRUE | evaluated 17104 times by 1 test | | FALSE | evaluated 2656 times by 2 testsEvaluated by:- tst_qquickgroupgoal
- tst_qquickparticlegroup
|
| 0-19760 |
| 961 | return;executed 17104 times by 1 test: return; | 17104 |
| 962 | | - |
| 963 | QQuickParticleData* pd = newDatum(newGIdx, false, d->systemIndex); | - |
| 964 | if (!pd)| TRUE | never evaluated | | FALSE | evaluated 2656 times by 2 testsEvaluated by:- tst_qquickgroupgoal
- tst_qquickparticlegroup
|
| 0-2656 |
| 965 | return; never executed: return; | 0 |
| 966 | | - |
| 967 | pd->clone(*d); | - |
| 968 | finishNewDatum(pd); | - |
| 969 | | - |
| 970 | d->systemIndex = -1; | - |
| 971 | groupData[d->groupId]->kill(d); | - |
| 972 | }executed 2656 times by 2 tests: end of blockExecuted by:- tst_qquickgroupgoal
- tst_qquickparticlegroup
| 2656 |
| 973 | | - |
| 974 | int QQuickParticleSystem::nextSystemIndex() | - |
| 975 | { | - |
| 976 | if (!m_reusableIndexes.isEmpty()) {| TRUE | evaluated 660 times by 2 testsEvaluated by:- tst_qquickgroupgoal
- tst_qquickparticlegroup
| | FALSE | evaluated 40630 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 660-40630 |
| 977 | int ret = *(m_reusableIndexes.begin()); | - |
| 978 | m_reusableIndexes.remove(ret); | - |
| 979 | return ret;executed 660 times by 2 tests: return ret;Executed by:- tst_qquickgroupgoal
- tst_qquickparticlegroup
| 660 |
| 980 | } | - |
| 981 | if (m_nextIndex >= bySysIdx.size()) {| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qquickage
- tst_qquickgroupgoal
| | FALSE | evaluated 40622 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 8-40622 |
| 982 | bySysIdx.resize(bySysIdx.size() < 10 ? 10 : bySysIdx.size()*1.1); | - |
| 983 | if (stateEngine)| TRUE | never evaluated | | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qquickage
- tst_qquickgroupgoal
|
| 0-8 |
| 984 | stateEngine->setCount(bySysIdx.size()); never executed: stateEngine->setCount(bySysIdx.size()); | 0 |
| 985 | | - |
| 986 | }executed 8 times by 2 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickgroupgoal
| 8 |
| 987 | return m_nextIndex++;executed 40630 times by 23 tests: return m_nextIndex++;Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 40630 |
| 988 | } | - |
| 989 | | - |
| 990 | QQuickParticleData* QQuickParticleSystem::newDatum(int groupId, bool respectLimits, int sysIndex) | - |
| 991 | { | - |
| 992 | Q_ASSERT(groupId < groupData.count()); | - |
| 993 | | - |
| 994 | QQuickParticleData* ret = groupData[groupId]->newDatum(respectLimits); | - |
| 995 | if (!ret) {| TRUE | never evaluated | | FALSE | evaluated 54286 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-54286 |
| 996 | return nullptr; never executed: return nullptr; | 0 |
| 997 | } | - |
| 998 | if (sysIndex == -1) {| TRUE | evaluated 51630 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 2656 times by 2 testsEvaluated by:- tst_qquickgroupgoal
- tst_qquickparticlegroup
|
| 2656-51630 |
| 999 | if (ret->systemIndex == -1)| TRUE | evaluated 41290 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 10340 times by 21 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 10340-41290 |
| 1000 | ret->systemIndex = nextSystemIndex();executed 41290 times by 23 tests: ret->systemIndex = nextSystemIndex();Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 41290 |
| 1001 | } else {executed 51630 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 51630 |
| 1002 | if (ret->systemIndex != -1) {| TRUE | evaluated 692 times by 2 testsEvaluated by:- tst_qquickgroupgoal
- tst_qquickparticlegroup
| | FALSE | evaluated 1964 times by 2 testsEvaluated by:- tst_qquickgroupgoal
- tst_qquickparticlegroup
|
| 692-1964 |
| 1003 | if (stateEngine)| TRUE | evaluated 362 times by 1 test | | FALSE | evaluated 330 times by 1 test |
| 330-362 |
| 1004 | stateEngine->stop(ret->systemIndex);executed 362 times by 1 test: stateEngine->stop(ret->systemIndex); | 362 |
| 1005 | m_reusableIndexes << ret->systemIndex; | - |
| 1006 | bySysIdx[ret->systemIndex] = 0; | - |
| 1007 | }executed 692 times by 2 tests: end of blockExecuted by:- tst_qquickgroupgoal
- tst_qquickparticlegroup
| 692 |
| 1008 | ret->systemIndex = sysIndex; | - |
| 1009 | }executed 2656 times by 2 tests: end of blockExecuted by:- tst_qquickgroupgoal
- tst_qquickparticlegroup
| 2656 |
| 1010 | bySysIdx[ret->systemIndex] = ret; | - |
| 1011 | | - |
| 1012 | if (stateEngine)| TRUE | evaluated 2688 times by 1 test | | FALSE | evaluated 51598 times by 22 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 2688-51598 |
| 1013 | stateEngine->start(ret->systemIndex, ret->groupId);executed 2688 times by 1 test: stateEngine->start(ret->systemIndex, ret->groupId); | 2688 |
| 1014 | | - |
| 1015 | m_empty = false; | - |
| 1016 | return ret;executed 54286 times by 23 tests: return ret;Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 54286 |
| 1017 | } | - |
| 1018 | | - |
| 1019 | void QQuickParticleSystem::emitParticle(QQuickParticleData* pd, QQuickParticleEmitter* particleEmitter) | - |
| 1020 | { | - |
| 1021 | | - |
| 1022 | bool okay = false; | - |
| 1023 | QTransform t = particleEmitter->itemTransform(this, &okay); | - |
| 1024 | if (okay) {| TRUE | evaluated 52812 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| 0-52812 |
| 1025 | qreal tx,ty; | - |
| 1026 | t.map(pd->x, pd->y, &tx, &ty); | - |
| 1027 | pd->x = tx; | - |
| 1028 | pd->y = ty; | - |
| 1029 | }executed 52812 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 52812 |
| 1030 | | - |
| 1031 | finishNewDatum(pd); | - |
| 1032 | }executed 52812 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 52812 |
| 1033 | | - |
| 1034 | void QQuickParticleSystem::finishNewDatum(QQuickParticleData *pd) | - |
| 1035 | { | - |
| 1036 | Q_ASSERT(pd); | - |
| 1037 | groupData[pd->groupId]->prepareRecycler(pd); | - |
| 1038 | | - |
| 1039 | foreach (QQuickParticleAffector *a, m_affectors)| TRUE | evaluated 24928 times by 9 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 24928 times by 9 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 80396 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 24928 times by 9 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 55468 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-80396 |
| 1040 | if (a && a->m_needsReset)| TRUE | evaluated 24928 times by 9 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 7520 times by 3 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickwander
| | FALSE | evaluated 17408 times by 8 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
|
| 0-24928 |
| 1041 | a->reset(pd);executed 7520 times by 3 tests: a->reset(pd);Executed by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickwander
| 7520 |
| 1042 | foreach (QQuickParticlePainter* p, groupData[pd->groupId]->painters)| TRUE | evaluated 52780 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 52780 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 108248 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 52780 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 55468 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-108248 |
| 1043 | if (p)| TRUE | evaluated 52780 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| 0-52780 |
| 1044 | p->load(pd);executed 52780 times by 23 tests: p->load(pd);Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 52780 |
| 1045 | }executed 55468 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 55468 |
| 1046 | | - |
| 1047 | void QQuickParticleSystem::updateCurrentTime( int currentTime ) | - |
| 1048 | { | - |
| 1049 | if (!initialized)| TRUE | evaluated 160 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 2924 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 160-2924 |
| 1050 | return;executed 160 times by 24 tests: return;Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 160 |
| 1051 | | - |
| 1052 | | - |
| 1053 | qreal dt = timeInt / 1000.; | - |
| 1054 | timeInt = currentTime; | - |
| 1055 | qreal time = timeInt / 1000.; | - |
| 1056 | dt = time - dt; | - |
| 1057 | needsReset.clear(); | - |
| 1058 | | - |
| 1059 | m_emitters.removeAll(nullptr); | - |
| 1060 | m_painters.removeAll(nullptr); | - |
| 1061 | m_affectors.removeAll(nullptr); | - |
| 1062 | | - |
| 1063 | bool oldClear = m_empty; | - |
| 1064 | m_empty = true; | - |
| 1065 | foreach (QQuickParticleGroupData* gd, groupData)| TRUE | evaluated 3483 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 3483 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 6407 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 3483 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 2924 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-6407 |
| 1066 | m_empty = gd->recycle() && m_empty;executed 3483 times by 23 tests: m_empty = gd->recycle() && m_empty;Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| TRUE | evaluated 238 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 3245 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 178 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 60 times by 1 test |
| 60-3483 |
| 1067 | | - |
| 1068 | if (stateEngine)| TRUE | evaluated 87 times by 1 test | | FALSE | evaluated 2837 times by 22 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 87-2837 |
| 1069 | stateEngine->updateSprites(timeInt);executed 87 times by 1 test: stateEngine->updateSprites(timeInt); | 87 |
| 1070 | | - |
| 1071 | foreach (QQuickParticleEmitter* emitter, m_emitters)| TRUE | evaluated 3311 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 3311 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 6235 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 3311 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 2924 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-6235 |
| 1072 | emitter->emitWindow(timeInt);executed 3311 times by 23 tests: emitter->emitWindow(timeInt);Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 3311 |
| 1073 | foreach (QQuickParticleAffector* a, m_affectors)| TRUE | evaluated 1357 times by 9 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 1357 times by 9 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 4281 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 1357 times by 9 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 2924 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-4281 |
| 1074 | a->affectSystem(dt);executed 1357 times by 9 tests: a->affectSystem(dt);Executed by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| 1357 |
| 1075 | foreach (QQuickParticleData* d, needsReset)| TRUE | evaluated 171662 times by 9 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 171662 times by 9 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 174586 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 171662 times by 9 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 2924 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-174586 |
| 1076 | foreach (QQuickParticlePainter* p, groupData[d->groupId]->painters)| TRUE | evaluated 170334 times by 8 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 170334 times by 8 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
|
| TRUE | evaluated 341996 times by 9 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | never evaluated |
| TRUE | evaluated 170334 times by 8 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 171662 times by 9 testsEvaluated by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
|
| 0-341996 |
| 1077 | p->reload(d);executed 170334 times by 8 tests: p->reload(d);Executed by:- tst_qquickage
- tst_qquickcustomaffector
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickpointattractor
- tst_qquickspritegoal
- tst_qquickturbulence
- tst_qquickwander
| 170334 |
| 1078 | | - |
| 1079 | if (oldClear != m_empty)| TRUE | evaluated 74 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| | FALSE | evaluated 2850 times by 23 testsEvaluated by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 74-2850 |
| 1080 | emptyChanged(m_empty);executed 74 times by 23 tests: emptyChanged(m_empty);Executed by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 74 |
| 1081 | }executed 2924 times by 23 tests: end of blockExecuted by:- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 2924 |
| 1082 | | - |
| 1083 | int QQuickParticleSystem::systemSync(QQuickParticlePainter* p) | - |
| 1084 | { | - |
| 1085 | if (!m_running)| TRUE | never evaluated | | FALSE | evaluated 4551 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-4551 |
| 1086 | return 0; never executed: return 0; | 0 |
| 1087 | if (!initialized)| TRUE | never evaluated | | FALSE | evaluated 4551 times by 24 testsEvaluated by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
|
| 0-4551 |
| 1088 | return 0; never executed: return 0; | 0 |
| 1089 | p->performPendingCommits(); | - |
| 1090 | return timeInt;executed 4551 times by 24 tests: return timeInt;Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickspritegoal
- tst_qquicktargetdirection
- tst_qquicktrailemitter
- tst_qquickturbulence
- tst_qquickwander
| 4551 |
| 1091 | } | - |
| 1092 | | - |
| 1093 | | - |
| 1094 | QT_END_NAMESPACE | - |
| 1095 | | - |
| 1096 | #include "moc_qquickparticlesystem_p.cpp" | - |
| | |