OpenCoverage

qquickparticleextruder.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/qquickparticleextruder.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3QQuickParticleExtruder::QQuickParticleExtruder(QObject *parent) :-
4 QObject(parent)-
5{-
6}
executed 218 times by 24 tests: end of block
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
7-
8QPointF QQuickParticleExtruder::extrude(const QRectF &rect)-
9{-
10 return
executed 43150 times by 19 tests: return QPointF(QRandomGenerator::global()->generateDouble() * rect.width() + rect.x(), QRandomGenerator::global()->generateDouble() * rect.height() + rect.y());
Executed by:
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgroupgoal
  • tst_qquickimageparticle
  • tst_qquickitemparticle
  • tst_qquickparticlegroup
  • tst_qquickparticlesystem
  • tst_qquickpointattractor
  • tst_qquickpointdirection
  • tst_qquickspritegoal
  • tst_qquicktargetdirection
  • tst_qquicktrailemitter
  • tst_qquickturbulence
  • tst_qquickwander
QPointF(QRandomGenerator::global()->generateDouble() * rect.width() + rect.x(),
executed 43150 times by 19 tests: return QPointF(QRandomGenerator::global()->generateDouble() * rect.width() + rect.x(), QRandomGenerator::global()->generateDouble() * rect.height() + rect.y());
Executed by:
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgroupgoal
  • tst_qquickimageparticle
  • tst_qquickitemparticle
  • tst_qquickparticlegroup
  • tst_qquickparticlesystem
  • tst_qquickpointattractor
  • tst_qquickpointdirection
  • tst_qquickspritegoal
  • tst_qquicktargetdirection
  • tst_qquicktrailemitter
  • tst_qquickturbulence
  • tst_qquickwander
43150
11 QRandomGenerator::global()->generateDouble() * rect.height() + rect.y());
executed 43150 times by 19 tests: return QPointF(QRandomGenerator::global()->generateDouble() * rect.width() + rect.x(), QRandomGenerator::global()->generateDouble() * rect.height() + rect.y());
Executed by:
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgroupgoal
  • tst_qquickimageparticle
  • tst_qquickitemparticle
  • tst_qquickparticlegroup
  • tst_qquickparticlesystem
  • tst_qquickpointattractor
  • tst_qquickpointdirection
  • tst_qquickspritegoal
  • tst_qquicktargetdirection
  • tst_qquicktrailemitter
  • tst_qquickturbulence
  • tst_qquickwander
43150
12}-
13-
14bool QQuickParticleExtruder::contains(const QRectF &bounds, const QPointF &point)-
15{-
16 return
executed 23844 times by 1 test: return bounds.contains(point);
Executed by:
  • tst_qquickturbulence
bounds.contains(point);
executed 23844 times by 1 test: return bounds.contains(point);
Executed by:
  • tst_qquickturbulence
23844
17}-
18-
19-
20-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0