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