| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | namespace | - |
| 6 | { | - |
| 7 | struct Color4ub | - |
| 8 | { | - |
| 9 | unsigned char r, g, b, a; | - |
| 10 | }; | - |
| 11 | | - |
| 12 | Color4ub operator *(Color4ub c, float t) { c.a *= t; c.r *= t; c.g *= t; c.b *= t; returnexecuted 11056 times by 5 tests: return c;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
c;executed 11056 times by 5 tests: return c;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
} | 11056 |
| 13 | Color4ub operator +(Color4ub a, Color4ub b) { a.a += b.a; a.r += b.r; a.g += b.g; a.b += b.b; returnexecuted 5528 times by 5 tests: return a;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
a;executed 5528 times by 5 tests: return a;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
} | 5528 |
| 14 | | - |
| 15 | inline Color4ub colorToColor4ub(const QColor &c) | - |
| 16 | { | - |
| 17 | Color4ub color = { uchar(qRound(c.redF() * c.alphaF() * 255)), | - |
| 18 | uchar(qRound(c.greenF() * c.alphaF() * 255)), | - |
| 19 | uchar(qRound(c.blueF() * c.alphaF() * 255)), | - |
| 20 | uchar(qRound(c.alphaF() * 255)) | - |
| 21 | }; | - |
| 22 | returnexecuted 165502 times by 66 tests: return color;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
color;executed 165502 times by 66 tests: return color;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 165502 |
| 23 | } | - |
| 24 | | - |
| 25 | | - |
| 26 | struct Vertex | - |
| 27 | { | - |
| 28 | float x, y; | - |
| 29 | Color4ub color; | - |
| 30 | | - |
| 31 | void set(float primary, float secondary, Color4ub ncolor, bool vertical) | - |
| 32 | { | - |
| 33 | if (vertical| TRUE | evaluated 880492 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | never evaluated |
) { | 0-880492 |
| 34 | x = secondary; y = primary; | - |
| 35 | }executed 880492 times by 66 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
else { | 880492 |
| 36 | x = primary; y = secondary; | - |
| 37 | } never executed: end of block | 0 |
| 38 | color = ncolor; | - |
| 39 | }executed 880492 times by 66 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 880492 |
| 40 | }; | - |
| 41 | | - |
| 42 | struct SmoothVertex : public Vertex | - |
| 43 | { | - |
| 44 | float dx, dy; | - |
| 45 | | - |
| 46 | void set(float primary, float secondary, Color4ub ncolor, float dPrimary, float dSecondary, bool vertical) | - |
| 47 | { | - |
| 48 | Vertex::set(primary, secondary, ncolor, vertical); | - |
| 49 | if (vertical| TRUE | evaluated 249752 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| | FALSE | never evaluated |
) { | 0-249752 |
| 50 | dx = dSecondary; dy = dPrimary; | - |
| 51 | }executed 249752 times by 12 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
else { | 249752 |
| 52 | dx = dPrimary; dy = dSecondary; | - |
| 53 | } never executed: end of block | 0 |
| 54 | } | - |
| 55 | }; | - |
| 56 | | - |
| 57 | const QSGGeometry::AttributeSet &smoothAttributeSet() | - |
| 58 | { | - |
| 59 | static QSGGeometry::Attribute data[] = { | - |
| 60 | QSGGeometry::Attribute::createWithAttributeType(0, 2, QSGGeometry::FloatType, QSGGeometry::PositionAttribute), | - |
| 61 | QSGGeometry::Attribute::createWithAttributeType(1, 4, QSGGeometry::UnsignedByteType, QSGGeometry::ColorAttribute), | - |
| 62 | QSGGeometry::Attribute::createWithAttributeType(2, 2, QSGGeometry::FloatType, QSGGeometry::TexCoordAttribute) | - |
| 63 | }; | - |
| 64 | static QSGGeometry::AttributeSet attrs = { 3, sizeof(SmoothVertex), data }; | - |
| 65 | returnexecuted 3322 times by 12 tests: return attrs;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
attrs;executed 3322 times by 12 tests: return attrs;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 3322 |
| 66 | } | - |
| 67 | } | - |
| 68 | | - |
| 69 | QSGBasicInternalRectangleNode::QSGBasicInternalRectangleNode() | - |
| 70 | : m_radius(0) | - |
| 71 | , m_pen_width(0) | - |
| 72 | , m_aligned(true) | - |
| 73 | , m_antialiasing(false) | - |
| 74 | , m_gradient_is_opaque(true) | - |
| 75 | , m_dirty_geometry(false) | - |
| 76 | , m_gradient_is_vertical(true) | - |
| 77 | , m_geometry(QSGGeometry::defaultAttributes_ColoredPoint2D(), 0) | - |
| 78 | { | - |
| 79 | setGeometry(&m_geometry); | - |
| 80 | | - |
| 81 | | - |
| 82 | qsgnode_set_description(this, QLatin1String("internalrectangle")); | - |
| 83 | | - |
| 84 | }executed 72061 times by 66 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 72061 |
| 85 | | - |
| 86 | void QSGBasicInternalRectangleNode::setRect(const QRectF &rect) | - |
| 87 | { | - |
| 88 | if (rect == m_rect| TRUE | evaluated 1640 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_scenegraph
| | FALSE | evaluated 75643 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) | 1640-75643 |
| 89 | return;executed 1640 times by 12 tests: return;Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_scenegraph
| 1640 |
| 90 | m_rect = rect; | - |
| 91 | m_dirty_geometry = true; | - |
| 92 | }executed 75643 times by 66 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 75643 |
| 93 | | - |
| 94 | void QSGBasicInternalRectangleNode::setColor(const QColor &color) | - |
| 95 | { | - |
| 96 | if (color == m_color| TRUE | evaluated 3836 times by 15 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquickwidget
| | FALSE | evaluated 73447 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) | 3836-73447 |
| 97 | return;executed 3836 times by 15 tests: return;Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquickwidget
| 3836 |
| 98 | m_color = color; | - |
| 99 | if (m_gradient_stops.isEmpty()| TRUE | evaluated 73447 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | never evaluated |
) | 0-73447 |
| 100 | m_dirty_geometry = true;executed 73447 times by 66 tests: m_dirty_geometry = true;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 73447 |
| 101 | }executed 73447 times by 66 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 73447 |
| 102 | | - |
| 103 | void QSGBasicInternalRectangleNode::setPenColor(const QColor &color) | - |
| 104 | { | - |
| 105 | if (color == m_border_color| TRUE | evaluated 3646 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickgridview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qquicktext
| | FALSE | evaluated 40619 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
|
) | 3646-40619 |
| 106 | return;executed 3646 times by 7 tests: return;Executed by:- tst_flickableinterop
- tst_qquickgridview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qquicktext
| 3646 |
| 107 | m_border_color = color; | - |
| 108 | if (m_pen_width > 0| TRUE | evaluated 34 times by 3 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickfocusscope
- tst_qquickmultipointtoucharea
| | FALSE | evaluated 40585 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
|
) | 34-40585 |
| 109 | m_dirty_geometry = true;executed 34 times by 3 tests: m_dirty_geometry = true;Executed by:- tst_multipointtoucharea_interop
- tst_qquickfocusscope
- tst_qquickmultipointtoucharea
| 34 |
| 110 | }executed 40619 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
| 40619 |
| 111 | | - |
| 112 | void QSGBasicInternalRectangleNode::setPenWidth(qreal width) | - |
| 113 | { | - |
| 114 | if (width == m_pen_width| TRUE | evaluated 36360 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 40619 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
|
) | 36360-40619 |
| 115 | return;executed 36360 times by 66 tests: return;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 36360 |
| 116 | m_pen_width = width; | - |
| 117 | m_dirty_geometry = true; | - |
| 118 | }executed 40619 times by 15 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
| 40619 |
| 119 | | - |
| 120 | | - |
| 121 | void QSGBasicInternalRectangleNode::setGradientStops(const QGradientStops &stops) | - |
| 122 | { | - |
| 123 | if (stops.constData() == m_gradient_stops.constData()| TRUE | evaluated 76446 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 533 times by 5 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
|
) | 533-76446 |
| 124 | return;executed 76446 times by 66 tests: return;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 76446 |
| 125 | | - |
| 126 | m_gradient_stops = stops; | - |
| 127 | | - |
| 128 | m_gradient_is_opaque = true; | - |
| 129 | for (int i = 0; i < stops.size()| TRUE | evaluated 1115 times by 5 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
| | FALSE | evaluated 533 times by 5 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
|
; ++i) | 533-1115 |
| 130 | m_gradient_is_opaque &= stops.at(i).second.alpha() == 0xff;executed 1115 times by 5 tests: m_gradient_is_opaque &= stops.at(i).second.alpha() == 0xff;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
| 1115 |
| 131 | m_dirty_geometry = true; | - |
| 132 | }executed 533 times by 5 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
| 533 |
| 133 | | - |
| 134 | void QSGBasicInternalRectangleNode::setGradientVertical(bool vertical) | - |
| 135 | { | - |
| 136 | if (vertical == m_gradient_is_vertical| TRUE | evaluated 76979 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | never evaluated |
) | 0-76979 |
| 137 | return;executed 76979 times by 66 tests: return;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 76979 |
| 138 | m_gradient_is_vertical = vertical; | - |
| 139 | m_dirty_geometry = true; | - |
| 140 | } never executed: end of block | 0 |
| 141 | | - |
| 142 | | - |
| 143 | void QSGBasicInternalRectangleNode::setRadius(qreal radius) | - |
| 144 | { | - |
| 145 | if (radius == m_radius| TRUE | evaluated 74691 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 2288 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
|
) | 2288-74691 |
| 146 | return;executed 74691 times by 66 tests: return;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 74691 |
| 147 | m_radius = radius; | - |
| 148 | m_dirty_geometry = true; | - |
| 149 | }executed 2288 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| 2288 |
| 150 | | - |
| 151 | void QSGBasicInternalRectangleNode::setAntialiasing(bool antialiasing) | - |
| 152 | { | - |
| 153 | if (!supportsAntialiasing()| TRUE | never evaluated | | FALSE | evaluated 76979 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) | 0-76979 |
| 154 | return; never executed: return; | 0 |
| 155 | | - |
| 156 | if (antialiasing == m_antialiasing| TRUE | evaluated 73657 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 3322 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
|
) | 3322-73657 |
| 157 | return;executed 73657 times by 66 tests: return;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 73657 |
| 158 | m_antialiasing = antialiasing; | - |
| 159 | if (m_antialiasing| TRUE | evaluated 3322 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| | FALSE | never evaluated |
) { | 0-3322 |
| 160 | setGeometry(new QSGGeometry(smoothAttributeSet(), 0)); | - |
| 161 | setFlag(OwnsGeometry, true); | - |
| 162 | }executed 3322 times by 12 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
else { | 3322 |
| 163 | setGeometry(&m_geometry); | - |
| 164 | setFlag(OwnsGeometry, false); | - |
| 165 | } never executed: end of block | 0 |
| 166 | updateMaterialAntialiasing(); | - |
| 167 | m_dirty_geometry = true; | - |
| 168 | }executed 3322 times by 12 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_scenegraph
| 3322 |
| 169 | | - |
| 170 | void QSGBasicInternalRectangleNode::setAligned(bool aligned) | - |
| 171 | { | - |
| 172 | if (aligned == m_aligned| TRUE | evaluated 44265 times by 15 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
| | FALSE | never evaluated |
) | 0-44265 |
| 173 | return;executed 44265 times by 15 tests: return;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
| 44265 |
| 174 | m_aligned = aligned; | - |
| 175 | m_dirty_geometry = true; | - |
| 176 | } never executed: end of block | 0 |
| 177 | | - |
| 178 | void QSGBasicInternalRectangleNode::update() | - |
| 179 | { | - |
| 180 | if (m_dirty_geometry| TRUE | evaluated 77168 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 115 times by 5 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 115-77168 |
| 181 | updateGeometry(); | - |
| 182 | m_dirty_geometry = false; | - |
| 183 | | - |
| 184 | QSGNode::DirtyState state = QSGNode::DirtyGeometry; | - |
| 185 | updateMaterialBlending(&state); | - |
| 186 | markDirty(state); | - |
| 187 | }executed 77168 times by 66 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 77168 |
| 188 | }executed 77283 times by 66 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 77283 |
| 189 | | - |
| 190 | void QSGBasicInternalRectangleNode::updateGeometry() | - |
| 191 | { | - |
| 192 | float width = float(m_rect.width()); | - |
| 193 | float height = float(m_rect.height()); | - |
| 194 | float penWidth = qMin(qMin(width, height) * 0.5f, float(m_pen_width)); | - |
| 195 | | - |
| 196 | if (m_aligned| TRUE | evaluated 77168 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | never evaluated |
) | 0-77168 |
| 197 | penWidth = qRound(penWidth);executed 77168 times by 66 tests: penWidth = qRound(penWidth);Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 77168 |
| 198 | | - |
| 199 | QSGGeometry *g = geometry(); | - |
| 200 | g->setDrawingMode(QSGGeometry::DrawTriangleStrip); | - |
| 201 | int vertexStride = g->sizeOfVertex(); | - |
| 202 | | - |
| 203 | union { | - |
| 204 | Vertex *vertices; | - |
| 205 | SmoothVertex *smoothVertices; | - |
| 206 | }; | - |
| 207 | | - |
| 208 | Color4ub fillColor = colorToColor4ub(m_color); | - |
| 209 | Color4ub borderColor = colorToColor4ub(m_border_color); | - |
| 210 | Color4ub transparent = { 0, 0, 0, 0 }; | - |
| 211 | const QGradientStops &stops = m_gradient_stops; | - |
| 212 | | - |
| 213 | float length = (m_gradient_is_vertical| TRUE | evaluated 77168 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | never evaluated |
? height : width); | 0-77168 |
| 214 | float secondaryLength = (m_gradient_is_vertical| TRUE | evaluated 77168 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | never evaluated |
? width : height); | 0-77168 |
| 215 | | - |
| 216 | int nextGradientStop = 0; | - |
| 217 | float gradientPos = penWidth / length; | - |
| 218 | while (nextGradientStop < stops.size()| TRUE | evaluated 1064 times by 5 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
| | FALSE | evaluated 76635 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
&& stops.at(nextGradientStop).first <= gradientPos| TRUE | evaluated 531 times by 5 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
| | FALSE | evaluated 533 times by 5 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
|
) | 531-76635 |
| 219 | ++executed 531 times by 5 tests: ++nextGradientStop;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
nextGradientStop;executed 531 times by 5 tests: ++nextGradientStop;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
| 531 |
| 220 | int lastGradientStop = stops.size() - 1; | - |
| 221 | float lastGradientPos = 1.0f - penWidth / length; | - |
| 222 | while (lastGradientStop >= nextGradientStop| TRUE | evaluated 553 times by 5 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
| | FALSE | evaluated 77133 times by 66 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
&& stops.at(lastGradientStop).first >= lastGradientPos| TRUE | evaluated 518 times by 5 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
| | FALSE | evaluated 35 times by 2 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
|
) | 35-77133 |
| 223 | --executed 518 times by 5 tests: --lastGradientStop;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
lastGradientStop;executed 518 times by 5 tests: --lastGradientStop;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickitemlayer
- tst_qquicktaphandler
- tst_scenegraph
| 518 |
| 224 | int gradientIntersections = (lastGradientStop - nextGradientStop + 1); | - |
| 225 | | - |
| 226 | if (m_radius > 0| TRUE | evaluated 2391 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 74777 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) { | 2391-74777 |
| 227 | | - |
| 228 | | - |
| 229 | | - |
| 230 | float radius = qMin(qMin(width, height) * 0.5f, float(m_radius)); | - |
| 231 | QRectF innerRect = m_rect; | - |
| 232 | innerRect.adjust(radius, radius, -radius, -radius); | - |
| 233 | | - |
| 234 | float innerRadius = radius - penWidth * 1.0f; | - |
| 235 | float outerRadius = radius; | - |
| 236 | float delta = qMin(width, height) * 0.5f; | - |
| 237 | | - |
| 238 | | - |
| 239 | int segments = qBound(3, qCeil(outerRadius * ( | - |
| 240 | 3.14159265358979323846 | - |
| 241 | / 6)), 18); | - |
| 242 | int innerVertexCount = (segments + 1) * 4 + gradientIntersections * 2; | - |
| 243 | int outerVertexCount = (segments + 1) * 4; | - |
| 244 | int vertexCount = innerVertexCount; | - |
| 245 | if (m_antialiasing| TRUE | evaluated 2391 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | never evaluated |
|| penWidth| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-2391 |
| 246 | vertexCount += innerVertexCount;executed 2391 times by 10 tests: vertexCount += innerVertexCount;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| 2391 |
| 247 | if (penWidth| TRUE | evaluated 1687 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 704 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquicktaphandler
|
) | 704-1687 |
| 248 | vertexCount += outerVertexCount;executed 1687 times by 8 tests: vertexCount += outerVertexCount;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| 1687 |
| 249 | if (m_antialiasing| TRUE | evaluated 2391 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | never evaluated |
&& penWidth) | 0-2391 |
| 250 | vertexCount += outerVertexCount;executed 1687 times by 8 tests: vertexCount += outerVertexCount;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| 1687 |
| 251 | | - |
| 252 | int fillIndexCount = innerVertexCount; | - |
| 253 | int innerAAIndexCount = innerVertexCount * 2 + 2; | - |
| 254 | int borderIndexCount = innerVertexCount * 2 + 2; | - |
| 255 | int outerAAIndexCount = outerVertexCount * 2 + 2; | - |
| 256 | int indexCount = 0; | - |
| 257 | int fillHead = 0; | - |
| 258 | int innerAAHead = 0; | - |
| 259 | int innerAATail = 0; | - |
| 260 | int borderHead = 0; | - |
| 261 | int borderTail = 0; | - |
| 262 | int outerAAHead = 0; | - |
| 263 | int outerAATail = 0; | - |
| 264 | bool hasFill = m_color.alpha() > 0| TRUE | evaluated 1848 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 543 times by 3 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquicktaphandler
|
|| !stops.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 543 times by 3 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquicktaphandler
|
; | 0-1848 |
| 265 | if (hasFill| TRUE | evaluated 1848 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 543 times by 3 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquicktaphandler
|
) | 543-1848 |
| 266 | indexCount += fillIndexCount;executed 1848 times by 10 tests: indexCount += fillIndexCount;Executed by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| 1848 |
| 267 | if (m_antialiasing| TRUE | evaluated 2391 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | never evaluated |
) { | 0-2391 |
| 268 | innerAATail = innerAAHead = indexCount + (innerAAIndexCount >> 1) + 1; | - |
| 269 | indexCount += innerAAIndexCount; | - |
| 270 | }executed 2391 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| 2391 |
| 271 | if (penWidth| TRUE | evaluated 1687 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 704 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquicktaphandler
|
) { | 704-1687 |
| 272 | borderTail = borderHead = indexCount + (borderIndexCount >> 1) + 1; | - |
| 273 | indexCount += borderIndexCount; | - |
| 274 | }executed 1687 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| 1687 |
| 275 | if (m_antialiasing| TRUE | evaluated 2391 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | never evaluated |
&& penWidth) { | 0-2391 |
| 276 | outerAATail = outerAAHead = indexCount + (outerAAIndexCount >> 1) + 1; | - |
| 277 | indexCount += outerAAIndexCount; | - |
| 278 | }executed 1687 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| 1687 |
| 279 | | - |
| 280 | g->allocate(vertexCount, indexCount); | - |
| 281 | vertices = reinterpret_cast<Vertex *>(g->vertexData()); | - |
| 282 | memset(vertices, 0, vertexCount * vertexStride); | - |
| 283 | quint16 *indices = g->indexDataAsUShort(); | - |
| 284 | quint16 index = 0; | - |
| 285 | | - |
| 286 | float pp = 0; | - |
| 287 | float pss = 0; | - |
| 288 | float pse = 0; | - |
| 289 | | - |
| 290 | float angle = 0.5f * float( | - |
| 291 | 3.14159265358979323846 | - |
| 292 | ) / segments; | - |
| 293 | float cosStep = qFastCos(angle); | - |
| 294 | float sinStep = qFastSin(angle); | - |
| 295 | | - |
| 296 | float innerStart = (m_gradient_is_vertical| TRUE | evaluated 2391 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | never evaluated |
? innerRect.top() : innerRect.left()); | 0-2391 |
| 297 | float innerEnd = (m_gradient_is_vertical| TRUE | evaluated 2391 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | never evaluated |
? innerRect.bottom() : innerRect.right()); | 0-2391 |
| 298 | float innerLength = (m_gradient_is_vertical| TRUE | evaluated 2391 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | never evaluated |
? innerRect.height() : innerRect.width()); | 0-2391 |
| 299 | float innerSecondaryStart = (m_gradient_is_vertical| TRUE | evaluated 2391 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | never evaluated |
? innerRect.left() : innerRect.top()); | 0-2391 |
| 300 | float innerSecondaryEnd = (m_gradient_is_vertical| TRUE | evaluated 2391 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | never evaluated |
? innerRect.right() : innerRect.bottom()); | 0-2391 |
| 301 | | - |
| 302 | for (int part = 0; part < 2| TRUE | evaluated 4782 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 2391 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
|
; ++part) { | 2391-4782 |
| 303 | float c = 1 - part; | - |
| 304 | float s = part; | - |
| 305 | for (int i = 0; i <= segments| TRUE | evaluated 33352 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 4782 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
|
; ++i) { | 4782-33352 |
| 306 | float p, ss, se; | - |
| 307 | if (innerRadius > 0| TRUE | evaluated 33072 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 280 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquicklistview
- tst_qquicktaphandler
|
) { | 280-33072 |
| 308 | p = (part| TRUE | evaluated 16536 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 16536 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
|
? innerEnd : innerStart) - innerRadius * c; | 16536 |
| 309 | ss = innerSecondaryStart - innerRadius * s; | - |
| 310 | se = innerSecondaryEnd + innerRadius * s; | - |
| 311 | gradientPos = ((part| TRUE | evaluated 16536 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 16536 times by 9 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
|
? innerLength : 0) + radius - innerRadius * c) / length; | 16536 |
| 312 | }executed 33072 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
else { | 33072 |
| 313 | p = (part| TRUE | evaluated 140 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquicklistview
- tst_qquicktaphandler
| | FALSE | evaluated 140 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquicklistview
- tst_qquicktaphandler
|
? innerEnd + innerRadius : innerStart - innerRadius); | 140 |
| 314 | ss = innerSecondaryStart - innerRadius; | - |
| 315 | se = innerSecondaryEnd + innerRadius; | - |
| 316 | gradientPos = ((part| TRUE | evaluated 140 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquicklistview
- tst_qquicktaphandler
| | FALSE | evaluated 140 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquicklistview
- tst_qquicktaphandler
|
? innerLength + innerRadius : -innerRadius) + radius) / length; | 140 |
| 317 | }executed 280 times by 3 tests: end of blockExecuted by:- tst_flickableinterop
- tst_qquicklistview
- tst_qquicktaphandler
| 280 |
| 318 | float outerEdge = (part| TRUE | evaluated 16676 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 16676 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
|
? innerEnd : innerStart) - outerRadius * c; | 16676 |
| 319 | float outerSecondaryStart = innerSecondaryStart - outerRadius * s; | - |
| 320 | float outerSecondaryEnd = innerSecondaryEnd + outerRadius * s; | - |
| 321 | | - |
| 322 | while (nextGradientStop <= lastGradientStop| TRUE | evaluated 146 times by 1 test | | FALSE | evaluated 33234 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
|
&& stops.at(nextGradientStop).first <= gradientPos| TRUE | evaluated 28 times by 1 test | | FALSE | evaluated 118 times by 1 test |
) { | 28-33234 |
| 323 | | - |
| 324 | float gp = (innerStart - radius) + stops.at(nextGradientStop).first * length; | - |
| 325 | float t = (gp - pp) / (p - pp); | - |
| 326 | float gis = pss * (1 - t) + t * ss; | - |
| 327 | float gie = pse * (1 - t) + t * se; | - |
| 328 | | - |
| 329 | fillColor = colorToColor4ub(stops.at(nextGradientStop).second); | - |
| 330 | | - |
| 331 | if (hasFill| TRUE | evaluated 28 times by 1 test | | FALSE | never evaluated |
) { | 0-28 |
| 332 | indices[fillHead++] = index; | - |
| 333 | indices[fillHead++] = index + 1; | - |
| 334 | }executed 28 times by 1 test: end of block | 28 |
| 335 | | - |
| 336 | if (penWidth| TRUE | evaluated 28 times by 1 test | | FALSE | never evaluated |
) { | 0-28 |
| 337 | --borderHead; | - |
| 338 | indices[borderHead] = indices[borderHead + 2]; | - |
| 339 | indices[--borderHead] = index + 2; | - |
| 340 | indices[borderTail++] = index + 3; | - |
| 341 | indices[borderTail] = indices[borderTail - 2]; | - |
| 342 | ++borderTail; | - |
| 343 | }executed 28 times by 1 test: end of block | 28 |
| 344 | | - |
| 345 | if (m_antialiasing| TRUE | evaluated 28 times by 1 test | | FALSE | never evaluated |
) { | 0-28 |
| 346 | indices[--innerAAHead] = index + 2; | - |
| 347 | indices[--innerAAHead] = index; | - |
| 348 | indices[innerAATail++] = index + 1; | - |
| 349 | indices[innerAATail++] = index + 3; | - |
| 350 | | - |
| 351 | bool lower = stops.at(nextGradientStop).first > 0.5f; | - |
| 352 | float dp = lower| TRUE | evaluated 22 times by 1 test | | FALSE | evaluated 6 times by 1 test |
? qMin(0.0f, length - gp - delta) : qMax(0.0f, delta - gp); | 6-22 |
| 353 | smoothVertices[index++].set(gp, gie, fillColor, dp, secondaryLength - gie - delta, m_gradient_is_vertical); | - |
| 354 | smoothVertices[index++].set(gp, gis, fillColor, dp, delta - gis, m_gradient_is_vertical); | - |
| 355 | if (penWidth| TRUE | evaluated 28 times by 1 test | | FALSE | never evaluated |
) { | 0-28 |
| 356 | smoothVertices[index++].set(gp, gie, borderColor, -0.49f * penWidth * c, 0.49f * penWidth * s, m_gradient_is_vertical); | - |
| 357 | smoothVertices[index++].set(gp, gis, borderColor, -0.49f * penWidth * c, -0.49f * penWidth * s, m_gradient_is_vertical); | - |
| 358 | }executed 28 times by 1 test: end of block else { | 28 |
| 359 | dp = lower| TRUE | never evaluated | | FALSE | never evaluated |
? delta : -delta; | 0 |
| 360 | smoothVertices[index++].set(gp, gie, transparent, dp, delta, m_gradient_is_vertical); | - |
| 361 | smoothVertices[index++].set(gp, gis, transparent, dp, -delta, m_gradient_is_vertical); | - |
| 362 | } never executed: end of block | 0 |
| 363 | } else { | - |
| 364 | vertices[index++].set(gp, gie, fillColor, m_gradient_is_vertical); | - |
| 365 | vertices[index++].set(gp, gis, fillColor, m_gradient_is_vertical); | - |
| 366 | if (penWidth| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 367 | vertices[index++].set(gp, gie, borderColor, m_gradient_is_vertical); | - |
| 368 | vertices[index++].set(gp, gis, borderColor, m_gradient_is_vertical); | - |
| 369 | } never executed: end of block | 0 |
| 370 | } never executed: end of block | 0 |
| 371 | ++nextGradientStop; | - |
| 372 | }executed 28 times by 1 test: end of block | 28 |
| 373 | | - |
| 374 | if (!stops.isEmpty()| TRUE | evaluated 5300 times by 3 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquicktaphandler
| | FALSE | evaluated 28052 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
|
) { | 5300-28052 |
| 375 | if (nextGradientStop == 0| TRUE | never evaluated | | FALSE | evaluated 5300 times by 3 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquicktaphandler
|
) { | 0-5300 |
| 376 | fillColor = colorToColor4ub(stops.at(0).second); | - |
| 377 | } never executed: end of block else if (nextGradientStop == stops.size()| TRUE | evaluated 36 times by 1 test | | FALSE | evaluated 5264 times by 3 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquicktaphandler
|
) { | 0-5264 |
| 378 | fillColor = colorToColor4ub(stops.last().second); | - |
| 379 | }executed 36 times by 1 test: end of block else { | 36 |
| 380 | const QGradientStop &prev = stops.at(nextGradientStop - 1); | - |
| 381 | const QGradientStop &next = stops.at(nextGradientStop); | - |
| 382 | float t = (gradientPos - prev.first) / (next.first - prev.first); | - |
| 383 | fillColor = colorToColor4ub(prev.second) * (1 - t) + colorToColor4ub(next.second) * t; | - |
| 384 | }executed 5264 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquicktaphandler
| 5264 |
| 385 | } | - |
| 386 | | - |
| 387 | if (hasFill| TRUE | evaluated 21722 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 11630 times by 3 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquicktaphandler
|
) { | 11630-21722 |
| 388 | indices[fillHead++] = index; | - |
| 389 | indices[fillHead++] = index + 1; | - |
| 390 | }executed 21722 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| 21722 |
| 391 | | - |
| 392 | if (penWidth| TRUE | evaluated 25582 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 7770 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquicktaphandler
|
) { | 7770-25582 |
| 393 | indices[--borderHead] = index + 4; | - |
| 394 | indices[--borderHead] = index + 2; | - |
| 395 | indices[borderTail++] = index + 3; | - |
| 396 | indices[borderTail++] = index + 5; | - |
| 397 | }executed 25582 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| 25582 |
| 398 | | - |
| 399 | if (m_antialiasing| TRUE | evaluated 33352 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | never evaluated |
) { | 0-33352 |
| 400 | indices[--innerAAHead] = index + 2; | - |
| 401 | indices[--innerAAHead] = index; | - |
| 402 | indices[innerAATail++] = index + 1; | - |
| 403 | indices[innerAATail++] = index + 3; | - |
| 404 | | - |
| 405 | float dp = part| TRUE | evaluated 16676 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 16676 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
|
? qMin(0.0f, length - p - delta) : qMax(0.0f, delta - p); | 16676 |
| 406 | smoothVertices[index++].set(p, se, fillColor, dp, secondaryLength - se - delta, m_gradient_is_vertical); | - |
| 407 | smoothVertices[index++].set(p, ss, fillColor, dp, delta - ss, m_gradient_is_vertical); | - |
| 408 | | - |
| 409 | dp = part| TRUE | evaluated 16676 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 16676 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
|
? delta : -delta; | 16676 |
| 410 | if (penWidth| TRUE | evaluated 25582 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 7770 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquicktaphandler
|
) { | 7770-25582 |
| 411 | smoothVertices[index++].set(p, se, borderColor, -0.49f * penWidth * c, 0.49f * penWidth * s, m_gradient_is_vertical); | - |
| 412 | smoothVertices[index++].set(p, ss, borderColor, -0.49f * penWidth * c, -0.49f * penWidth * s, m_gradient_is_vertical); | - |
| 413 | smoothVertices[index++].set(outerEdge, outerSecondaryEnd, borderColor, 0.49f * penWidth * c, -0.49f * penWidth * s, m_gradient_is_vertical); | - |
| 414 | smoothVertices[index++].set(outerEdge, outerSecondaryStart, borderColor, 0.49f * penWidth * c, 0.49f * penWidth * s, m_gradient_is_vertical); | - |
| 415 | smoothVertices[index++].set(outerEdge, outerSecondaryEnd, transparent, dp, delta, m_gradient_is_vertical); | - |
| 416 | smoothVertices[index++].set(outerEdge, outerSecondaryStart, transparent, dp, -delta, m_gradient_is_vertical); | - |
| 417 | | - |
| 418 | indices[--outerAAHead] = index - 2; | - |
| 419 | indices[--outerAAHead] = index - 4; | - |
| 420 | indices[outerAATail++] = index - 3; | - |
| 421 | indices[outerAATail++] = index - 1; | - |
| 422 | }executed 25582 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
else { | 25582 |
| 423 | smoothVertices[index++].set(p, se, transparent, dp, delta, m_gradient_is_vertical); | - |
| 424 | smoothVertices[index++].set(p, ss, transparent, dp, -delta, m_gradient_is_vertical); | - |
| 425 | }executed 7770 times by 7 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquicktaphandler
| 7770 |
| 426 | } else { | - |
| 427 | vertices[index++].set(p, se, fillColor, m_gradient_is_vertical); | - |
| 428 | vertices[index++].set(p, ss, fillColor, m_gradient_is_vertical); | - |
| 429 | if (penWidth| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 430 | vertices[index++].set(p, se, borderColor, m_gradient_is_vertical); | - |
| 431 | vertices[index++].set(p, ss, borderColor, m_gradient_is_vertical); | - |
| 432 | vertices[index++].set(outerEdge, outerSecondaryEnd, borderColor, m_gradient_is_vertical); | - |
| 433 | vertices[index++].set(outerEdge, outerSecondaryStart, borderColor, m_gradient_is_vertical); | - |
| 434 | } never executed: end of block | 0 |
| 435 | } never executed: end of block | 0 |
| 436 | | - |
| 437 | pp = p; | - |
| 438 | pss = ss; | - |
| 439 | pse = se; | - |
| 440 | | - |
| 441 | | - |
| 442 | qreal tmp = c; | - |
| 443 | c = c * cosStep - s * sinStep; | - |
| 444 | s = s * cosStep + tmp * sinStep; | - |
| 445 | }executed 33352 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| 33352 |
| 446 | }executed 4782 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| 4782 |
| 447 | ((index == vertexCount) ? static_cast<void>(0) : qt_assert("index == vertexCount", __FILE__, 505)); | - |
| 448 | | - |
| 449 | | - |
| 450 | if (m_antialiasing| TRUE | evaluated 2391 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | never evaluated |
) { | 0-2391 |
| 451 | indices[--innerAAHead] = indices[innerAATail - 1]; | - |
| 452 | indices[--innerAAHead] = indices[innerAATail - 2]; | - |
| 453 | ((innerAATail <= indexCount) ? static_cast<void>(0) : qt_assert("innerAATail <= indexCount", __FILE__, 511)); | - |
| 454 | }executed 2391 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| 2391 |
| 455 | if (penWidth| TRUE | evaluated 1687 times by 8 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | evaluated 704 times by 7 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquicktaphandler
|
) { | 704-1687 |
| 456 | indices[--borderHead] = indices[borderTail - 1]; | - |
| 457 | indices[--borderHead] = indices[borderTail - 2]; | - |
| 458 | ((borderTail <= indexCount) ? static_cast<void>(0) : qt_assert("borderTail <= indexCount", __FILE__, 516)); | - |
| 459 | }executed 1687 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| 1687 |
| 460 | if (m_antialiasing| TRUE | evaluated 2391 times by 10 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| | FALSE | never evaluated |
&& penWidth) { | 0-2391 |
| 461 | indices[--outerAAHead] = indices[outerAATail - 1]; | - |
| 462 | indices[--outerAAHead] = indices[outerAATail - 2]; | - |
| 463 | ((outerAATail == indexCount) ? static_cast<void>(0) : qt_assert("outerAATail == indexCount", __FILE__, 521)); | - |
| 464 | }executed 1687 times by 8 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
| 1687 |
| 465 | }executed 2391 times by 10 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquicktaphandler
else { | 2391 |
| 466 | | - |
| 467 | QRectF innerRect = m_rect; | - |
| 468 | QRectF outerRect = m_rect; | - |
| 469 | | - |
| 470 | if (penWidth| TRUE | evaluated 42521 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
| | FALSE | evaluated 32256 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) | 32256-42521 |
| 471 | innerRect.adjust(1.0f * penWidth, 1.0f * penWidth, -1.0f * penWidth, -1.0f * penWidth);executed 42521 times by 13 tests: innerRect.adjust(1.0f * penWidth, 1.0f * penWidth, -1.0f * penWidth, -1.0f * penWidth);Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
| 42521 |
| 472 | | - |
| 473 | float delta = qMin(width, height) * 0.5f; | - |
| 474 | int innerVertexCount = 4 + gradientIntersections * 2; | - |
| 475 | int outerVertexCount = 4; | - |
| 476 | int vertexCount = innerVertexCount; | - |
| 477 | if (m_antialiasing| TRUE | evaluated 1322 times by 3 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_scenegraph
| | FALSE | evaluated 73455 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
|| penWidth) | 1322-73455 |
| 478 | vertexCount += innerVertexCount;executed 43427 times by 14 tests: vertexCount += innerVertexCount;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_scenegraph
| 43427 |
| 479 | if (penWidth| TRUE | evaluated 42521 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
| | FALSE | evaluated 32256 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) | 32256-42521 |
| 480 | vertexCount += outerVertexCount;executed 42521 times by 13 tests: vertexCount += outerVertexCount;Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
| 42521 |
| 481 | if (m_antialiasing| TRUE | evaluated 1322 times by 3 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_scenegraph
| | FALSE | evaluated 73455 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
&& penWidth) | 1322-73455 |
| 482 | vertexCount += outerVertexCount;executed 416 times by 2 tests: vertexCount += outerVertexCount;Executed by:- tst_examples
- tst_multipointtoucharea_interop
| 416 |
| 483 | | - |
| 484 | int fillIndexCount = innerVertexCount; | - |
| 485 | int innerAAIndexCount = innerVertexCount * 2 + 2; | - |
| 486 | int borderIndexCount = innerVertexCount * 2 + 2; | - |
| 487 | int outerAAIndexCount = outerVertexCount * 2 + 2; | - |
| 488 | int indexCount = 0; | - |
| 489 | int fillHead = 0; | - |
| 490 | int innerAAHead = 0; | - |
| 491 | int innerAATail = 0; | - |
| 492 | int borderHead = 0; | - |
| 493 | int borderTail = 0; | - |
| 494 | int outerAAHead = 0; | - |
| 495 | int outerAATail = 0; | - |
| 496 | bool hasFill = m_color.alpha() > 0| TRUE | evaluated 74755 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 22 times by 2 testsEvaluated by:- tst_qquickfocusscope
- tst_qquicktextedit
|
|| !stops.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 22 times by 2 testsEvaluated by:- tst_qquickfocusscope
- tst_qquicktextedit
|
; | 0-74755 |
| 497 | if (hasFill| TRUE | evaluated 74755 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 22 times by 2 testsEvaluated by:- tst_qquickfocusscope
- tst_qquicktextedit
|
) | 22-74755 |
| 498 | indexCount += fillIndexCount;executed 74755 times by 65 tests: indexCount += fillIndexCount;Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 74755 |
| 499 | if (m_antialiasing| TRUE | evaluated 1322 times by 3 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_scenegraph
| | FALSE | evaluated 73455 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) { | 1322-73455 |
| 500 | innerAATail = innerAAHead = indexCount + (innerAAIndexCount >> 1) + 1; | - |
| 501 | indexCount += innerAAIndexCount; | - |
| 502 | }executed 1322 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_scenegraph
| 1322 |
| 503 | if (penWidth| TRUE | evaluated 42521 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
| | FALSE | evaluated 32256 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) { | 32256-42521 |
| 504 | borderTail = borderHead = indexCount + (borderIndexCount >> 1) + 1; | - |
| 505 | indexCount += borderIndexCount; | - |
| 506 | }executed 42521 times by 13 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
| 42521 |
| 507 | if (m_antialiasing| TRUE | evaluated 1322 times by 3 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_scenegraph
| | FALSE | evaluated 73455 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
&& penWidth) { | 1322-73455 |
| 508 | outerAATail = outerAAHead = indexCount + (outerAAIndexCount >> 1) + 1; | - |
| 509 | indexCount += outerAAIndexCount; | - |
| 510 | }executed 416 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
| 416 |
| 511 | | - |
| 512 | g->allocate(vertexCount, indexCount); | - |
| 513 | vertices = reinterpret_cast<Vertex *>(g->vertexData()); | - |
| 514 | memset(vertices, 0, vertexCount * vertexStride); | - |
| 515 | quint16 *indices = g->indexDataAsUShort(); | - |
| 516 | quint16 index = 0; | - |
| 517 | | - |
| 518 | float innerStart = (m_gradient_is_vertical| TRUE | evaluated 74777 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | never evaluated |
? innerRect.top() : innerRect.left()); | 0-74777 |
| 519 | float innerEnd = (m_gradient_is_vertical| TRUE | evaluated 74777 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | never evaluated |
? innerRect.bottom() : innerRect.right()); | 0-74777 |
| 520 | float outerStart = (m_gradient_is_vertical| TRUE | evaluated 74777 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | never evaluated |
? outerRect.top() : outerRect.left()); | 0-74777 |
| 521 | float outerEnd = (m_gradient_is_vertical| TRUE | evaluated 74777 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | never evaluated |
? outerRect.bottom() : outerRect.right()); | 0-74777 |
| 522 | | - |
| 523 | float innerSecondaryStart = (m_gradient_is_vertical| TRUE | evaluated 74777 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | never evaluated |
? innerRect.left() : innerRect.top()); | 0-74777 |
| 524 | float innerSecondaryEnd = (m_gradient_is_vertical| TRUE | evaluated 74777 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | never evaluated |
? innerRect.right() : innerRect.bottom()); | 0-74777 |
| 525 | float outerSecondaryStart = (m_gradient_is_vertical| TRUE | evaluated 74777 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | never evaluated |
? outerRect.left() : outerRect.top()); | 0-74777 |
| 526 | float outerSecondaryEnd = (m_gradient_is_vertical| TRUE | evaluated 74777 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | never evaluated |
? outerRect.right() : outerRect.bottom()); | 0-74777 |
| 527 | | - |
| 528 | for (int part = -1; part <= 1| TRUE | evaluated 149554 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 74777 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
; part += 2) { | 74777-149554 |
| 529 | float innerEdge = (part == 1| TRUE | evaluated 74777 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 74777 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
? innerEnd : innerStart); | 74777 |
| 530 | float outerEdge = (part == 1| TRUE | evaluated 74777 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 74777 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
? outerEnd : outerStart); | 74777 |
| 531 | gradientPos = (innerEdge - innerStart + penWidth) / length; | - |
| 532 | | - |
| 533 | while (nextGradientStop <= lastGradientStop| TRUE | evaluated 60 times by 2 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
| | FALSE | evaluated 149532 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
&& stops.at(nextGradientStop).first <= gradientPos| TRUE | evaluated 38 times by 2 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
| | FALSE | evaluated 22 times by 2 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
|
) { | 22-149532 |
| 534 | | - |
| 535 | float gp = (innerStart - penWidth) + stops.at(nextGradientStop).first * length; | - |
| 536 | | - |
| 537 | fillColor = colorToColor4ub(stops.at(nextGradientStop).second); | - |
| 538 | | - |
| 539 | if (hasFill| TRUE | evaluated 38 times by 2 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
| | FALSE | never evaluated |
) { | 0-38 |
| 540 | indices[fillHead++] = index; | - |
| 541 | indices[fillHead++] = index + 1; | - |
| 542 | }executed 38 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickitemlayer
| 38 |
| 543 | | - |
| 544 | if (penWidth| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 36 times by 2 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
|
) { | 2-36 |
| 545 | --borderHead; | - |
| 546 | indices[borderHead] = indices[borderHead + 2]; | - |
| 547 | indices[--borderHead] = index + 2; | - |
| 548 | indices[borderTail++] = index + 3; | - |
| 549 | indices[borderTail] = indices[borderTail - 2]; | - |
| 550 | ++borderTail; | - |
| 551 | }executed 2 times by 1 test: end of block | 2 |
| 552 | | - |
| 553 | if (m_antialiasing| TRUE | never evaluated | | FALSE | evaluated 38 times by 2 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
|
) { | 0-38 |
| 554 | indices[--innerAAHead] = index + 2; | - |
| 555 | indices[--innerAAHead] = index; | - |
| 556 | indices[innerAATail++] = index + 1; | - |
| 557 | indices[innerAATail++] = index + 3; | - |
| 558 | | - |
| 559 | bool lower = stops.at(nextGradientStop).first > 0.5f; | - |
| 560 | float dp = lower| TRUE | never evaluated | | FALSE | never evaluated |
? qMin(0.0f, length - gp - delta) : qMax(0.0f, delta - gp); | 0 |
| 561 | smoothVertices[index++].set(gp, innerSecondaryEnd, fillColor, dp, secondaryLength - innerSecondaryEnd - delta, m_gradient_is_vertical); | - |
| 562 | smoothVertices[index++].set(gp, innerSecondaryStart, fillColor, dp, delta - innerSecondaryStart, m_gradient_is_vertical); | - |
| 563 | if (penWidth| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 564 | smoothVertices[index++].set(gp, innerSecondaryEnd, borderColor, (lower ? 0.49f : -0.49f) * penWidth, 0.49f * penWidth, m_gradient_is_vertical); | - |
| 565 | smoothVertices[index++].set(gp, innerSecondaryStart, borderColor, (lower ? 0.49f : -0.49f) * penWidth, -0.49f * penWidth, m_gradient_is_vertical); | - |
| 566 | } never executed: end of block else { | 0 |
| 567 | smoothVertices[index++].set(gp, innerSecondaryEnd, transparent, lower ? delta : -delta, delta, m_gradient_is_vertical); | - |
| 568 | smoothVertices[index++].set(gp, innerSecondaryStart, transparent, lower ? delta : -delta, -delta, m_gradient_is_vertical); | - |
| 569 | } never executed: end of block | 0 |
| 570 | } else { | - |
| 571 | vertices[index++].set(gp, innerSecondaryEnd, fillColor, m_gradient_is_vertical); | - |
| 572 | vertices[index++].set(gp, innerSecondaryStart, fillColor, m_gradient_is_vertical); | - |
| 573 | if (penWidth| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 36 times by 2 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
|
) { | 2-36 |
| 574 | vertices[index++].set(gp, innerSecondaryEnd, borderColor, m_gradient_is_vertical); | - |
| 575 | vertices[index++].set(gp, innerSecondaryStart, borderColor, m_gradient_is_vertical); | - |
| 576 | }executed 2 times by 1 test: end of block | 2 |
| 577 | }executed 38 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickitemlayer
| 38 |
| 578 | ++nextGradientStop; | - |
| 579 | }executed 38 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickitemlayer
| 38 |
| 580 | | - |
| 581 | if (!stops.isEmpty()| TRUE | evaluated 272 times by 3 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
- tst_scenegraph
| | FALSE | evaluated 149282 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) { | 272-149282 |
| 582 | if (nextGradientStop == 0| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 270 times by 3 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
- tst_scenegraph
|
) { | 2-270 |
| 583 | fillColor = colorToColor4ub(stops.at(0).second); | - |
| 584 | }executed 2 times by 1 test: end of block else if (nextGradientStop == stops.size()| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
| | FALSE | evaluated 264 times by 3 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
- tst_scenegraph
|
) { | 2-264 |
| 585 | fillColor = colorToColor4ub(stops.last().second); | - |
| 586 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickitemlayer
else { | 6 |
| 587 | const QGradientStop &prev = stops.at(nextGradientStop - 1); | - |
| 588 | const QGradientStop &next = stops.at(nextGradientStop); | - |
| 589 | float t = (gradientPos - prev.first) / (next.first - prev.first); | - |
| 590 | fillColor = colorToColor4ub(prev.second) * (1 - t) + colorToColor4ub(next.second) * t; | - |
| 591 | }executed 264 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qquickitemlayer
- tst_scenegraph
| 264 |
| 592 | } | - |
| 593 | | - |
| 594 | if (hasFill| TRUE | evaluated 149510 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| | FALSE | evaluated 44 times by 2 testsEvaluated by:- tst_qquickfocusscope
- tst_qquicktextedit
|
) { | 44-149510 |
| 595 | indices[fillHead++] = index; | - |
| 596 | indices[fillHead++] = index + 1; | - |
| 597 | }executed 149510 times by 65 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 149510 |
| 598 | | - |
| 599 | if (penWidth| TRUE | evaluated 85042 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
| | FALSE | evaluated 64512 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) { | 64512-85042 |
| 600 | indices[--borderHead] = index + 4; | - |
| 601 | indices[--borderHead] = index + 2; | - |
| 602 | indices[borderTail++] = index + 3; | - |
| 603 | indices[borderTail++] = index + 5; | - |
| 604 | }executed 85042 times by 13 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
| 85042 |
| 605 | | - |
| 606 | if (m_antialiasing| TRUE | evaluated 2644 times by 3 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_scenegraph
| | FALSE | evaluated 146910 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) { | 2644-146910 |
| 607 | indices[--innerAAHead] = index + 2; | - |
| 608 | indices[--innerAAHead] = index; | - |
| 609 | indices[innerAATail++] = index + 1; | - |
| 610 | indices[innerAATail++] = index + 3; | - |
| 611 | | - |
| 612 | float dp = part == 1| TRUE | evaluated 1322 times by 3 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_scenegraph
| | FALSE | evaluated 1322 times by 3 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_scenegraph
|
? qMin(0.0f, length - innerEdge - delta) : qMax(0.0f, delta - innerEdge); | 1322 |
| 613 | smoothVertices[index++].set(innerEdge, innerSecondaryEnd, fillColor, dp, secondaryLength - innerSecondaryEnd - delta, m_gradient_is_vertical); | - |
| 614 | smoothVertices[index++].set(innerEdge, innerSecondaryStart, fillColor, dp, delta - innerSecondaryStart, m_gradient_is_vertical); | - |
| 615 | | - |
| 616 | if (penWidth| TRUE | evaluated 832 times by 2 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
| | FALSE | evaluated 1812 times by 3 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_scenegraph
|
) { | 832-1812 |
| 617 | smoothVertices[index++].set(innerEdge, innerSecondaryEnd, borderColor, 0.49f * penWidth * part, 0.49f * penWidth, m_gradient_is_vertical); | - |
| 618 | smoothVertices[index++].set(innerEdge, innerSecondaryStart, borderColor, 0.49f * penWidth * part, -0.49f * penWidth, m_gradient_is_vertical); | - |
| 619 | smoothVertices[index++].set(outerEdge, outerSecondaryEnd, borderColor, -0.49f * penWidth * part, -0.49f * penWidth, m_gradient_is_vertical); | - |
| 620 | smoothVertices[index++].set(outerEdge, outerSecondaryStart, borderColor, -0.49f * penWidth * part, 0.49f * penWidth, m_gradient_is_vertical); | - |
| 621 | smoothVertices[index++].set(outerEdge, outerSecondaryEnd, transparent, delta * part, delta, m_gradient_is_vertical); | - |
| 622 | smoothVertices[index++].set(outerEdge, outerSecondaryStart, transparent, delta * part, -delta, m_gradient_is_vertical); | - |
| 623 | | - |
| 624 | indices[--outerAAHead] = index - 2; | - |
| 625 | indices[--outerAAHead] = index - 4; | - |
| 626 | indices[outerAATail++] = index - 3; | - |
| 627 | indices[outerAATail++] = index - 1; | - |
| 628 | }executed 832 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
else { | 832 |
| 629 | smoothVertices[index++].set(innerEdge, innerSecondaryEnd, transparent, delta * part, delta, m_gradient_is_vertical); | - |
| 630 | smoothVertices[index++].set(innerEdge, innerSecondaryStart, transparent, delta * part, -delta, m_gradient_is_vertical); | - |
| 631 | }executed 1812 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_scenegraph
| 1812 |
| 632 | } else { | - |
| 633 | vertices[index++].set(innerEdge, innerSecondaryEnd, fillColor, m_gradient_is_vertical); | - |
| 634 | vertices[index++].set(innerEdge, innerSecondaryStart, fillColor, m_gradient_is_vertical); | - |
| 635 | if (penWidth| TRUE | evaluated 84210 times by 12 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
| | FALSE | evaluated 62700 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) { | 62700-84210 |
| 636 | vertices[index++].set(innerEdge, innerSecondaryEnd, borderColor, m_gradient_is_vertical); | - |
| 637 | vertices[index++].set(innerEdge, innerSecondaryStart, borderColor, m_gradient_is_vertical); | - |
| 638 | vertices[index++].set(outerEdge, outerSecondaryEnd, borderColor, m_gradient_is_vertical); | - |
| 639 | vertices[index++].set(outerEdge, outerSecondaryStart, borderColor, m_gradient_is_vertical); | - |
| 640 | }executed 84210 times by 12 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
| 84210 |
| 641 | }executed 146910 times by 65 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 146910 |
| 642 | } | - |
| 643 | ((index == vertexCount) ? static_cast<void>(0) : qt_assert("index == vertexCount", __FILE__, 701)); | - |
| 644 | | - |
| 645 | | - |
| 646 | if (m_antialiasing| TRUE | evaluated 1322 times by 3 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_scenegraph
| | FALSE | evaluated 73455 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) { | 1322-73455 |
| 647 | indices[--innerAAHead] = indices[innerAATail - 1]; | - |
| 648 | indices[--innerAAHead] = indices[innerAATail - 2]; | - |
| 649 | ((innerAATail <= indexCount) ? static_cast<void>(0) : qt_assert("innerAATail <= indexCount", __FILE__, 707)); | - |
| 650 | }executed 1322 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_scenegraph
| 1322 |
| 651 | if (penWidth| TRUE | evaluated 42521 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
| | FALSE | evaluated 32256 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
) { | 32256-42521 |
| 652 | indices[--borderHead] = indices[borderTail - 1]; | - |
| 653 | indices[--borderHead] = indices[borderTail - 2]; | - |
| 654 | ((borderTail <= indexCount) ? static_cast<void>(0) : qt_assert("borderTail <= indexCount", __FILE__, 712)); | - |
| 655 | }executed 42521 times by 13 tests: end of blockExecuted by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
| 42521 |
| 656 | if (m_antialiasing| TRUE | evaluated 1322 times by 3 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_scenegraph
| | FALSE | evaluated 73455 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
&& penWidth) { | 1322-73455 |
| 657 | indices[--outerAAHead] = indices[outerAATail - 1]; | - |
| 658 | indices[--outerAAHead] = indices[outerAATail - 2]; | - |
| 659 | ((outerAATail == indexCount) ? static_cast<void>(0) : qt_assert("outerAATail == indexCount", __FILE__, 717)); | - |
| 660 | }executed 416 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
| 416 |
| 661 | }executed 74777 times by 65 tests: end of blockExecuted by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
| 74777 |
| 662 | } | - |
| 663 | | - |
| 664 | | - |
| | |