OpenCoverage

qquickwindow.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickwindow.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10-
11-
12-
13-
14-
15-
16-
17-
18const QLoggingCategory &DBG_TOUCH() { static const QLoggingCategory category("qt.quick.touch"); return
executed 3630 times by 10 tests: return category;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
category;
executed 3630 times by 10 tests: return category;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
}
3630
19const QLoggingCategory &DBG_TOUCH_TARGET() { static const QLoggingCategory category("qt.quick.touch.target"); return
executed 461 times by 10 tests: return category;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
category;
executed 461 times by 10 tests: return category;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
}
461
20const QLoggingCategory &DBG_MOUSE() { static const QLoggingCategory category("qt.quick.mouse"); return
executed 10305 times by 16 tests: return category;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
category;
executed 10305 times by 16 tests: return category;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
}
10305
21const QLoggingCategory &DBG_MOUSE_TARGET() { static const QLoggingCategory category("qt.quick.mouse.target"); return
executed 1852 times by 13 tests: return category;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
category;
executed 1852 times by 13 tests: return category;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
}
1852
22const QLoggingCategory &lcWheelTarget() { static const QLoggingCategory category("qt.quick.wheel.target"); return
executed 4 times by 2 tests: return category;
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
category;
executed 4 times by 2 tests: return category;
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
}
4
23const QLoggingCategory &lcGestureTarget() { static const QLoggingCategory category("qt.quick.gesture.target"); return
never executed: return category;
category;
never executed: return category;
}
0
24const QLoggingCategory &DBG_HOVER_TRACE() { static const QLoggingCategory category("qt.quick.hover.trace"); return
executed 2375020 times by 42 tests: return category;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlpropertymap
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • ...
category;
executed 2375020 times by 42 tests: return category;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlpropertymap
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • ...
}
2375020
25const QLoggingCategory &DBG_FOCUS() { static const QLoggingCategory category("qt.quick.focus"); return
executed 47249 times by 22 tests: return category;
Executed by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
category;
executed 47249 times by 22 tests: return category;
Executed by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
}
47249
26const QLoggingCategory &DBG_DIRTY() { static const QLoggingCategory category("qt.quick.dirty"); return
executed 599283 times by 76 tests: return category;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
category;
executed 599283 times by 76 tests: return category;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
}
599283
27const QLoggingCategory &lcTransient() { static const QLoggingCategory category("qt.quick.window.transient"); return
executed 24 times by 3 tests: return category;
Executed by:
  • tst_qqmlcomponent
  • tst_qquickloader
  • tst_qquickmousearea
category;
executed 24 times by 3 tests: return category;
Executed by:
  • tst_qqmlcomponent
  • tst_qquickloader
  • tst_qquickmousearea
}
24
28-
29extern __attribute__((visibility("default"))) QImage qt_gl_read_framebuffer(const QSize &size, bool alpha_format, bool include_alpha);-
30-
31bool QQuickWindowPrivate::defaultAlphaBuffer = false;-
32-
33-
34-
35-
36QQuickWindow::TextRenderType QQuickWindowPrivate::textRenderType = QQuickWindow::QtTextRendering;-
37-
38-
39void QQuickWindowPrivate::updateFocusItemTransform()-
40{-
41-
42 QQuickWindow * const q = q_func();-
43 QQuickItem *focus = q->activeFocusItem();-
44 if (focus
focusDescription
TRUEevaluated 3269 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEnever evaluated
&& QGuiApplication::focusObject() == focus
QGuiApplicatio...ect() == focusDescription
TRUEevaluated 3265 times by 17 tests
Evaluated by:
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickaccessible
) {
0-3269
45 QQuickItemPrivate *focusPrivate = QQuickItemPrivate::get(focus);-
46 QGuiApplication::inputMethod()->setInputItemTransform(focusPrivate->itemToWindowTransform());-
47 QGuiApplication::inputMethod()->setInputItemRectangle(QRectF(0, 0, focusPrivate->width, focusPrivate->height));-
48 focus->updateInputMethod(Qt::ImInputItemClipRectangle);-
49 }
executed 3265 times by 17 tests: end of block
Executed by:
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
3265
50-
51}
executed 3269 times by 18 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
3269
52-
53class QQuickWindowIncubationController : public QObject, public QQmlIncubationController-
54{-
55 public:-
56#pragma GCC diagnostic push-
57 -
58#pragma GCC diagnostic ignored "-Wsuggest-override"-
59 static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private:-
60#pragma GCC diagnostic ignored "-Wattributes"-
61 __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **);-
62#pragma GCC diagnostic pop-
63 struct QPrivateSignal {};-
64-
65public:-
66 QQuickWindowIncubationController(QSGRenderLoop *loop)-
67 : m_renderLoop(loop), m_timer(0)-
68 {-
69-
70 m_incubation_time = qMax(1, int(1000 / QGuiApplication::primaryScreen()->refreshRate()) / 3);-
71-
72 QAnimationDriver *animationDriver = m_renderLoop->animationDriver();-
73 if (animationDriver
animationDriverDescription
TRUEnever evaluated
FALSEevaluated 3308 times by 84 tests
Evaluated by:
  • tst_drawingmodes
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickdynamicpropertyanimation
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
) {
0-3308
74 connect(animationDriver, qFlagLocation("2""stopped()" "\0" __FILE__ ":" "136"), this, qFlagLocation("1""animationStopped()" "\0" __FILE__ ":" "136"));-
75 connect(m_renderLoop, qFlagLocation("2""timeToIncubate()" "\0" __FILE__ ":" "137"), this, qFlagLocation("1""incubate()" "\0" __FILE__ ":" "137"));-
76 }
never executed: end of block
0
77 }
executed 3308 times by 84 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickdynamicpropertyanimation
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
3308
78-
79protected:-
80 void timerEvent(QTimerEvent *) override-
81 {-
82 killTimer(m_timer);-
83 m_timer = 0;-
84 incubate();-
85 }
executed 1442 times by 6 tests: end of block
Executed by:
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
1442
86-
87 void incubateAgain() {-
88 if (m_timer == 0
m_timer == 0Description
TRUEevaluated 1485 times by 7 tests
Evaluated by:
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
FALSEevaluated 1310 times by 6 tests
Evaluated by:
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
) {
1310-1485
89-
90-
91 m_timer = startTimer(m_incubation_time);-
92 }
executed 1485 times by 7 tests: end of block
Executed by:
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
1485
93 }
executed 2795 times by 7 tests: end of block
Executed by:
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
2795
94-
95public :-
96 void incubate() {-
97 if (incubatingObjectCount()
incubatingObjectCount()Description
TRUEevaluated 949 times by 6 tests
Evaluated by:
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
FALSEevaluated 493 times by 5 tests
Evaluated by:
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
) {
493-949
98 if (m_renderLoop->interleaveIncubation()
m_renderLoop->...veIncubation()Description
TRUEnever evaluated
FALSEevaluated 949 times by 6 tests
Evaluated by:
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
) {
0-949
99 incubateFor(m_incubation_time);-
100 }
never executed: end of block
else {
0
101 incubateFor(m_incubation_time * 2);-
102 if (incubatingObjectCount()
incubatingObjectCount()Description
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qqmltypeloader
  • tst_qquicklistview
FALSEevaluated 943 times by 6 tests
Evaluated by:
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
)
6-943
103 incubateAgain();
executed 6 times by 2 tests: incubateAgain();
Executed by:
  • tst_qqmltypeloader
  • tst_qquicklistview
6
104 }
executed 949 times by 6 tests: end of block
Executed by:
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
949
105 }-
106 }
executed 1442 times by 6 tests: end of block
Executed by:
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
1442
107-
108 void animationStopped() { incubate(); }
never executed: end of block
0
109-
110protected:-
111 void incubatingObjectCountChanged(int count) override-
112 {-
113 if (count
countDescription
TRUEevaluated 2789 times by 7 tests
Evaluated by:
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
FALSEevaluated 2610 times by 7 tests
Evaluated by:
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
&& !m_renderLoop->interleaveIncubation()
!m_renderLoop-...veIncubation()Description
TRUEevaluated 2789 times by 7 tests
Evaluated by:
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
FALSEnever evaluated
)
0-2789
114 incubateAgain();
executed 2789 times by 7 tests: incubateAgain();
Executed by:
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
2789
115 }
executed 5399 times by 7 tests: end of block
Executed by:
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
5399
116-
117private:-
118 QSGRenderLoop *m_renderLoop;-
119 int m_incubation_time;-
120 int m_timer;-
121};-
122-
123-
124-
125-
126-
127-
128-
129-
130QAccessibleInterface *QQuickWindow::accessibleRoot() const-
131{-
132 return
executed 10 times by 1 test: return QAccessible::queryAccessibleInterface(const_cast<QQuickWindow*>(this));
Executed by:
  • tst_qquickaccessible
QAccessible::queryAccessibleInterface(const_cast<QQuickWindow*>(this));
executed 10 times by 1 test: return QAccessible::queryAccessibleInterface(const_cast<QQuickWindow*>(this));
Executed by:
  • tst_qquickaccessible
10
133}-
134QQuickRootItem::QQuickRootItem()-
135{-
136}-
137-
138-
139void QQuickWindow::exposeEvent(QExposeEvent *)-
140{-
141 QQuickWindowPrivate * const d = d_func();-
142 if (d->windowManager
d->windowManagerDescription
TRUEevaluated 8057 times by 79 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • ...
FALSEnever evaluated
)
0-8057
143 d->windowManager->exposureChanged(this);
executed 8057 times by 79 tests: d->windowManager->exposureChanged(this);
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • ...
8057
144}
executed 8057 times by 79 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • ...
8057
145-
146-
147void QQuickWindow::resizeEvent(QResizeEvent *ev)-
148{-
149 QQuickWindowPrivate * const d = d_func();-
150 if (d->contentItem
d->contentItemDescription
TRUEevaluated 3935 times by 79 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • ...
FALSEnever evaluated
)
0-3935
151 d->contentItem->setSize(ev->size());
executed 3935 times by 79 tests: d->contentItem->setSize(ev->size());
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • ...
3935
152 if (d->windowManager
d->windowManagerDescription
TRUEevaluated 3935 times by 79 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • ...
FALSEnever evaluated
)
0-3935
153 d->windowManager->resize(this);
executed 3935 times by 79 tests: d->windowManager->resize(this);
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • ...
3935
154}
executed 3935 times by 79 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • ...
3935
155-
156-
157void QQuickWindow::showEvent(QShowEvent *)-
158{-
159 QQuickWindowPrivate * const d = d_func();-
160 if (d->windowManager
d->windowManagerDescription
TRUEevaluated 3968 times by 81 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • ...
FALSEnever evaluated
)
0-3968
161 d->windowManager->show(this);
executed 3968 times by 81 tests: d->windowManager->show(this);
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • ...
3968
162}
executed 3968 times by 81 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • ...
3968
163-
164-
165void QQuickWindow::hideEvent(QHideEvent *)-
166{-
167 QQuickWindowPrivate * const d = d_func();-
168 if (d->windowManager
d->windowManagerDescription
TRUEevaluated 162 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickitem
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_scenegraph
FALSEnever evaluated
)
0-162
169 d->windowManager->hide(this);
executed 162 times by 6 tests: d->windowManager->hide(this);
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickitem
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_scenegraph
162
170}
executed 162 times by 6 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickitem
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_scenegraph
162
171-
172-
173void QQuickWindow::focusOutEvent(QFocusEvent *ev)-
174{-
175 QQuickWindowPrivate * const d = d_func();-
176 if (d->contentItem
d->contentItemDescription
TRUEevaluated 20 times by 5 tests
Evaluated by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
FALSEnever evaluated
)
0-20
177 d->contentItem->setFocus(false, ev->reason());
executed 20 times by 5 tests: d->contentItem->setFocus(false, ev->reason());
Executed by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
20
178}
executed 20 times by 5 tests: end of block
Executed by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
20
179-
180-
181void QQuickWindow::focusInEvent(QFocusEvent *ev)-
182{-
183 QQuickWindowPrivate * const d = d_func();-
184 if (d->contentItem
d->contentItemDescription
TRUEevaluated 1078 times by 17 tests
Evaluated by:
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEnever evaluated
)
0-1078
185 d->contentItem->setFocus(true, ev->reason());
executed 1078 times by 17 tests: d->contentItem->setFocus(true, ev->reason());
Executed by:
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
1078
186 d->updateFocusItemTransform();-
187}
executed 1078 times by 17 tests: end of block
Executed by:
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
1078
188-
189-
190static bool transformDirtyOnItemOrAncestor(const QQuickItem *item)-
191{-
192 while (item
itemDescription
TRUEevaluated 585 times by 5 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 224 times by 5 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
224-585
193 if (QQuickItemPrivate::get(item)->dirtyAttributes & (
QQuickItemPriv...Private::Clip)Description
TRUEevaluated 27 times by 2 tests
Evaluated by:
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 558 times by 5 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
  • tst_qquicktextinput
27-558
194 QQuickItemPrivate::TransformOrigin |
QQuickItemPriv...Private::Clip)Description
TRUEevaluated 27 times by 2 tests
Evaluated by:
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 558 times by 5 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
  • tst_qquicktextinput
27-558
195 QQuickItemPrivate::Transform |
QQuickItemPriv...Private::Clip)Description
TRUEevaluated 27 times by 2 tests
Evaluated by:
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 558 times by 5 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
  • tst_qquicktextinput
27-558
196 QQuickItemPrivate::BasicTransform |
QQuickItemPriv...Private::Clip)Description
TRUEevaluated 27 times by 2 tests
Evaluated by:
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 558 times by 5 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
  • tst_qquicktextinput
27-558
197 QQuickItemPrivate::Position |
QQuickItemPriv...Private::Clip)Description
TRUEevaluated 27 times by 2 tests
Evaluated by:
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 558 times by 5 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
  • tst_qquicktextinput
27-558
198 QQuickItemPrivate::Size |
QQuickItemPriv...Private::Clip)Description
TRUEevaluated 27 times by 2 tests
Evaluated by:
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 558 times by 5 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
  • tst_qquicktextinput
27-558
199 QQuickItemPrivate::ParentChanged |
QQuickItemPriv...Private::Clip)Description
TRUEevaluated 27 times by 2 tests
Evaluated by:
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 558 times by 5 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
  • tst_qquicktextinput
27-558
200 QQuickItemPrivate::Clip)
QQuickItemPriv...Private::Clip)Description
TRUEevaluated 27 times by 2 tests
Evaluated by:
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 558 times by 5 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
27-558
201 return
executed 27 times by 2 tests: return true;
Executed by:
  • tst_qquicktextedit
  • tst_qquicktextinput
true;
executed 27 times by 2 tests: return true;
Executed by:
  • tst_qquicktextedit
  • tst_qquicktextinput
27
202 }-
203 item = item->parentItem();-
204 }
executed 558 times by 5 tests: end of block
Executed by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
  • tst_qquicktextinput
558
205 return
executed 224 times by 5 tests: return false;
Executed by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
  • tst_qquicktextinput
false;
executed 224 times by 5 tests: return false;
Executed by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
  • tst_qquicktextinput
224
206}-
207-
208-
209void QQuickWindowPrivate::polishItems()-
210{-
211-
212-
213-
214-
215-
216-
217-
218 int recursionSafeguard = 0x7fffffff;-
219 while (!itemsToPolish.isEmpty()
!itemsToPolish.isEmpty()Description
TRUEevaluated 331969 times by 35 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmltypeloader
  • tst_qquickanimatedsprite
  • tst_qquickborderimage
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickshape
  • ...
FALSEevaluated 50619 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
&& --
--recursionSafeguard > 0Description
TRUEevaluated 331969 times by 35 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmltypeloader
  • tst_qquickanimatedsprite
  • tst_qquickborderimage
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickshape
  • ...
FALSEnever evaluated
recursionSafeguard > 0
--recursionSafeguard > 0Description
TRUEevaluated 331969 times by 35 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmltypeloader
  • tst_qquickanimatedsprite
  • tst_qquickborderimage
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickshape
  • ...
FALSEnever evaluated
) {
0-331969
220 QQuickItem *item = itemsToPolish.takeLast();-
221 QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item);-
222 itemPrivate->polishScheduled = false;-
223 itemPrivate->updatePolish();-
224 item->updatePolish();-
225 }
executed 331969 times by 35 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmltypeloader
  • tst_qquickanimatedsprite
  • tst_qquickborderimage
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickshape
  • ...
331969
226-
227 if (recursionSafeguard == 0
recursionSafeguard == 0Description
TRUEnever evaluated
FALSEevaluated 50619 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
)
0-50619
228 QMessageLogger(__FILE__, 314, __PRETTY_FUNCTION__).warning("QQuickWindow: possible QQuickItem::polish() loop");
never executed: QMessageLogger(__FILE__, 314, __PRETTY_FUNCTION__).warning("QQuickWindow: possible QQuickItem::polish() loop");
0
229-
230-
231 if (QQuickItem *focusItem = q_func()->activeFocusItem()
QQuickItem *fo...iveFocusItem()Description
TRUEevaluated 6548 times by 15 tests
Evaluated by:
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 44071 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
6548-44071
232-
233-
234-
235 const bool isActiveFocusItem = (focusItem == QGuiApplication::focusObject());-
236 const bool hasImEnabled = focusItem->inputMethodQuery(Qt::ImEnabled).toBool();-
237 if (isActiveFocusItem
isActiveFocusItemDescription
TRUEevaluated 6548 times by 15 tests
Evaluated by:
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEnever evaluated
&& hasImEnabled
hasImEnabledDescription
TRUEevaluated 251 times by 5 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 6297 times by 15 tests
Evaluated by:
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
&& transformDirtyOnItemOrAncestor(focusItem)
transformDirty...tor(focusItem)Description
TRUEevaluated 27 times by 2 tests
Evaluated by:
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 224 times by 5 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
  • tst_qquicktextinput
)
0-6548
238 updateFocusItemTransform();
executed 27 times by 2 tests: updateFocusItemTransform();
Executed by:
  • tst_qquicktextedit
  • tst_qquicktextinput
27
239 }
executed 6548 times by 15 tests: end of block
Executed by:
  • tst_qquickanimationcontroller
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
6548
240-
241}
executed 50619 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
50619
242void QQuickWindow::update()-
243{-
244 QQuickWindowPrivate * const d = d_func();-
245 if (d->windowManager
d->windowManagerDescription
TRUEevaluated 1746 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimations
  • tst_qquickframebufferobject
  • tst_qquickitem2
  • tst_qquickloader
  • tst_qquicktext
FALSEnever evaluated
)
0-1746
246 d->windowManager->update(this);
executed 1746 times by 7 tests: d->windowManager->update(this);
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimations
  • tst_qquickframebufferobject
  • tst_qquickitem2
  • tst_qquickloader
  • tst_qquicktext
1746
247 else if (d->renderControl
d->renderControlDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
248 QQuickRenderControlPrivate::get(d->renderControl)->update();
never executed: QQuickRenderControlPrivate::get(d->renderControl)->update();
0
249}
executed 1746 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimations
  • tst_qquickframebufferobject
  • tst_qquickitem2
  • tst_qquickloader
  • tst_qquicktext
1746
250-
251static void updatePixelRatioHelper(QQuickItem *item, float pixelRatio)-
252{-
253 if (item->flags() & QQuickItem::ItemHasContents
item->flags() ...temHasContentsDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
254 QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item);-
255 itemPrivate->itemChange(QQuickItem::ItemDevicePixelRatioHasChanged, pixelRatio);-
256 }
never executed: end of block
0
257-
258 QList <QQuickItem *> items = item->childItems();-
259 for (int i = 0; i < items.size()
i < items.size()Description
TRUEnever evaluated
FALSEnever evaluated
; ++i)
0
260 updatePixelRatioHelper(items.at(i), pixelRatio);
never executed: updatePixelRatioHelper(items.at(i), pixelRatio);
0
261}
never executed: end of block
0
262-
263void QQuickWindow::physicalDpiChanged()-
264{-
265 QQuickWindowPrivate * const d = d_func();-
266 const qreal newPixelRatio = screen()->devicePixelRatio();-
267 if (qFuzzyCompare(newPixelRatio, d->devicePixelRatio)
qFuzzyCompare(...icePixelRatio)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
268 return;
never executed: return;
0
269 d->devicePixelRatio = newPixelRatio;-
270 if (d->contentItem
d->contentItemDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
271 updatePixelRatioHelper(d->contentItem, newPixelRatio);
never executed: updatePixelRatioHelper(d->contentItem, newPixelRatio);
0
272}
never executed: end of block
0
273-
274void QQuickWindow::handleScreenChanged(QScreen *screen)-
275{-
276 QQuickWindowPrivate * const d = d_func();-
277 if (screen
screenDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
278 physicalDpiChanged();-
279-
280-
281-
282 d->physicalDpiChangedConnection = connect(screen, qFlagLocation("2""physicalDotsPerInchChanged(qreal)" "\0" __FILE__ ":" "376"),-
283 this, qFlagLocation("1""physicalDpiChanged()" "\0" __FILE__ ":" "377"));-
284 }
never executed: end of block
else {
0
285 disconnect(d->physicalDpiChangedConnection);-
286 }
never executed: end of block
0
287-
288 d->forcePolish();-
289}
never executed: end of block
0
290-
291void forcePolishHelper(QQuickItem *item)-
292{-
293 if (item->flags() & QQuickItem::ItemHasContents
item->flags() ...temHasContentsDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
294 item->polish();-
295 }
never executed: end of block
0
296-
297 QList <QQuickItem *> items = item->childItems();-
298 for (int i=0; i<items.size()
i<items.size()Description
TRUEnever evaluated
FALSEnever evaluated
; ++i)
0
299 forcePolishHelper(items.at(i));
never executed: forcePolishHelper(items.at(i));
0
300}
never executed: end of block
0
301-
302-
303-
304-
305void QQuickWindowPrivate::forcePolish()-
306{-
307 QQuickWindow * const q = q_func();-
308 if (!q->screen()
!q->screen()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
309 return;
never executed: return;
0
310 forcePolishHelper(contentItem);-
311}
never executed: end of block
0
312-
313void forceUpdate(QQuickItem *item)-
314{-
315 if (item->flags() & QQuickItem::ItemHasContents
item->flags() ...temHasContentsDescription
TRUEevaluated 39556 times by 68 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • ...
FALSEevaluated 12870 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
)
12870-39556
316 item->update();
executed 39556 times by 68 tests: item->update();
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • ...
39556
317 QQuickItemPrivate::get(item)->dirty(QQuickItemPrivate::ChildrenUpdateMask);-
318-
319 QList <QQuickItem *> items = item->childItems();-
320 for (int i=0; i<items.size()
i<items.size()Description
TRUEevaluated 48928 times by 75 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 52426 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
; ++i)
48928-52426
321 forceUpdate(items.at(i));
executed 48928 times by 75 tests: forceUpdate(items.at(i));
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
48928
322}
executed 52426 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
52426
323-
324void QQuickWindowPrivate::syncSceneGraph()-
325{-
326 QQmlMemoryScope _qml_memory_scope("SceneGraph");-
327 QQuickWindow * const q = q_func();-
328-
329 animationController->beforeNodeSync();-
330-
331 q->beforeSynchronizing();-
332 runAndClearJobs(&beforeSynchronizingJobs);-
333 if (!renderer
!rendererDescription
TRUEevaluated 3498 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 47121 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
3498-47121
334 forceUpdate(contentItem);-
335-
336 QSGRootNode *rootNode = new QSGRootNode;-
337 rootNode->appendChildNode(QQuickItemPrivate::get(contentItem)->itemNode());-
338 renderer = context->createRenderer();-
339 renderer->setRootNode(rootNode);-
340 }
executed 3498 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
3498
341-
342 updateDirtyNodes();-
343-
344 animationController->afterNodeSync();-
345-
346-
347 renderer->setClearColor(clearColor);-
348 QSGAbstractRenderer::ClearMode mode = QSGAbstractRenderer::ClearStencilBuffer | QSGAbstractRenderer::ClearDepthBuffer;-
349 if (clearBeforeRendering
clearBeforeRenderingDescription
TRUEevaluated 50619 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEnever evaluated
)
0-50619
350 mode |= QSGAbstractRenderer::ClearColorBuffer;
executed 50619 times by 76 tests: mode |= QSGAbstractRenderer::ClearColorBuffer;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
50619
351 renderer->setClearMode(mode);-
352-
353 renderer->setCustomRenderMode(customRenderMode);-
354-
355 q->afterSynchronizing();-
356 runAndClearJobs(&afterSynchronizingJobs);-
357}
executed 50619 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
50619
358-
359void QQuickWindowPrivate::renderSceneGraph(const QSize &size)-
360{-
361 QQmlMemoryScope _qml_memory_scope("SceneGraph");-
362 QQuickWindow * const q = q_func();-
363 if (!renderer
!rendererDescription
TRUEnever evaluated
FALSEevaluated 50623 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
)
0-50623
364 return;
never executed: return;
0
365-
366 animationController->advance();-
367 q->beforeRendering();-
368 runAndClearJobs(&beforeRenderingJobs);-
369 if (!customRenderStage
!customRenderStageDescription
TRUEevaluated 50623 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEnever evaluated
|| !customRenderStage->render()
!customRenderStage->render()Description
TRUEnever evaluated
FALSEnever evaluated
) {
0-50623
370 int fboId = 0;-
371 const qreal devicePixelRatio = q->effectiveDevicePixelRatio();-
372 if (renderTargetId
renderTargetIdDescription
TRUEevaluated 336 times by 2 tests
Evaluated by:
  • tst_qquickshortcut
  • tst_qquickwidget
FALSEevaluated 50287 times by 75 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
336-50287
373 QRect rect(QPoint(0, 0), renderTargetSize);-
374 fboId = renderTargetId;-
375 renderer->setDeviceRect(rect);-
376 renderer->setViewportRect(rect);-
377 if (QQuickRenderControl::renderWindowFor(q)
QQuickRenderCo...erWindowFor(q)Description
TRUEevaluated 324 times by 2 tests
Evaluated by:
  • tst_qquickshortcut
  • tst_qquickwidget
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qquickwidget
) {
12-324
378 renderer->setProjectionMatrixToRect(QRect(QPoint(0, 0), size));-
379 renderer->setDevicePixelRatio(devicePixelRatio);-
380 }
executed 324 times by 2 tests: end of block
Executed by:
  • tst_qquickshortcut
  • tst_qquickwidget
else {
324
381 renderer->setProjectionMatrixToRect(QRect(QPoint(0, 0), rect.size()));-
382 renderer->setDevicePixelRatio(1);-
383 }
executed 12 times by 1 test: end of block
Executed by:
  • tst_qquickwidget
12
384 } else {-
385 QRect rect(QPoint(0, 0), devicePixelRatio * size);-
386 renderer->setDeviceRect(rect);-
387 renderer->setViewportRect(rect);-
388 renderer->setProjectionMatrixToRect(QRect(QPoint(0, 0), size));-
389 renderer->setDevicePixelRatio(devicePixelRatio);-
390 }
executed 50287 times by 75 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
50287
391-
392 context->renderNextFrame(renderer, fboId);-
393 }
executed 50623 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
50623
394 q->afterRendering();-
395 runAndClearJobs(&afterRenderingJobs);-
396}
executed 50623 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
50623
397-
398QQuickWindowPrivate::QQuickWindowPrivate()-
399 : contentItem(nullptr)-
400 , activeFocusItem(nullptr)-
401-
402 , cursorItem(nullptr)-
403-
404-
405 , dragGrabber(nullptr)-
406-
407 , touchMouseId(-1)-
408 , touchMouseDevice(nullptr)-
409 , touchMousePressTimestamp(0)-
410 , dirtyItemList(nullptr)-
411 , devicePixelRatio(0)-
412 , context(nullptr)-
413 , renderer(nullptr)-
414 , windowManager(nullptr)-
415 , renderControl(nullptr)-
416 , pointerEventRecursionGuard(0)-
417 , customRenderStage(nullptr)-
418 , clearColor(Qt::white)-
419 , clearBeforeRendering(true)-
420 , persistentGLContext(true)-
421 , persistentSceneGraph(true)-
422 , lastWheelEventAccepted(false)-
423 , componentCompleted(true)-
424 , allowChildEventFiltering(true)-
425 , allowDoubleClick(true)-
426 , lastFocusReason(Qt::OtherFocusReason)-
427 , renderTarget(nullptr)-
428 , renderTargetId(0)-
429 , vaoHelper(nullptr)-
430 , incubationController(nullptr)-
431{-
432-
433 dragGrabber = new QQuickDragGrabber;-
434-
435}
executed 5366 times by 90 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
5366
436-
437QQuickWindowPrivate::~QQuickWindowPrivate()-
438{-
439 delete customRenderStage;-
440 if (QQmlInspectorService *service = QQmlDebugConnector::service<QQmlInspectorService>()
QQmlInspectorS...ctorService>()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmldebugjs
FALSEevaluated 5322 times by 88 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickellipseextruder
  • ...
)
8-5322
441 service->removeWindow(q_func());
executed 8 times by 1 test: service->removeWindow(q_func());
Executed by:
  • tst_qqmldebugjs
8
442}
executed 5330 times by 89 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • ...
5330
443-
444void QQuickWindowPrivate::init(QQuickWindow *c, QQuickRenderControl *control)-
445{-
446 q_ptr = c;-
447-
448 QQuickWindow * const q = q_func();-
449-
450 contentItem = new QQuickRootItem;-
451 QQml_setParent_noEvent(contentItem, c);-
452 QQmlEngine::setObjectOwnership(contentItem, QQmlEngine::CppOwnership);-
453 QQuickItemPrivate *contentItemPrivate = QQuickItemPrivate::get(contentItem);-
454 contentItemPrivate->window = q;-
455 contentItemPrivate->windowRefCount = 1;-
456 contentItemPrivate->flags |= QQuickItem::ItemIsFocusScope;-
457 contentItem->setSize(q->size());-
458-
459 customRenderMode = qgetenv("QSG_VISUALIZE");-
460 renderControl = control;-
461 if (renderControl
renderControlDescription
TRUEevaluated 118 times by 2 tests
Evaluated by:
  • tst_qquickshortcut
  • tst_qquickwidget
FALSEevaluated 5248 times by 89 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
)
118-5248
462 QQuickRenderControlPrivate::get(renderControl)->window = q;
executed 118 times by 2 tests: QQuickRenderControlPrivate::get(renderControl)->window = q;
Executed by:
  • tst_qquickshortcut
  • tst_qquickwidget
118
463-
464 if (!renderControl
!renderControlDescription
TRUEevaluated 5248 times by 89 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
FALSEevaluated 118 times by 2 tests
Evaluated by:
  • tst_qquickshortcut
  • tst_qquickwidget
)
118-5248
465 windowManager = QSGRenderLoop::instance();
executed 5248 times by 89 tests: windowManager = QSGRenderLoop::instance();
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
5248
466-
467 ((windowManager || renderControl) ? static_cast<void>(0) : qt_assert("windowManager || renderControl", __FILE__, 561));-
468-
469 if (QScreen *screen = q->screen()
QScreen *screen = q->screen()Description
TRUEevaluated 5366 times by 90 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
FALSEnever evaluated
)
0-5366
470 devicePixelRatio = screen->devicePixelRatio();
executed 5366 times by 90 tests: devicePixelRatio = screen->devicePixelRatio();
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
5366
471-
472 QSGContext *sg;-
473 if (renderControl
renderControlDescription
TRUEevaluated 118 times by 2 tests
Evaluated by:
  • tst_qquickshortcut
  • tst_qquickwidget
FALSEevaluated 5248 times by 89 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
) {
118-5248
474 QQuickRenderControlPrivate *renderControlPriv = QQuickRenderControlPrivate::get(renderControl);-
475 sg = renderControlPriv->sg;-
476 context = renderControlPriv->rc;-
477 }
executed 118 times by 2 tests: end of block
Executed by:
  • tst_qquickshortcut
  • tst_qquickwidget
else {
118
478 windowManager->addWindow(q);-
479 sg = windowManager->sceneGraphContext();-
480 context = windowManager->createRenderContext(sg);-
481 }
executed 5248 times by 89 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
5248
482-
483 q->setSurfaceType(windowManager ? windowManager->windowSurfaceType() : QSurface::OpenGLSurface);-
484 q->setFormat(sg->defaultSurfaceFormat());-
485-
486 animationController = new QQuickAnimatorController(q);-
487-
488 QObject::connect(context, qFlagLocation("2""initialized()" "\0" __FILE__ ":" "582"), q, qFlagLocation("2""sceneGraphInitialized()" "\0" __FILE__ ":" "582"), Qt::DirectConnection);-
489 QObject::connect(context, qFlagLocation("2""invalidated()" "\0" __FILE__ ":" "583"), q, qFlagLocation("2""sceneGraphInvalidated()" "\0" __FILE__ ":" "583"), Qt::DirectConnection);-
490 QObject::connect(context, qFlagLocation("2""invalidated()" "\0" __FILE__ ":" "584"), q, qFlagLocation("1""cleanupSceneGraph()" "\0" __FILE__ ":" "584"), Qt::DirectConnection);-
491-
492 QObject::connect(q, qFlagLocation("2""focusObjectChanged(QObject*)" "\0" __FILE__ ":" "586"), q, qFlagLocation("2""activeFocusItemChanged()" "\0" __FILE__ ":" "586"));-
493 QObject::connect(q, qFlagLocation("2""screenChanged(QScreen*)" "\0" __FILE__ ":" "587"), q, qFlagLocation("1""handleScreenChanged(QScreen*)" "\0" __FILE__ ":" "587"));-
494 QObject::connect((static_cast<QGuiApplication *>(QCoreApplication::instance())), qFlagLocation("2""applicationStateChanged(Qt::ApplicationState)" "\0" __FILE__ ":" "588"),-
495 q, qFlagLocation("1""handleApplicationStateChanged(Qt::ApplicationState)" "\0" __FILE__ ":" "589"));-
496 QObject::connect(q, qFlagLocation("2""frameSwapped()" "\0" __FILE__ ":" "590"), q, qFlagLocation("1""runJobsAfterSwap()" "\0" __FILE__ ":" "590"), Qt::DirectConnection);-
497-
498 if (QQmlInspectorService *service = QQmlDebugConnector::service<QQmlInspectorService>()
QQmlInspectorS...ctorService>()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qqmldebugjs
FALSEevaluated 5358 times by 89 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • ...
)
8-5358
499 service->addWindow(q);
executed 8 times by 1 test: service->addWindow(q);
Executed by:
  • tst_qqmldebugjs
8
500}
executed 5366 times by 90 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
5366
501-
502void QQuickWindow::handleApplicationStateChanged(Qt::ApplicationState state)-
503{-
504 QQuickWindowPrivate * const d = d_func();-
505 if (state != Qt::ApplicationActive
state != Qt::ApplicationActiveDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickapplication
FALSEevaluated 36 times by 17 tests
Evaluated by:
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
&& d->contentItem
d->contentItemDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickapplication
FALSEnever evaluated
)
0-36
506 d->contentItem->windowDeactivateEvent();
executed 4 times by 1 test: d->contentItem->windowDeactivateEvent();
Executed by:
  • tst_qquickapplication
4
507}
executed 40 times by 17 tests: end of block
Executed by:
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
40
508-
509-
510-
511-
512-
513-
514QQmlListProperty<QObject> QQuickWindowPrivate::data()-
515{-
516 return
executed 148 times by 8 tests: return QQmlListProperty<QObject>(q_func(), nullptr, QQuickWindowPrivate::data_append, QQuickWindowPrivate::data_count, QQuickWindowPrivate::data_at, QQuickWindowPrivate::data_clear);
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquicktext
QQmlListProperty<QObject>(q_func(), nullptr, QQuickWindowPrivate::data_append,
executed 148 times by 8 tests: return QQmlListProperty<QObject>(q_func(), nullptr, QQuickWindowPrivate::data_append, QQuickWindowPrivate::data_count, QQuickWindowPrivate::data_at, QQuickWindowPrivate::data_clear);
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquicktext
148
517 QQuickWindowPrivate::data_count,
executed 148 times by 8 tests: return QQmlListProperty<QObject>(q_func(), nullptr, QQuickWindowPrivate::data_append, QQuickWindowPrivate::data_count, QQuickWindowPrivate::data_at, QQuickWindowPrivate::data_clear);
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquicktext
148
518 QQuickWindowPrivate::data_at,
executed 148 times by 8 tests: return QQmlListProperty<QObject>(q_func(), nullptr, QQuickWindowPrivate::data_append, QQuickWindowPrivate::data_count, QQuickWindowPrivate::data_at, QQuickWindowPrivate::data_clear);
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquicktext
148
519 QQuickWindowPrivate::data_clear);
executed 148 times by 8 tests: return QQmlListProperty<QObject>(q_func(), nullptr, QQuickWindowPrivate::data_append, QQuickWindowPrivate::data_count, QQuickWindowPrivate::data_at, QQuickWindowPrivate::data_clear);
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquicktext
148
520}-
521-
522static QMouseEvent *touchToMouseEvent(QEvent::Type type, const QTouchEvent::TouchPoint &p, QTouchEvent *event, QQuickItem *item, bool transformNeeded = true)-
523{-
524-
525 QMouseEvent *me = new QMouseEvent(type, transformNeeded ? item->mapFromScene(p.scenePos()) : p.pos(), p.scenePos(), p.screenPos(),-
526 Qt::LeftButton, (type == QEvent::MouseButtonRelease ? Qt::NoButton : Qt::LeftButton), event->modifiers());-
527 me->setAccepted(true);-
528 me->setTimestamp(event->timestamp());-
529 QVector2D transformedVelocity = p.velocity();-
530 if (transformNeeded
transformNeededDescription
TRUEnever evaluated
FALSEevaluated 631 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
0-631
531 QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item);-
532 QMatrix4x4 transformMatrix(itemPrivate->windowToItemTransform());-
533 transformedVelocity = transformMatrix.mapVector(p.velocity()).toVector2D();-
534 }
never executed: end of block
0
535 QGuiApplicationPrivate::setMouseEventCapsAndVelocity(me, event->device()->capabilities(), transformedVelocity);-
536 QGuiApplicationPrivate::setMouseEventSource(me, Qt::MouseEventSynthesizedByQt);-
537 return
executed 631 times by 8 tests: return me;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
me;
executed 631 times by 8 tests: return me;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
631
538}-
539-
540bool QQuickWindowPrivate::checkIfDoubleClicked(ulong newPressEventTimestamp)-
541{-
542 bool doubleClicked;-
543-
544 if (touchMousePressTimestamp == 0
touchMousePressTimestamp == 0Description
TRUEevaluated 14 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEevaluated 6 times by 3 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
) {
6-14
545-
546 touchMousePressTimestamp = newPressEventTimestamp;-
547 doubleClicked = false;-
548 }
executed 14 times by 5 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
else {
14
549 ulong timeBetweenPresses = newPressEventTimestamp - touchMousePressTimestamp;-
550 ulong doubleClickInterval = static_cast<ulong>(QGuiApplication::styleHints()->-
551 mouseDoubleClickInterval());-
552 doubleClicked = timeBetweenPresses < doubleClickInterval;-
553 if (doubleClicked
doubleClickedDescription
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickflickable
) {
2-4
554 touchMousePressTimestamp = 0;-
555 }
executed 4 times by 2 tests: end of block
Executed by:
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
else {
4
556 touchMousePressTimestamp = newPressEventTimestamp;-
557 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickflickable
2
558 }-
559-
560 return
executed 20 times by 5 tests: return doubleClicked;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
doubleClicked;
executed 20 times by 5 tests: return doubleClicked;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
20
561}-
562-
563bool QQuickWindowPrivate::deliverTouchAsMouse(QQuickItem *item, QQuickPointerEvent *pointerEvent)-
564{-
565 QQuickWindow * const q = q_func();-
566 auto device = pointerEvent->device();-
567-
568-
569 if (device->type() == QQuickPointerDevice::TouchPad
device->type()...vice::TouchPadDescription
TRUEnever evaluated
FALSEevaluated 197 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
&& device->capabilities().testFlag(QQuickPointerDevice::MouseEmulation)
device->capabi...ouseEmulation)Description
TRUEnever evaluated
FALSEnever evaluated
) {
0-197
570 for (bool qt_category_enabled = DBG_TOUCH_TARGET().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEnever evaluated
; qt_category_enabled = false) QMessageLogger(__FILE__, 664, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "skipping delivery of synth-mouse event from" << device;
never executed: QMessageLogger(__FILE__, 664, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "skipping delivery of synth-mouse event from" << device;
0
571 return
never executed: return false;
false;
never executed: return false;
0
572 }-
573-
574-
575 ((pointerEvent->asPointerTouchEvent()) ? static_cast<void>(0) : qt_assert("pointerEvent->asPointerTouchEvent()", __FILE__, 669));-
576 QScopedPointer<QTouchEvent> event(pointerEvent->asPointerTouchEvent()->touchEventForItem(item));-
577 if (event.isNull()
event.isNull()Description
TRUEnever evaluated
FALSEevaluated 197 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
0-197
578 return
never executed: return false;
false;
never executed: return false;
0
579-
580-
581-
582-
583 for (int i = 0; i < event->touchPoints().count()
i < event->tou...ints().count()Description
TRUEevaluated 205 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 28 times by 5 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
; ++i) {
28-205
584 const QTouchEvent::TouchPoint &p = event->touchPoints().at(i);-
585-
586 if (touchMouseId == -1
touchMouseId == -1Description
TRUEevaluated 56 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 149 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
&& p.state() & Qt::TouchPointPressed
p.state() & Qt...chPointPressedDescription
TRUEevaluated 42 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 14 times by 3 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquicktaphandler
) {
14-149
587 QPointF pos = item->mapFromScene(p.scenePos());-
588-
589-
590 if (!item->contains(pos)
!item->contains(pos)Description
TRUEnever evaluated
FALSEevaluated 42 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
0-42
591 break;
never executed: break;
0
592-
593 for (bool qt_category_enabled = DBG_TOUCH_TARGET().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 42 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
; qt_category_enabled = false) QMessageLogger(__FILE__, 687, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP (mouse)" << hex << p.id() << "->" << item;
never executed: QMessageLogger(__FILE__, 687, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP (mouse)" << hex << p.id() << "->" << item;
0-42
594 QScopedPointer<QMouseEvent> mousePress(touchToMouseEvent(QEvent::MouseButtonPress, p, event.data(), item, false));-
595-
596-
597 QCoreApplication::sendEvent(item, mousePress.data());-
598 event->setAccepted(mousePress->isAccepted());-
599 if (mousePress->isAccepted()
mousePress->isAccepted()Description
TRUEevaluated 20 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEevaluated 22 times by 5 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
20-22
600 touchMouseDevice = device;-
601 touchMouseId = p.id();-
602 if (!q->mouseGrabberItem()
!q->mouseGrabberItem()Description
TRUEevaluated 20 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEnever evaluated
)
0-20
603 item->grabMouse();
executed 20 times by 5 tests: item->grabMouse();
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
20
604 auto pointerEventPoint = pointerEvent->pointById(p.id());-
605 pointerEventPoint->setGrabberItem(item);-
606-
607 if (checkIfDoubleClicked(event->timestamp())
checkIfDoubleC...->timestamp())Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
FALSEevaluated 16 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
) {
4-16
608 QScopedPointer<QMouseEvent> mouseDoubleClick(touchToMouseEvent(QEvent::MouseButtonDblClick, p, event.data(), item, false));-
609 QCoreApplication::sendEvent(item, mouseDoubleClick.data());-
610 event->setAccepted(mouseDoubleClick->isAccepted());-
611 if (!mouseDoubleClick->isAccepted()
!mouseDoubleCl...->isAccepted()Description
TRUEnever evaluated
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
) {
0-4
612 touchMouseId = -1;-
613 touchMouseDevice = nullptr;-
614 }
never executed: end of block
0
615 }
executed 4 times by 2 tests: end of block
Executed by:
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
4
616-
617 return
executed 20 times by 5 tests: return true;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
true;
executed 20 times by 5 tests: return true;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
20
618 }-
619-
620-
621-
622 }
executed 22 times by 5 tests: end of block
Executed by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
else if (touchMouseDevice == device
touchMouseDevice == deviceDescription
TRUEevaluated 149 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEevaluated 14 times by 3 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquicktaphandler
&& p.id() == touchMouseId
p.id() == touchMouseIdDescription
TRUEevaluated 149 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEnever evaluated
) {
0-149
623 if (p.state() & Qt::TouchPointMoved
p.state() & Qt...ouchPointMovedDescription
TRUEevaluated 113 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEevaluated 36 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
) {
36-113
624 if (QQuickItem *mouseGrabberItem = q->mouseGrabberItem()
QQuickItem *mo...eGrabberItem()Description
TRUEevaluated 113 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEnever evaluated
) {
0-113
625 QScopedPointer<QMouseEvent> me(touchToMouseEvent(QEvent::MouseMove, p, event.data(), mouseGrabberItem, false));-
626 QCoreApplication::sendEvent(item, me.data());-
627 event->setAccepted(me->isAccepted());-
628 if (me->isAccepted()
me->isAccepted()Description
TRUEevaluated 113 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEnever evaluated
) {
0-113
629 for (bool qt_category_enabled = DBG_TOUCH_TARGET().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 113 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
; qt_category_enabled = false) QMessageLogger(__FILE__, 723, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP (mouse)" << hex << p.id() << "->" << mouseGrabberItem;
never executed: QMessageLogger(__FILE__, 723, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP (mouse)" << hex << p.id() << "->" << mouseGrabberItem;
0-113
630 }
executed 113 times by 5 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
113
631 return
executed 113 times by 5 tests: return event->isAccepted();
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
event->isAccepted();
executed 113 times by 5 tests: return event->isAccepted();
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
113
632 } else {-
633-
634-
635-
636 QScopedPointer<QMouseEvent> me(touchToMouseEvent(QEvent::MouseMove, p, event.data(), item, false));-
637 if (lastMousePosition.isNull()
lastMousePosition.isNull()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
638 lastMousePosition = me->windowPos();
never executed: lastMousePosition = me->windowPos();
0
639 QPointF last = lastMousePosition;-
640 lastMousePosition = me->windowPos();-
641-
642 bool accepted = me->isAccepted();-
643 bool delivered = deliverHoverEvent(contentItem, me->windowPos(), last, me->modifiers(), me->timestamp(), accepted);-
644 if (!delivered
!deliveredDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
645-
646 accepted = clearHover(me->timestamp());-
647 }
never executed: end of block
0
648 me->setAccepted(accepted);-
649 break;
never executed: break;
0
650 }-
651 } else if (p.state() & Qt::TouchPointReleased
p.state() & Qt...hPointReleasedDescription
TRUEevaluated 36 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEnever evaluated
) {
0-36
652-
653 if (QQuickItem *mouseGrabberItem = q->mouseGrabberItem()
QQuickItem *mo...eGrabberItem()Description
TRUEevaluated 36 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEnever evaluated
) {
0-36
654 QScopedPointer<QMouseEvent> me(touchToMouseEvent(QEvent::MouseButtonRelease, p, event.data(), mouseGrabberItem, false));-
655 QCoreApplication::sendEvent(item, me.data());-
656-
657 if (item->acceptHoverEvents()
item->acceptHoverEvents()Description
TRUEnever evaluated
FALSEevaluated 36 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
&& p.screenPos() != QGuiApplicationPrivate::lastCursorPosition
p.screenPos() ...CursorPositionDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0-36
658 QPointF localMousePos(qInf(), qInf());-
659 if (QWindow *w = item->window()
QWindow *w = item->window()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
660 localMousePos = item->mapFromScene(w->mapFromGlobal(QGuiApplicationPrivate::lastCursorPosition.toPoint()));
never executed: localMousePos = item->mapFromScene(w->mapFromGlobal(QGuiApplicationPrivate::lastCursorPosition.toPoint()));
0
661 QMouseEvent mm(QEvent::MouseMove, localMousePos, QGuiApplicationPrivate::lastCursorPosition,-
662 Qt::NoButton, Qt::NoButton, event->modifiers());-
663 QCoreApplication::sendEvent(item, &mm);-
664 }
never executed: end of block
0
665 if (q->mouseGrabberItem()
q->mouseGrabberItem()Description
TRUEevaluated 36 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEnever evaluated
)
0-36
666 q->mouseGrabberItem()->ungrabMouse();
executed 36 times by 5 tests: q->mouseGrabberItem()->ungrabMouse();
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
36
667-
668 touchMouseId = -1;-
669 touchMouseDevice = nullptr;-
670 return
executed 36 times by 5 tests: return me->isAccepted();
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
me->isAccepted();
executed 36 times by 5 tests: return me->isAccepted();
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
36
671 }-
672 }
never executed: end of block
0
673 break;
never executed: break;
0
674 }-
675 }
executed 36 times by 5 tests: end of block
Executed by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
36
676 return
executed 28 times by 5 tests: return false;
Executed by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
false;
executed 28 times by 5 tests: return false;
Executed by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
28
677}-
678-
679void QQuickWindowPrivate::grabTouchPoints(QObject *grabber, const QVector<int> &ids)-
680{-
681 for (int i = 0; i < ids.count()
i < ids.count()Description
TRUEevaluated 46 times by 2 tests
Evaluated by:
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
FALSEevaluated 22 times by 2 tests
Evaluated by:
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
; ++i) {
22-46
682 int id = ids.at(i);-
683 if (__builtin_expect(!!(id < 0), false)
__builtin_expe...d < 0), false)Description
TRUEnever evaluated
FALSEevaluated 46 times by 2 tests
Evaluated by:
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
) {
0-46
684 QMessageLogger(__FILE__, 778, __PRETTY_FUNCTION__).warning("ignoring grab of touchpoint %d", id);-
685 continue;
never executed: continue;
0
686 }-
687 if (id == touchMouseId
id == touchMouseIdDescription
TRUEnever evaluated
FALSEevaluated 46 times by 2 tests
Evaluated by:
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
) {
0-46
688 auto point = pointerEventInstance(touchMouseDevice)->pointById(id);-
689 auto touchMouseGrabber = point->grabberItem();-
690 if (touchMouseGrabber
touchMouseGrabberDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
691 point->setExclusiveGrabber(nullptr);-
692 touchMouseGrabber->mouseUngrabEvent();-
693 touchMouseGrabber->touchUngrabEvent();-
694 touchMouseDevice = nullptr;-
695 touchMouseId = -1;-
696 }
never executed: end of block
0
697 for (bool qt_category_enabled = DBG_MOUSE_TARGET().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEnever evaluated
; qt_category_enabled = false) QMessageLogger(__FILE__, 791, __PRETTY_FUNCTION__, DBG_MOUSE_TARGET().categoryName()).debug() << "grabTouchPoints: mouse grabber changed due to grabTouchPoints:" << touchMouseGrabber << "-> null";
never executed: QMessageLogger(__FILE__, 791, __PRETTY_FUNCTION__, DBG_MOUSE_TARGET().categoryName()).debug() << "grabTouchPoints: mouse grabber changed due to grabTouchPoints:" << touchMouseGrabber << "-> null";
0
698 }
never executed: end of block
0
699-
700 const auto touchDevices = QQuickPointerDevice::touchDevices();-
701 for (auto device : touchDevices) {-
702 auto point = pointerEventInstance(device)->pointById(id);-
703 if (!point
!pointDescription
TRUEnever evaluated
FALSEevaluated 46 times by 2 tests
Evaluated by:
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
)
0-46
704 continue;
never executed: continue;
0
705 QObject *oldGrabber = point->exclusiveGrabber();-
706 if (oldGrabber == grabber
oldGrabber == grabberDescription
TRUEevaluated 44 times by 2 tests
Evaluated by:
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickpincharea
)
2-44
707 continue;
executed 44 times by 2 tests: continue;
Executed by:
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
44
708 point->setExclusiveGrabber(grabber);-
709 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickpincharea
2
710 }
executed 46 times by 2 tests: end of block
Executed by:
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
46
711}
executed 22 times by 2 tests: end of block
Executed by:
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
22
712void QQuickWindowPrivate::removeGrabber(QQuickItem *grabber, bool mouse, bool touch)-
713{-
714 QQuickWindow * const q = q_func();-
715 if (__builtin_expect(!!(mouse), true)
__builtin_expe...(mouse), true)Description
TRUEevaluated 415991 times by 89 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • ...
FALSEevaluated 132 times by 2 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickmultipointtoucharea
&& q->mouseGrabberItem() == grabber
q->mouseGrabbe...m() == grabberDescription
TRUEevaluated 1644 times by 13 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 414347 times by 89 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • ...
) {
132-415991
716 bool fromTouch = isDeliveringTouchAsMouse();-
717 auto point = fromTouch
fromTouchDescription
TRUEevaluated 36 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEevaluated 1608 times by 13 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
?
36-1608
718 pointerEventInstance(touchMouseDevice)->pointById(touchMouseId) :-
719 pointerEventInstance(QQuickPointerDevice::genericMouseDevice())->point(0);-
720 QQuickItem *oldGrabber = point->grabberItem();-
721 for (bool qt_category_enabled = DBG_MOUSE_TARGET().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 1644 times by 13 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
; qt_category_enabled = false) QMessageLogger(__FILE__, 825, __PRETTY_FUNCTION__, DBG_MOUSE_TARGET().categoryName()).debug() << "removeGrabber" << oldGrabber << "-> null";
never executed: QMessageLogger(__FILE__, 825, __PRETTY_FUNCTION__, DBG_MOUSE_TARGET().categoryName()).debug() << "removeGrabber" << oldGrabber << "-> null";
0-1644
722 point->setGrabberItem(nullptr);-
723 sendUngrabEvent(oldGrabber, fromTouch);-
724 }
executed 1644 times by 13 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1644
725 if (__builtin_expect(!!(touch), true)
__builtin_expe...(touch), true)Description
TRUEevaluated 414527 times by 89 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • ...
FALSEevaluated 1596 times by 13 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
1596-414527
726 bool ungrab = false;-
727 const auto touchDevices = QQuickPointerDevice::touchDevices();-
728 for (auto device : touchDevices) {-
729 if (auto pointerEvent = queryPointerEventInstance(device)
auto pointerEv...stance(device)Description
TRUEevaluated 3012 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 1822 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
1822-3012
730 for (int i = 0; i < pointerEvent->pointCount()
i < pointerEvent->pointCount()Description
TRUEevaluated 5746 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 3012 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
; ++i) {
3012-5746
731 if (pointerEvent->point(i)->exclusiveGrabber() == grabber
pointerEvent->...r() == grabberDescription
TRUEevaluated 96 times by 2 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickmultipointtoucharea
FALSEevaluated 5650 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
96-5650
732 pointerEvent->point(i)->setGrabberItem(nullptr);-
733 ungrab = true;-
734 }
executed 96 times by 2 tests: end of block
Executed by:
  • tst_multipointtoucharea_interop
  • tst_qquickmultipointtoucharea
96
735 }
executed 5746 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
5746
736 }
executed 3012 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
3012
737 }
executed 4834 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
4834
738 if (ungrab
ungrabDescription
TRUEevaluated 58 times by 2 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickmultipointtoucharea
FALSEevaluated 414469 times by 89 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • ...
)
58-414469
739 grabber->touchUngrabEvent();
executed 58 times by 2 tests: grabber->touchUngrabEvent();
Executed by:
  • tst_multipointtoucharea_interop
  • tst_qquickmultipointtoucharea
58
740 }
executed 414527 times by 89 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • ...
414527
741}
executed 416123 times by 89 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • ...
416123
742-
743void QQuickWindowPrivate::sendUngrabEvent(QQuickItem *grabber, bool touch)-
744{-
745 if (!grabber
!grabberDescription
TRUEevaluated 1706 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 1764 times by 13 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
)
1706-1764
746 return;
executed 1706 times by 14 tests: return;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1706
747 QEvent e(QEvent::UngrabMouse);-
748 hasFiltered.clear();-
749 if (!sendFilteredMouseEvent(&e, grabber, grabber->parentItem())
!sendFilteredM...>parentItem())Description
TRUEevaluated 1764 times by 13 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEnever evaluated
) {
0-1764
750 grabber->mouseUngrabEvent();-
751 if (touch
touchDescription
TRUEevaluated 42 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEevaluated 1722 times by 13 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
)
42-1722
752 grabber->touchUngrabEvent();
executed 42 times by 5 tests: grabber->touchUngrabEvent();
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
42
753 }
executed 1764 times by 13 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1764
754}
executed 1764 times by 13 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1764
755-
756-
757-
758-
759-
760void QQuickWindowPrivate::translateTouchEvent(QTouchEvent *touchEvent)-
761{-
762 QList<QTouchEvent::TouchPoint> touchPoints = touchEvent->touchPoints();-
763 for (int i = 0; i < touchPoints.count()
i < touchPoints.count()Description
TRUEevaluated 1988 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 1240 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
; ++i) {
1240-1988
764 QTouchEvent::TouchPoint &touchPoint = touchPoints[i];-
765-
766 touchPoint.setSceneRect(touchPoint.rect());-
767 touchPoint.setStartScenePos(touchPoint.startPos());-
768 touchPoint.setLastScenePos(touchPoint.lastPos());-
769 }
executed 1988 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
1988
770 touchEvent->setTouchPoints(touchPoints);-
771}
executed 1240 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
1240
772-
773-
774static inline bool windowHasFocus(QQuickWindow *win)-
775{-
776 const QWindow *focusWindow = QGuiApplication::focusWindow();-
777 return
executed 1078 times by 18 tests: return win == focusWindow || QQuickRenderControl::renderWindowFor(win) == focusWindow;
Executed by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
win == focusWindow || QQuickRenderControl::renderWindowFor(win) == focusWindow;
executed 1078 times by 18 tests: return win == focusWindow || QQuickRenderControl::renderWindowFor(win) == focusWindow;
Executed by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
1078
778}-
779-
780-
781-
782-
783-
784-
785void QQuickWindowPrivate::setFocusInScope(QQuickItem *scope, QQuickItem *item, Qt::FocusReason reason, FocusOptions options)-
786{-
787 QQuickWindow * const q = q_func();-
788-
789 ((item) ? static_cast<void>(0) : qt_assert("item", __FILE__, 893));-
790 ((scope || item == contentItem) ? static_cast<void>(0) : qt_assert("scope || item == contentItem", __FILE__, 894));-
791-
792 for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 6575 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
; qt_category_enabled = false) QMessageLogger(__FILE__, 896, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << "QQuickWindowPrivate::setFocusInScope():";
never executed: QMessageLogger(__FILE__, 896, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << "QQuickWindowPrivate::setFocusInScope():";
0-6575
793 for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 6575 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
; qt_category_enabled = false) QMessageLogger(__FILE__, 897, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " scope:" << (QObject *)scope;
never executed: QMessageLogger(__FILE__, 897, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " scope:" << (QObject *)scope;
0-6575
794 if (scope
scopeDescription
TRUEevaluated 5497 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
FALSEevaluated 1078 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
)
1078-5497
795 for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 5497 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
; qt_category_enabled = false) QMessageLogger(__FILE__, 899, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " scopeSubFocusItem:" << (QObject *)QQuickItemPrivate::get(scope)->subFocusItem;
never executed: QMessageLogger(__FILE__, 899, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " scopeSubFocusItem:" << (QObject *)QQuickItemPrivate::get(scope)->subFocusItem;
0-5497
796 for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 6575 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
; qt_category_enabled = false) QMessageLogger(__FILE__, 900, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " item:" << (QObject *)item;
never executed: QMessageLogger(__FILE__, 900, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " item:" << (QObject *)item;
0-6575
797 for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 6575 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
; qt_category_enabled = false) QMessageLogger(__FILE__, 901, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " activeFocusItem:" << (QObject *)activeFocusItem;
never executed: QMessageLogger(__FILE__, 901, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " activeFocusItem:" << (QObject *)activeFocusItem;
0-6575
798-
799 QQuickItemPrivate *scopePrivate = scope
scopeDescription
TRUEevaluated 5497 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
FALSEevaluated 1078 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
? QQuickItemPrivate::get(scope) : nullptr;
1078-5497
800 QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item);-
801-
802 QQuickItem *oldActiveFocusItem = nullptr;-
803 QQuickItem *currentActiveFocusItem = activeFocusItem;-
804 QQuickItem *newActiveFocusItem = nullptr;-
805 bool sendFocusIn = false;-
806-
807 lastFocusReason = reason;-
808-
809 QVarLengthArray<QQuickItem *, 20> changed;-
810-
811-
812 if (item == contentItem
item == contentItemDescription
TRUEevaluated 1078 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 5497 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
|| scopePrivate->activeFocus
scopePrivate->activeFocusDescription
TRUEevaluated 644 times by 7 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 4853 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
) {
644-5497
813 oldActiveFocusItem = activeFocusItem;-
814 if (item->isEnabled()
item->isEnabled()Description
TRUEevaluated 1716 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickitem
) {
6-1716
815 newActiveFocusItem = item;-
816 while (newActiveFocusItem->isFocusScope()
newActiveFocus...isFocusScope()Description
TRUEevaluated 1194 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 1228 times by 9 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
1194-1228
817 && newActiveFocusItem->scopedFocusItem()
newActiveFocus...pedFocusItem()Description
TRUEevaluated 708 times by 9 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 486 times by 17 tests
Evaluated by:
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
486-708
818 && newActiveFocusItem->scopedFocusItem()->isEnabled()
newActiveFocus...)->isEnabled()Description
TRUEevaluated 706 times by 9 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickitem
) {
2-706
819 newActiveFocusItem = newActiveFocusItem->scopedFocusItem();-
820 }
executed 706 times by 9 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
706
821 }
executed 1716 times by 18 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
else {
1716
822 newActiveFocusItem = scope;-
823 }
executed 6 times by 1 test: end of block
Executed by:
  • tst_qquickitem
6
824-
825 if (oldActiveFocusItem
oldActiveFocusItemDescription
TRUEevaluated 644 times by 7 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 1078 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
644-1078
826-
827 QGuiApplication::inputMethod()->commit();-
828-
829-
830 activeFocusItem = nullptr;-
831-
832 QQuickItem *afi = oldActiveFocusItem;-
833 while (afi
afiDescription
TRUEevaluated 1734 times by 7 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEnever evaluated
&& afi != scope
afi != scopeDescription
TRUEevaluated 1090 times by 7 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 644 times by 7 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
0-1734
834 if (QQuickItemPrivate::get(afi)->activeFocus
QQuickItemPriv...)->activeFocusDescription
TRUEevaluated 506 times by 7 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 584 times by 7 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
506-584
835 QQuickItemPrivate::get(afi)->activeFocus = false;-
836 changed << afi;-
837 }
executed 506 times by 7 tests: end of block
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
506
838 afi = afi->parentItem();-
839 }
executed 1090 times by 7 tests: end of block
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
1090
840 }
executed 644 times by 7 tests: end of block
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
644
841 }
executed 1722 times by 18 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
1722
842-
843 if (item != contentItem
item != contentItemDescription
TRUEevaluated 5497 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
FALSEevaluated 1078 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
&& !(options & DontChangeSubFocusItem)
!(options & Do...eSubFocusItem)Description
TRUEevaluated 5489 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qquickitem
) {
8-5497
844 QQuickItem *oldSubFocusItem = scopePrivate->subFocusItem;-
845 if (oldSubFocusItem
oldSubFocusItemDescription
TRUEevaluated 1819 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
FALSEevaluated 3670 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
) {
1819-3670
846 QQuickItemPrivate::get(oldSubFocusItem)->focus = false;-
847 changed << oldSubFocusItem;-
848 }
executed 1819 times by 10 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
1819
849-
850 QQuickItemPrivate::get(item)->updateSubFocusItem(scope, true);-
851 }
executed 5489 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
5489
852-
853 if (!(options & DontChangeFocusProperty)
!(options & Do...FocusProperty)Description
TRUEevaluated 4771 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
FALSEevaluated 1804 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
) {
1804-4771
854 if (item != contentItem
item != contentItemDescription
TRUEevaluated 3693 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
FALSEevaluated 1078 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
|| windowHasFocus(q)
windowHasFocus(q)Description
TRUEevaluated 1076 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickfocusscope
) {
2-3693
855 itemPrivate->focus = true;-
856 changed << item;-
857 }
executed 4769 times by 20 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
4769
858 }
executed 4771 times by 20 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
4771
859-
860 if (newActiveFocusItem
newActiveFocusItemDescription
TRUEevaluated 1722 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 4853 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
&& contentItem->hasFocus()
contentItem->hasFocus()Description
TRUEevaluated 1720 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickfocusscope
) {
2-4853
861 activeFocusItem = newActiveFocusItem;-
862-
863 QQuickItemPrivate::get(newActiveFocusItem)->activeFocus = true;-
864 changed << newActiveFocusItem;-
865-
866 QQuickItem *afi = newActiveFocusItem->parentItem();-
867 while (afi
afiDescription
TRUEevaluated 2140 times by 9 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 1082 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
&& afi != scope
afi != scopeDescription
TRUEevaluated 1502 times by 9 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 638 times by 7 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
638-2140
868 if (afi->isFocusScope()
afi->isFocusScope()Description
TRUEevaluated 706 times by 9 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 796 times by 9 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
706-796
869 QQuickItemPrivate::get(afi)->activeFocus = true;-
870 changed << afi;-
871 }
executed 706 times by 9 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
706
872 afi = afi->parentItem();-
873 }
executed 1502 times by 9 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
1502
874 updateFocusItemTransform();-
875 sendFocusIn = true;-
876 }
executed 1720 times by 18 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
1720
877-
878-
879-
880 if (oldActiveFocusItem
oldActiveFocusItemDescription
TRUEevaluated 644 times by 7 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 5931 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
) {
644-5931
881 QFocusEvent event(QEvent::FocusOut, reason);-
882 QCoreApplication::sendEvent(oldActiveFocusItem, &event);-
883 }
executed 644 times by 7 tests: end of block
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
644
884-
885-
886 if (sendFocusIn
sendFocusInDescription
TRUEevaluated 1720 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 4855 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
&& activeFocusItem == newActiveFocusItem
activeFocusIte...ctiveFocusItemDescription
TRUEevaluated 1716 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquicktextinput
) {
4-4855
887 QFocusEvent event(QEvent::FocusIn, reason);-
888 QCoreApplication::sendEvent(newActiveFocusItem, &event);-
889 }
executed 1716 times by 18 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
1716
890-
891 if (activeFocusItem != currentActiveFocusItem
activeFocusIte...ctiveFocusItemDescription
TRUEevaluated 1714 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 4861 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
)
1714-4861
892 q->focusObjectChanged(activeFocusItem);
executed 1714 times by 18 tests: q->focusObjectChanged(activeFocusItem);
Executed by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
1714
893-
894 if (!changed.isEmpty()
!changed.isEmpty()Description
TRUEevaluated 4801 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
FALSEevaluated 1774 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
)
1774-4801
895 notifyFocusChangesRecur(changed.data(), changed.count() - 1);
executed 4801 times by 20 tests: notifyFocusChangesRecur(changed.data(), changed.count() - 1);
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
4801
896}
executed 6575 times by 21 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
6575
897-
898void QQuickWindowPrivate::clearFocusInScope(QQuickItem *scope, QQuickItem *item, Qt::FocusReason reason, FocusOptions options)-
899{-
900 QQuickWindow * const q = q_func();-
901-
902 ((item) ? static_cast<void>(0) : qt_assert("item", __FILE__, 1006));-
903 ((scope || item == contentItem) ? static_cast<void>(0) : qt_assert("scope || item == contentItem", __FILE__, 1007));-
904-
905 for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 3198 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
; qt_category_enabled = false) QMessageLogger(__FILE__, 1009, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << "QQuickWindowPrivate::clearFocusInScope():";
never executed: QMessageLogger(__FILE__, 1009, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << "QQuickWindowPrivate::clearFocusInScope():";
0-3198
906 for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 3198 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
; qt_category_enabled = false) QMessageLogger(__FILE__, 1010, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " scope:" << (QObject *)scope;
never executed: QMessageLogger(__FILE__, 1010, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " scope:" << (QObject *)scope;
0-3198
907 for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 3198 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
; qt_category_enabled = false) QMessageLogger(__FILE__, 1011, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " item:" << (QObject *)item;
never executed: QMessageLogger(__FILE__, 1011, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " item:" << (QObject *)item;
0-3198
908 for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 3198 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
; qt_category_enabled = false) QMessageLogger(__FILE__, 1012, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " activeFocusItem:" << (QObject *)activeFocusItem;
never executed: QMessageLogger(__FILE__, 1012, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " activeFocusItem:" << (QObject *)activeFocusItem;
0-3198
909-
910 QQuickItemPrivate *scopePrivate = nullptr;-
911 if (scope
scopeDescription
TRUEevaluated 3178 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
FALSEevaluated 20 times by 5 tests
Evaluated by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
) {
20-3178
912 scopePrivate = QQuickItemPrivate::get(scope);-
913 if ( !scopePrivate->subFocusItem
!scopePrivate->subFocusItemDescription
TRUEnever evaluated
FALSEevaluated 3178 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
)
0-3178
914 return;
never executed: return;
0
915 }
executed 3178 times by 15 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
3178
916-
917 QQuickItem *currentActiveFocusItem = activeFocusItem;-
918 QQuickItem *oldActiveFocusItem = nullptr;-
919 QQuickItem *newActiveFocusItem = nullptr;-
920-
921 lastFocusReason = reason;-
922-
923 QVarLengthArray<QQuickItem *, 20> changed;-
924-
925 ((item == contentItem || item == scopePrivate->subFocusItem) ? static_cast<void>(0) : qt_assert("item == contentItem || item == scopePrivate->subFocusItem", __FILE__, 1029));-
926-
927-
928 if (item == contentItem
item == contentItemDescription
TRUEevaluated 20 times by 5 tests
Evaluated by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
FALSEevaluated 3178 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
|| scopePrivate->activeFocus
scopePrivate->activeFocusDescription
TRUEevaluated 444 times by 9 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 2734 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
) {
20-3178
929 oldActiveFocusItem = activeFocusItem;-
930 newActiveFocusItem = scope;-
931-
932-
933 QGuiApplication::inputMethod()->commit();-
934-
935-
936 activeFocusItem = nullptr;-
937-
938 if (oldActiveFocusItem
oldActiveFocusItemDescription
TRUEevaluated 464 times by 10 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEnever evaluated
) {
0-464
939 QQuickItem *afi = oldActiveFocusItem;-
940 while (afi
afiDescription
TRUEevaluated 1156 times by 10 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 20 times by 5 tests
Evaluated by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
&& afi != scope
afi != scopeDescription
TRUEevaluated 712 times by 10 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 444 times by 9 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
20-1156
941 if (QQuickItemPrivate::get(afi)->activeFocus
QQuickItemPriv...)->activeFocusDescription
TRUEevaluated 508 times by 10 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 204 times by 9 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
204-508
942 QQuickItemPrivate::get(afi)->activeFocus = false;-
943 changed << afi;-
944 }
executed 508 times by 10 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
508
945 afi = afi->parentItem();-
946 }
executed 712 times by 10 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
712
947 }
executed 464 times by 10 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
464
948 }
executed 464 times by 10 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
464
949-
950 if (item != contentItem
item != contentItemDescription
TRUEevaluated 3178 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
FALSEevaluated 20 times by 5 tests
Evaluated by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
&& !(options & DontChangeSubFocusItem)
!(options & Do...eSubFocusItem)Description
TRUEevaluated 3172 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickitem
) {
6-3178
951 QQuickItem *oldSubFocusItem = scopePrivate->subFocusItem;-
952 if (oldSubFocusItem
oldSubFocusItemDescription
TRUEevaluated 3172 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
FALSEnever evaluated
&& !(options & DontChangeFocusProperty)
!(options & Do...FocusProperty)Description
TRUEevaluated 70 times by 4 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 3102 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
) {
0-3172
953 QQuickItemPrivate::get(oldSubFocusItem)->focus = false;-
954 changed << oldSubFocusItem;-
955 }
executed 70 times by 4 tests: end of block
Executed by:
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquicktextedit
  • tst_qquicktextinput
70
956-
957 QQuickItemPrivate::get(item)->updateSubFocusItem(scope, false);-
958-
959 }
executed 3172 times by 15 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
else if (!(options & DontChangeFocusProperty)
!(options & Do...FocusProperty)Description
TRUEevaluated 20 times by 5 tests
Evaluated by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickitem
) {
6-3172
960 QQuickItemPrivate::get(item)->focus = false;-
961 changed << item;-
962 }
executed 20 times by 5 tests: end of block
Executed by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
20
963-
964 if (newActiveFocusItem
newActiveFocusItemDescription
TRUEevaluated 444 times by 9 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 2754 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
) {
444-2754
965 ((newActiveFocusItem == scope) ? static_cast<void>(0) : qt_assert("newActiveFocusItem == scope", __FILE__, 1069));-
966 activeFocusItem = scope;-
967 updateFocusItemTransform();-
968 }
executed 444 times by 9 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
444
969-
970-
971-
972-
973 if (oldActiveFocusItem
oldActiveFocusItemDescription
TRUEevaluated 464 times by 10 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 2734 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
) {
464-2734
974 QFocusEvent event(QEvent::FocusOut, reason);-
975 QCoreApplication::sendEvent(oldActiveFocusItem, &event);-
976 }
executed 464 times by 10 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
464
977-
978-
979 if (newActiveFocusItem
newActiveFocusItemDescription
TRUEevaluated 444 times by 9 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 2754 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
&& activeFocusItem == newActiveFocusItem
activeFocusIte...ctiveFocusItemDescription
TRUEevaluated 444 times by 9 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEnever evaluated
) {
0-2754
980 QFocusEvent event(QEvent::FocusIn, reason);-
981 QCoreApplication::sendEvent(newActiveFocusItem, &event);-
982 }
executed 444 times by 9 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
444
983-
984 if (activeFocusItem != currentActiveFocusItem
activeFocusIte...ctiveFocusItemDescription
TRUEevaluated 462 times by 10 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 2736 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
)
462-2736
985 q->focusObjectChanged(activeFocusItem);
executed 462 times by 10 tests: q->focusObjectChanged(activeFocusItem);
Executed by:
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
462
986-
987 if (!changed.isEmpty()
!changed.isEmpty()Description
TRUEevaluated 464 times by 10 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 2734 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
)
464-2734
988 notifyFocusChangesRecur(changed.data(), changed.count() - 1);
executed 464 times by 10 tests: notifyFocusChangesRecur(changed.data(), changed.count() - 1);
Executed by:
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
464
989}
executed 3198 times by 16 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_qquickwidget
3198
990-
991void QQuickWindowPrivate::clearFocusObject()-
992{-
993 if (activeFocusItem == contentItem
activeFocusItem == contentItemDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
994 return;
never executed: return;
0
995-
996 clearFocusInScope(contentItem, QQuickItemPrivate::get(contentItem)->subFocusItem, Qt::OtherFocusReason);-
997}
never executed: end of block
0
998-
999void QQuickWindowPrivate::notifyFocusChangesRecur(QQuickItem **items, int remaining)-
1000{-
1001 QPointer<QQuickItem> item(*items);-
1002-
1003 if (remaining
remainingDescription
TRUEevaluated 5003 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
FALSEevaluated 10951 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquickspringanimation
  • tst_qquicktext
  • tst_qquicktextedit
  • ...
)
5003-10951
1004 notifyFocusChangesRecur(items + 1, remaining - 1);
executed 5003 times by 20 tests: notifyFocusChangesRecur(items + 1, remaining - 1);
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
5003
1005-
1006 if (item
itemDescription
TRUEevaluated 15954 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquickspringanimation
  • tst_qquicktext
  • tst_qquicktextedit
  • ...
FALSEnever evaluated
) {
0-15954
1007 QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item);-
1008-
1009 if (itemPrivate->notifiedFocus != itemPrivate->focus
itemPrivate->n...Private->focusDescription
TRUEevaluated 12492 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquickspringanimation
  • tst_qquicktext
  • tst_qquicktextedit
  • ...
FALSEevaluated 3462 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
3462-12492
1010 itemPrivate->notifiedFocus = itemPrivate->focus;-
1011 item->focusChanged(itemPrivate->focus);-
1012 }
executed 12492 times by 28 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquickspringanimation
  • tst_qquicktext
  • tst_qquicktextedit
  • ...
12492
1013-
1014 if (item && itemPrivate->notifiedActiveFocus != itemPrivate->activeFocus
itemPrivate->n...e->activeFocusDescription
TRUEevaluated 3418 times by 18 tests
Evaluated by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 12536 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquickspringanimation
  • tst_qquicktext
  • tst_qquicktextedit
  • ...
) {
3418-12536
1015 itemPrivate->notifiedActiveFocus = itemPrivate->activeFocus;-
1016 itemPrivate->itemChange(QQuickItem::ItemActiveFocusHasChanged, itemPrivate->activeFocus);-
1017 item->activeFocusChanged(itemPrivate->activeFocus);-
1018 }
executed 3418 times by 18 tests: end of block
Executed by:
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
3418
1019 }
executed 15954 times by 28 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquickspringanimation
  • tst_qquicktext
  • tst_qquicktextedit
  • ...
15954
1020}
executed 15954 times by 28 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquickspringanimation
  • tst_qquicktext
  • tst_qquicktextedit
  • ...
15954
1021-
1022void QQuickWindowPrivate::dirtyItem(QQuickItem *)-
1023{-
1024 QQuickWindow * const q = q_func();-
1025 q->maybeUpdate();-
1026}
executed 1705029 times by 90 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
1705029
1027-
1028void QQuickWindowPrivate::cleanup(QSGNode *n)-
1029{-
1030 QQuickWindow * const q = q_func();-
1031-
1032 ((!cleanupNodeList.contains(n)) ? static_cast<void>(0) : qt_assert("!cleanupNodeList.contains(n)", __FILE__, 1136));-
1033 cleanupNodeList.append(n);-
1034 q->maybeUpdate();-
1035}
executed 316588 times by 74 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
316588
1036QQuickWindow::QQuickWindow(QWindow *parent)-
1037 : QQuickWindow(*new QQuickWindowPrivate, parent)-
1038{-
1039}
executed 1894 times by 20 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquickpainteditem
  • tst_qquickrepeater
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickview
  • tst_qquickvisualdatamodel
  • tst_rendernode
1894
1040-
1041-
1042-
1043-
1044-
1045-
1046QQuickWindow::QQuickWindow(QQuickWindowPrivate &dd, QWindow *parent)-
1047 : QWindow(dd, parent)-
1048{-
1049 QQuickWindowPrivate * const d = d_func();-
1050 d->init(this);-
1051}
executed 5248 times by 89 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
5248
1052-
1053-
1054-
1055-
1056QQuickWindow::QQuickWindow(QQuickRenderControl *control)-
1057 : QWindow(*(new QQuickWindowPrivate), nullptr)-
1058{-
1059 QQuickWindowPrivate * const d = d_func();-
1060 d->init(this, control);-
1061}
executed 118 times by 2 tests: end of block
Executed by:
  • tst_qquickshortcut
  • tst_qquickwidget
118
1062-
1063-
1064-
1065-
1066QQuickWindow::QQuickWindow(QQuickWindowPrivate &dd, QQuickRenderControl *control)-
1067 : QWindow(dd, nullptr)-
1068{-
1069 QQuickWindowPrivate * const d = d_func();-
1070 d->init(this, control);-
1071}
never executed: end of block
0
1072-
1073-
1074-
1075-
1076QQuickWindow::~QQuickWindow()-
1077{-
1078 QQuickWindowPrivate * const d = d_func();-
1079-
1080 if (d->renderControl
d->renderControlDescription
TRUEnever evaluated
FALSEevaluated 5330 times by 89 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • ...
) {
0-5330
1081 QQuickRenderControlPrivate::get(d->renderControl)->windowDestroyed();-
1082 }
never executed: end of block
else if (d->windowManager
d->windowManagerDescription
TRUEevaluated 5212 times by 88 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • ...
FALSEevaluated 118 times by 2 tests
Evaluated by:
  • tst_qquickshortcut
  • tst_qquickwidget
) {
0-5212
1083 d->windowManager->removeWindow(this);-
1084 d->windowManager->windowDestroyed(this);-
1085 }
executed 5212 times by 88 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • ...
5212
1086-
1087 delete d->incubationController; d->incubationController = nullptr;-
1088-
1089 delete d->dragGrabber; d->dragGrabber = nullptr;-
1090-
1091 QQuickRootItem *root = d->contentItem;-
1092 d->contentItem = nullptr;-
1093 delete root;-
1094 qDeleteAll(d->pointerEventInstances);-
1095 d->pointerEventInstances.clear();-
1096-
1097 d->renderJobMutex.lock();-
1098 qDeleteAll(d->beforeSynchronizingJobs);-
1099 d->beforeSynchronizingJobs.clear();-
1100 qDeleteAll(d->afterSynchronizingJobs);-
1101 d->afterSynchronizingJobs.clear();-
1102 qDeleteAll(d->beforeRenderingJobs);-
1103 d->beforeRenderingJobs.clear();-
1104 qDeleteAll(d->afterRenderingJobs);-
1105 d->afterRenderingJobs.clear();-
1106 qDeleteAll(d->afterSwapJobs);-
1107 d->afterSwapJobs.clear();-
1108 d->renderJobMutex.unlock();-
1109-
1110-
1111-
1112-
1113-
1114-
1115 QQuickPixmap::purgeCache();-
1116}
executed 5330 times by 89 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • ...
5330
1117void QQuickWindow::releaseResources()-
1118{-
1119 QQuickWindowPrivate * const d = d_func();-
1120 if (d->windowManager
d->windowManagerDescription
TRUEevaluated 254 times by 3 tests
Evaluated by:
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickimage
FALSEnever evaluated
)
0-254
1121 d->windowManager->releaseResources(this);
executed 254 times by 3 tests: d->windowManager->releaseResources(this);
Executed by:
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickimage
254
1122 QQuickPixmap::purgeCache();-
1123}
executed 254 times by 3 tests: end of block
Executed by:
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickimage
254
1124void QQuickWindow::setPersistentOpenGLContext(bool persistent)-
1125{-
1126 QQuickWindowPrivate * const d = d_func();-
1127 d->persistentGLContext = persistent;-
1128}
executed 266 times by 1 test: end of block
Executed by:
  • tst_examples
266
1129bool QQuickWindow::isPersistentOpenGLContext() const-
1130{-
1131 const QQuickWindowPrivate * const d = d_func();-
1132 return
never executed: return d->persistentGLContext;
d->persistentGLContext;
never executed: return d->persistentGLContext;
0
1133}-
1134void QQuickWindow::setPersistentSceneGraph(bool persistent)-
1135{-
1136 QQuickWindowPrivate * const d = d_func();-
1137 d->persistentSceneGraph = persistent;-
1138}
executed 266 times by 1 test: end of block
Executed by:
  • tst_examples
266
1139bool QQuickWindow::isPersistentSceneGraph() const-
1140{-
1141 const QQuickWindowPrivate * const d = d_func();-
1142 return
executed 28 times by 1 test: return d->persistentSceneGraph;
Executed by:
  • tst_qquickwidget
d->persistentSceneGraph;
executed 28 times by 1 test: return d->persistentSceneGraph;
Executed by:
  • tst_qquickwidget
28
1143}-
1144QQuickItem *QQuickWindow::contentItem() const-
1145{-
1146 const QQuickWindowPrivate * const d = d_func();-
1147-
1148 return
executed 15398 times by 90 tests: return d->contentItem;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
d->contentItem;
executed 15398 times by 90 tests: return d->contentItem;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
15398
1149}-
1150-
1151-
1152-
1153-
1154-
1155-
1156-
1157QQuickItem *QQuickWindow::activeFocusItem() const-
1158{-
1159 const QQuickWindowPrivate * const d = d_func();-
1160-
1161 return
executed 54206 times by 78 tests: return d->activeFocusItem;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • ...
d->activeFocusItem;
executed 54206 times by 78 tests: return d->activeFocusItem;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • ...
54206
1162}-
1163-
1164-
1165-
1166-
1167-
1168QObject *QQuickWindow::focusObject() const-
1169{-
1170 const QQuickWindowPrivate * const d = d_func();-
1171-
1172 if (d->activeFocusItem
d->activeFocusItemDescription
TRUEevaluated 12065 times by 17 tests
Evaluated by:
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEnever evaluated
)
0-12065
1173 return
executed 12065 times by 17 tests: return d->activeFocusItem;
Executed by:
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
d->activeFocusItem;
executed 12065 times by 17 tests: return d->activeFocusItem;
Executed by:
  • tst_qquickanimationcontroller
  • tst_qquickapplication
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
12065
1174 return
never executed: return const_cast<QQuickWindow*>(this);
const_cast<QQuickWindow*>(this);
never executed: return const_cast<QQuickWindow*>(this);
0
1175}-
1176-
1177-
1178-
1179-
1180-
1181QQuickItem *QQuickWindow::mouseGrabberItem() const-
1182{-
1183 const QQuickWindowPrivate * const d = d_func();-
1184-
1185 if (d->isDeliveringTouchAsMouse()
d->isDeliveringTouchAsMouse()Description
TRUEevaluated 518 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEevaluated 474005 times by 90 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
) {
518-474005
1186 if (QQuickPointerEvent *event = d->queryPointerEventInstance(d->touchMouseDevice)
QQuickPointerE...chMouseDevice)Description
TRUEevaluated 518 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEnever evaluated
) {
0-518
1187 auto point = event->pointById(d->touchMouseId);-
1188 return
executed 518 times by 5 tests: return point ? point->grabberItem() : nullptr;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
point ? point->grabberItem() : nullptr;
executed 518 times by 5 tests: return point ? point->grabberItem() : nullptr;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
518
1189 }-
1190 }
never executed: end of block
else if (QQuickPointerEvent *event = d->queryPointerEventInstance(QQuickPointerDevice::genericMouseDevice())
QQuickPointerE...MouseDevice())Description
TRUEevaluated 40512 times by 17 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
FALSEevaluated 433493 times by 90 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
) {
0-433493
1191 ((event->pointCount()) ? static_cast<void>(0) : qt_assert("event->pointCount()", __FILE__, 1534));-
1192 return
executed 40512 times by 17 tests: return event->point(0)->grabberItem();
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
event->point(0)->grabberItem();
executed 40512 times by 17 tests: return event->point(0)->grabberItem();
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
40512
1193 }-
1194 return
executed 433493 times by 90 tests: return nullptr;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
nullptr;
executed 433493 times by 90 tests: return nullptr;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
433493
1195}-
1196-
1197-
1198bool QQuickWindowPrivate::clearHover(ulong timestamp)-
1199{-
1200 QQuickWindow * const q = q_func();-
1201 if (hoverItems.isEmpty()
hoverItems.isEmpty()Description
TRUEevaluated 17477 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextinput
FALSEevaluated 10 times by 3 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickwidget
)
10-17477
1202 return
executed 17477 times by 14 tests: return false;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextinput
false;
executed 17477 times by 14 tests: return false;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextinput
17477
1203-
1204 QPointF pos = q->mapFromGlobal(QGuiApplicationPrivate::lastCursorPosition.toPoint());-
1205-
1206 bool accepted = false;-
1207 for (QQuickItem* item : qAsConst(hoverItems)) {-
1208 accepted = sendHoverEvent(QEvent::HoverLeave, item, pos, pos, QGuiApplication::keyboardModifiers(), timestamp, true)
sendHoverEvent...mestamp, true)Description
TRUEevaluated 10 times by 3 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickwidget
FALSEnever evaluated
|| accepted
acceptedDescription
TRUEnever evaluated
FALSEnever evaluated
;
0-10
1209 QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item);-
1210 if (itemPrivate->hasPointerHandlers()
itemPrivate->h...nterHandlers()Description
TRUEnever evaluated
FALSEevaluated 10 times by 3 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickwidget
) {
0-10
1211 pos = q->mapFromGlobal(QCursor::pos());-
1212 QQuickPointerEvent *pointerEvent = pointerEventInstance(QQuickPointerDevice::genericMouseDevice(), QEvent::MouseMove);-
1213 pointerEvent->point(0)->reset(Qt::TouchPointMoved, pos, quint64(1) << 24 , timestamp, QVector2D());-
1214 pointerEvent->point(0)->setAccepted(true);-
1215 pointerEvent->localize(item);-
1216 for (QQuickPointerHandler *h : itemPrivate->extra->pointerHandlers)-
1217 if (QQuickHoverHandler *hh = qmlobject_cast<QQuickHoverHandler *>(h)
QQuickHoverHan...rHandler *>(h)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1218 hh->handlePointerEvent(pointerEvent);
never executed: hh->handlePointerEvent(pointerEvent);
0
1219 }
never executed: end of block
0
1220 }
executed 10 times by 3 tests: end of block
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickwidget
10
1221 hoverItems.clear();-
1222 return
executed 10 times by 3 tests: return accepted;
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickwidget
accepted;
executed 10 times by 3 tests: return accepted;
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickwidget
10
1223}-
1224-
1225-
1226bool QQuickWindow::event(QEvent *e)-
1227{-
1228 QQuickWindowPrivate * const d = d_func();-
1229-
1230 switch (e->type()) {-
1231-
1232 case
executed 216 times by 10 tests: case QEvent::TouchBegin:
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
QEvent::TouchBegin:
executed 216 times by 10 tests: case QEvent::TouchBegin:
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
216
1233 case
executed 840 times by 10 tests: case QEvent::TouchUpdate:
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
QEvent::TouchUpdate:
executed 840 times by 10 tests: case QEvent::TouchUpdate:
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
840
1234 case
executed 184 times by 10 tests: case QEvent::TouchEnd:
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
QEvent::TouchEnd:
executed 184 times by 10 tests: case QEvent::TouchEnd:
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
{
184
1235 QTouchEvent *touch = static_cast<QTouchEvent*>(e);-
1236 d->handleTouchEvent(touch);-
1237 if (__builtin_expect(!!(QCoreApplication::testAttribute(Qt::AA_SynthesizeMouseForUnhandledTouchEvents)), true)
__builtin_expe...vents)), true)Description
TRUEevaluated 448 times by 5 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
FALSEevaluated 792 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
448-792
1238-
1239-
1240 e->accept();-
1241 }
executed 448 times by 5 tests: end of block
Executed by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
448
1242 return
executed 1240 times by 10 tests: return true;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
true;
executed 1240 times by 10 tests: return true;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
1240
1243 }-
1244 break;
dead code: break;
-
1245 case
executed 2 times by 1 test: case QEvent::TouchCancel:
Executed by:
  • tst_qquickpincharea
QEvent::TouchCancel:
executed 2 times by 1 test: case QEvent::TouchCancel:
Executed by:
  • tst_qquickpincharea
2
1246-
1247 return
executed 2 times by 1 test: return d->deliverTouchCancelEvent(static_cast<QTouchEvent*>(e));
Executed by:
  • tst_qquickpincharea
d->deliverTouchCancelEvent(static_cast<QTouchEvent*>(e));
executed 2 times by 1 test: return d->deliverTouchCancelEvent(static_cast<QTouchEvent*>(e));
Executed by:
  • tst_qquickpincharea
2
1248 break;
dead code: break;
-
1249 case
executed 600 times by 10 tests: case QEvent::Enter:
Executed by:
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktableview
  • tst_qquickwidget
  • tst_touchmouse
QEvent::Enter:
executed 600 times by 10 tests: case QEvent::Enter:
Executed by:
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktableview
  • tst_qquickwidget
  • tst_touchmouse
{
600
1250 if (!d->contentItem
!d->contentItemDescription
TRUEnever evaluated
FALSEevaluated 600 times by 10 tests
Evaluated by:
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktableview
  • tst_qquickwidget
  • tst_touchmouse
)
0-600
1251 return
never executed: return false;
false;
never executed: return false;
0
1252 QEnterEvent *enter = static_cast<QEnterEvent*>(e);-
1253 bool accepted = enter->isAccepted();-
1254 bool delivered = d->deliverHoverEvent(d->contentItem, enter->windowPos(), d->lastMousePosition,-
1255 QGuiApplication::keyboardModifiers(), 0L, accepted);-
1256 enter->setAccepted(accepted);-
1257 return
executed 600 times by 10 tests: return delivered;
Executed by:
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktableview
  • tst_qquickwidget
  • tst_touchmouse
delivered;
executed 600 times by 10 tests: return delivered;
Executed by:
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktableview
  • tst_qquickwidget
  • tst_touchmouse
600
1258 }-
1259 break;
dead code: break;
-
1260 case
executed 2 times by 1 test: case QEvent::Leave:
Executed by:
  • tst_qquickwidget
QEvent::Leave:
executed 2 times by 1 test: case QEvent::Leave:
Executed by:
  • tst_qquickwidget
2
1261 d->clearHover();-
1262 d->lastMousePosition = QPointF();-
1263 break;
executed 2 times by 1 test: break;
Executed by:
  • tst_qquickwidget
2
1264-
1265 case
executed 60 times by 1 test: case QEvent::DragEnter:
Executed by:
  • tst_qquickdroparea
QEvent::DragEnter:
executed 60 times by 1 test: case QEvent::DragEnter:
Executed by:
  • tst_qquickdroparea
60
1266 case
executed 50 times by 1 test: case QEvent::DragLeave:
Executed by:
  • tst_qquickdroparea
QEvent::DragLeave:
executed 50 times by 1 test: case QEvent::DragLeave:
Executed by:
  • tst_qquickdroparea
50
1267 case
executed 68 times by 1 test: case QEvent::DragMove:
Executed by:
  • tst_qquickdroparea
QEvent::DragMove:
executed 68 times by 1 test: case QEvent::DragMove:
Executed by:
  • tst_qquickdroparea
68
1268 case
executed 10 times by 1 test: case QEvent::Drop:
Executed by:
  • tst_qquickdroparea
QEvent::Drop:
executed 10 times by 1 test: case QEvent::Drop:
Executed by:
  • tst_qquickdroparea
10
1269 d->deliverDragEvent(d->dragGrabber, e);-
1270 break;
executed 188 times by 1 test: break;
Executed by:
  • tst_qquickdroparea
188
1271-
1272 case
never executed: case QEvent::WindowDeactivate:
QEvent::WindowDeactivate:
never executed: case QEvent::WindowDeactivate:
0
1273 if (d->contentItem
d->contentItemDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
1274 d->contentItem->windowDeactivateEvent();
never executed: d->contentItem->windowDeactivateEvent();
0
1275 break;
never executed: break;
0
1276 case
never executed: case QEvent::Close:
QEvent::Close:
never executed: case QEvent::Close:
{
0
1277-
1278-
1279 QQuickCloseEvent qev;-
1280 qev.setAccepted(e->isAccepted());-
1281 closing(&qev);-
1282 e->setAccepted(qev.isAccepted());-
1283 } break;
never executed: break;
0
1284 case
executed 20 times by 5 tests: case QEvent::FocusAboutToChange:
Executed by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
QEvent::FocusAboutToChange:
executed 20 times by 5 tests: case QEvent::FocusAboutToChange:
Executed by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
20
1285-
1286 if (d->activeFocusItem
d->activeFocusItemDescription
TRUEevaluated 20 times by 5 tests
Evaluated by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
FALSEnever evaluated
)
0-20
1287 (static_cast<
executed 20 times by 5 tests: (static_cast<QGuiApplication *>(QCoreApplication::instance()))->inputMethod()->commit();
Executed by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
QGuiApplication *>(QCoreApplication::instance()))->inputMethod()->commit();
executed 20 times by 5 tests: (static_cast<QGuiApplication *>(QCoreApplication::instance()))->inputMethod()->commit();
Executed by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
20
1288-
1289 if (mouseGrabberItem()
mouseGrabberItem()Description
TRUEnever evaluated
FALSEevaluated 20 times by 5 tests
Evaluated by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
)
0-20
1290 mouseGrabberItem()->ungrabMouse();
never executed: mouseGrabberItem()->ungrabMouse();
0
1291 break;
executed 20 times by 5 tests: break;
Executed by:
  • tst_qquickapplication
  • tst_qquickfocusscope
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicktextedit
20
1292 case
executed 42673 times by 65 tests: case QEvent::UpdateRequest:
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • ...
QEvent::UpdateRequest:
executed 42673 times by 65 tests: case QEvent::UpdateRequest:
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • ...
{
42673
1293 if (d->windowManager
d->windowManagerDescription
TRUEevaluated 42673 times by 65 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • ...
FALSEnever evaluated
)
0-42673
1294 d->windowManager->handleUpdateRequest(this);
executed 42673 times by 65 tests: d->windowManager->handleUpdateRequest(this);
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • ...
42673
1295 break;
executed 42673 times by 65 tests: break;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • ...
42673
1296 }-
1297-
1298 case
never executed: case QEvent::NativeGesture:
QEvent::NativeGesture:
never executed: case QEvent::NativeGesture:
0
1299 d->deliverSinglePointEventUntilAccepted(d->pointerEventInstance(e));-
1300 break;
never executed: break;
0
1301-
1302 case
executed 2124 times by 8 tests: case QEvent::ShortcutOverride:
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
QEvent::ShortcutOverride:
executed 2124 times by 8 tests: case QEvent::ShortcutOverride:
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
2124
1303 if (d->activeFocusItem
d->activeFocusItemDescription
TRUEevaluated 2102 times by 7 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 22 times by 3 tests
Evaluated by:
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquickwidget
)
22-2102
1304 QCoreApplication::sendEvent(d->activeFocusItem, e);
executed 2102 times by 7 tests: QCoreApplication::sendEvent(d->activeFocusItem, e);
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
2102
1305 return
executed 2124 times by 8 tests: return true;
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
true;
executed 2124 times by 8 tests: return true;
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
2124
1306 default
executed 56630 times by 90 tests: default:
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
:
executed 56630 times by 90 tests: default:
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
56630
1307 break;
executed 56630 times by 90 tests: break;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
56630
1308 }-
1309-
1310 if (e->type() == QEvent::Type(QQuickWindowPrivate::FullUpdateRequest)
e->type() == Q...UpdateRequest)Description
TRUEnever evaluated
FALSEevaluated 99513 times by 90 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
)
0-99513
1311 update();
never executed: update();
0
1312-
1313 return
executed 99513 times by 90 tests: return QWindow::event(e);
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
QWindow::event(e);
executed 99513 times by 90 tests: return QWindow::event(e);
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
99513
1314}-
1315-
1316-
1317void QQuickWindow::keyPressEvent(QKeyEvent *e)-
1318{-
1319 QQuickWindowPrivate * const d = d_func();-
1320 if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileInputEvents)
QQuickProfiler...leInputEvents)Description
TRUEnever evaluated
FALSEevaluated 3506 times by 8 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
) { (QQuickProfiler::inputEvent<QQuickProfiler::Key, QQuickProfiler::InputKeyPress>(e->key(), e->modifiers())); }
never executed: end of block
else (
executed 3506 times by 8 tests: (void)0 ;
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
void)0
executed 3506 times by 8 tests: (void)0 ;
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
0-3506
1321 ;
executed 3506 times by 8 tests: (void)0 ;
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
3506
1322 d->deliverKeyEvent(e);-
1323}
executed 3506 times by 8 tests: end of block
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
3506
1324-
1325-
1326void QQuickWindow::keyReleaseEvent(QKeyEvent *e)-
1327{-
1328 QQuickWindowPrivate * const d = d_func();-
1329 if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileInputEvents)
QQuickProfiler...leInputEvents)Description
TRUEnever evaluated
FALSEevaluated 3126 times by 9 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
) { (QQuickProfiler::inputEvent<QQuickProfiler::Key, QQuickProfiler::InputKeyRelease>(e->key(), e->modifiers())); }
never executed: end of block
else (
executed 3126 times by 9 tests: (void)0 ;
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
void)0
executed 3126 times by 9 tests: (void)0 ;
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
0-3126
1330 ;
executed 3126 times by 9 tests: (void)0 ;
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
3126
1331 d->deliverKeyEvent(e);-
1332}
executed 3126 times by 9 tests: end of block
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
3126
1333-
1334void QQuickWindowPrivate::deliverKeyEvent(QKeyEvent *e)-
1335{-
1336 if (activeFocusItem
activeFocusItemDescription
TRUEevaluated 6608 times by 8 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 24 times by 3 tests
Evaluated by:
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquickwidget
) {
24-6608
1337 QQuickItem *item = activeFocusItem;-
1338 e->accept();-
1339 QCoreApplication::sendEvent(item, e);-
1340 while (!e->isAccepted()
!e->isAccepted()Description
TRUEevaluated 6132 times by 8 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 4030 times by 7 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
&& (
(item = item->parentItem())Description
TRUEevaluated 3554 times by 6 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 2578 times by 8 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
item = item->parentItem())
(item = item->parentItem())Description
TRUEevaluated 3554 times by 6 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 2578 times by 8 tests
Evaluated by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
2578-6132
1341 e->accept();-
1342 QCoreApplication::sendEvent(item, e);-
1343 }
executed 3554 times by 6 tests: end of block
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
  • tst_qquicktextinput
3554
1344 }
executed 6608 times by 8 tests: end of block
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
6608
1345}
executed 6632 times by 9 tests: end of block
Executed by:
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshortcut
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
6632
1346-
1347QMouseEvent *QQuickWindowPrivate::cloneMouseEvent(QMouseEvent *event, QPointF *transformedLocalPos)-
1348{-
1349 int caps = QGuiApplicationPrivate::mouseEventCaps(event);-
1350 QVector2D velocity = QGuiApplicationPrivate::mouseEventVelocity(event);-
1351 QMouseEvent *me = new QMouseEvent(event->type(),-
1352 transformedLocalPos ? *transformedLocalPos : event->localPos(),-
1353 event->windowPos(), event->screenPos(),-
1354 event->button(), event->buttons(), event->modifiers());-
1355 QGuiApplicationPrivate::setMouseEventCapsAndVelocity(me, caps, velocity);-
1356 QGuiApplicationPrivate::setMouseEventSource(me, QGuiApplicationPrivate::mouseEventSource(event));-
1357 me->setTimestamp(event->timestamp());-
1358 return
executed 1305 times by 7 tests: return me;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
me;
executed 1305 times by 7 tests: return me;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
1305
1359}-
1360-
1361void QQuickWindowPrivate::deliverToPassiveGrabbers(const QVector<QPointer <QQuickPointerHandler> > &passiveGrabbers,-
1362 QQuickPointerEvent *pointerEvent)-
1363{-
1364 const QVector<QQuickPointerHandler *> &eventDeliveryTargets = pointerEvent->device()->eventDeliveryTargets();-
1365 QVarLengthArray<QPair<QQuickItem *, bool>, 4> sendFilteredPointerEventResult;-
1366 for (auto handler : passiveGrabbers) {-
1367-
1368 if (__builtin_expect(!!(handler), true)
__builtin_expe...andler), true)Description
TRUEevaluated 1153 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquicktaphandler
FALSEnever evaluated
&& !eventDeliveryTargets.contains(handler)
!eventDelivery...tains(handler)Description
TRUEevaluated 520 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquicktaphandler
FALSEevaluated 633 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquicktaphandler
) {
0-1153
1369 bool alreadyFiltered = false;-
1370 QQuickItem *par = handler->parentItem();-
1371-
1372-
1373 auto it = std::find_if(sendFilteredPointerEventResult.begin(), sendFilteredPointerEventResult.end(),-
1374 [par](const QPair<QQuickItem *, bool> &pair) { return
executed 116 times by 2 tests: return pair.first == par;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
pair.first == par;
executed 116 times by 2 tests: return pair.first == par;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
});
116
1375 if (it != sendFilteredPointerEventResult.end()
it != sendFilt...ntResult.end()Description
TRUEevaluated 100 times by 2 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
FALSEevaluated 420 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquicktaphandler
) {
100-420
1376-
1377-
1378 alreadyFiltered = it->second;-
1379 }
executed 100 times by 2 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
else {
100
1380 alreadyFiltered = sendFilteredPointerEvent(pointerEvent, par);-
1381 sendFilteredPointerEventResult << qMakePair<QQuickItem*, bool>(par, alreadyFiltered);-
1382 }
executed 420 times by 4 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquicktaphandler
420
1383 if (!alreadyFiltered
!alreadyFilteredDescription
TRUEevaluated 504 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquicktaphandler
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tst_flickableinterop
) {
16-504
1384 pointerEvent->localize(handler->parentItem());-
1385 handler->handlePointerEvent(pointerEvent);-
1386 }
executed 504 times by 4 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquicktaphandler
504
1387 }
executed 520 times by 4 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquicktaphandler
520
1388 }
executed 1153 times by 4 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquicktaphandler
1153
1389}
executed 9934 times by 18 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
9934
1390-
1391-
1392-
1393void QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent *pointerEvent)-
1394{-
1395 auto point = pointerEvent->point(0);-
1396 lastMousePosition = point->scenePosition();-
1397 const bool mouseIsReleased = (point->state() == QQuickEventPoint::Released
point->state()...oint::ReleasedDescription
TRUEevaluated 1786 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 8358 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
&& pointerEvent->buttons() == Qt::NoButton
pointerEvent->...= Qt::NoButtonDescription
TRUEevaluated 1706 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 80 times by 2 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
);
80-8358
1398-
1399 if (point->exclusiveGrabber()
point->exclusiveGrabber()Description
TRUEevaluated 6596 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 3548 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
) {
3548-6596
1400 if (auto grabber = point->grabberItem()
auto grabber =...>grabberItem()Description
TRUEevaluated 6530 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 66 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
66-6530
1401 bool handled = false;-
1402 if (sendFilteredPointerEvent(pointerEvent, grabber)
sendFilteredPo...vent, grabber)Description
TRUEevaluated 116 times by 5 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
FALSEevaluated 6414 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
)
116-6414
1403 handled = true;
executed 116 times by 5 tests: handled = true;
Executed by:
  • tst_qquickflickable
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
116
1404-
1405-
1406-
1407 Qt::MouseButtons acceptedButtons = grabber->acceptedMouseButtons();-
1408 if (!handled
!handledDescription
TRUEevaluated 6414 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 116 times by 5 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
&& pointerEvent->button() != Qt::NoButton
pointerEvent->...= Qt::NoButtonDescription
TRUEevaluated 1790 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 4624 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
&& acceptedButtons
116-6414
1409 && !(acceptedButtons & pointerEvent->button())
!(acceptedButt...ent->button())Description
TRUEevaluated 16 times by 2 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
FALSEevaluated 1772 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
16-1772
1410 pointerEvent->setAccepted(false);-
1411 handled = true;-
1412 }
executed 16 times by 2 tests: end of block
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
16
1413-
1414-
1415 if (!handled
!handledDescription
TRUEevaluated 6398 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 132 times by 6 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
) {
132-6398
1416 QPointF localPos = grabber->mapFromScene(lastMousePosition);-
1417 auto me = pointerEvent->asMouseEvent(localPos);-
1418 me->accept();-
1419 QCoreApplication::sendEvent(grabber, me);-
1420 point->setAccepted(me->isAccepted());-
1421 }
executed 6398 times by 12 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
6398
1422-
1423-
1424 if (mouseIsReleased
mouseIsReleasedDescription
TRUEevaluated 1540 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 4990 times by 11 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
)
1540-4990
1425 removeGrabber(grabber, true, isDeliveringTouchAsMouse());
executed 1540 times by 12 tests: removeGrabber(grabber, true, isDeliveringTouchAsMouse());
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1540
1426 }
executed 6530 times by 12 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
else {
6530
1427-
1428 auto handler = point->grabberPointerHandler();-
1429 pointerEvent->localize(handler->parentItem());-
1430 if (!sendFilteredPointerEvent(pointerEvent, handler->parentItem())
!sendFilteredP...>parentItem())Description
TRUEevaluated 62 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_flickableinterop
)
4-62
1431 handler->handlePointerEvent(pointerEvent);
executed 62 times by 4 tests: handler->handlePointerEvent(pointerEvent);
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
62
1432 if (mouseIsReleased
mouseIsReleasedDescription
TRUEevaluated 28 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 38 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
28-38
1433 point->setGrabberPointerHandler(nullptr, true);
executed 28 times by 4 tests: point->setGrabberPointerHandler(nullptr, true);
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
28
1434 }
executed 66 times by 4 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
66
1435 deliverToPassiveGrabbers(point->passiveGrabbers(), pointerEvent);-
1436 }
executed 6596 times by 14 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
else {
6596
1437 bool delivered = false;-
1438 if (pointerEvent->isPressEvent()
pointerEvent->isPressEvent()Description
TRUEevaluated 1764 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 1784 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
) {
1764-1784
1439-
1440 delivered = deliverPressOrReleaseEvent(pointerEvent);-
1441 }
executed 1764 times by 14 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
else if (pointerEvent->device()->type() == QQuickPointerDevice::Mouse
pointerEvent->...rDevice::MouseDescription
TRUEevaluated 1784 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
FALSEnever evaluated
) {
0-1784
1442-
1443-
1444-
1445 deliverToPassiveGrabbers(point->passiveGrabbers(), pointerEvent);-
1446-
1447-
1448 if (!pointerEvent->allPointsGrabbed()
!pointerEvent-...ointsGrabbed()Description
TRUEevaluated 1774 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
&& pointerEvent->buttons()) {
10-1774
1449 QVector<QQuickItem *> targetItems = pointerTargets(contentItem, point, false, false);-
1450 for (QQuickItem *item : targetItems) {-
1451 QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item);-
1452 if (!itemPrivate->extra.isAllocated()
!itemPrivate->....isAllocated()Description
TRUEevaluated 24 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpointerhandler
FALSEevaluated 534 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
|| itemPrivate->extra->pointerHandlers.isEmpty()
itemPrivate->e...lers.isEmpty()Description
TRUEevaluated 446 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 88 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
24-534
1453 continue;
executed 470 times by 8 tests: continue;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
470
1454 pointerEvent->localize(item);-
1455 if (!sendFilteredPointerEvent(pointerEvent, item)
!sendFilteredP...erEvent, item)Description
TRUEevaluated 82 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_flickableinterop
) {
6-82
1456 if (itemPrivate->handlePointerEvent(pointerEvent, true)
itemPrivate->h...erEvent, true)Description
TRUEevaluated 60 times by 2 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickpointerhandler
FALSEevaluated 22 times by 3 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquicktaphandler
)
22-60
1457 delivered = true;
executed 60 times by 2 tests: delivered = true;
Executed by:
  • tst_flickableinterop
  • tst_qquickpointerhandler
60
1458 }
executed 82 times by 4 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
82
1459 if (point->exclusiveGrabber()
point->exclusiveGrabber()Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_flickableinterop
FALSEevaluated 82 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
6-82
1460 break;
executed 6 times by 1 test: break;
Executed by:
  • tst_flickableinterop
6
1461 }
executed 82 times by 4 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
82
1462 }
executed 152 times by 8 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
152
1463 }
executed 1784 times by 16 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
1784
1464-
1465 if (!delivered
!deliveredDescription
TRUEevaluated 1898 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
FALSEevaluated 1650 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
)
1650-1898
1466-
1467 pointerEvent->setAccepted(false);
executed 1898 times by 16 tests: pointerEvent->setAccepted(false);
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
1898
1468 }
executed 3548 times by 16 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
3548
1469}-
1470-
1471bool QQuickWindowPrivate::sendHoverEvent(QEvent::Type type, QQuickItem *item,-
1472 const QPointF &scenePos, const QPointF &lastScenePos,-
1473 Qt::KeyboardModifiers modifiers, ulong timestamp,-
1474 bool accepted)-
1475{-
1476 const QTransform transform = QQuickItemPrivate::get(item)->windowToItemTransform();-
1477-
1478-
1479 QHoverEvent hoverEvent(type, transform.map(scenePos), transform.map(lastScenePos), modifiers);-
1480 hoverEvent.setTimestamp(timestamp);-
1481 hoverEvent.setAccepted(accepted);-
1482-
1483 hasFiltered.clear();-
1484 if (sendFilteredMouseEvent(&hoverEvent, item, item->parentItem())
sendFilteredMo...>parentItem())Description
TRUEnever evaluated
FALSEevaluated 532 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
)
0-532
1485 return
never executed: return true;
true;
never executed: return true;
0
1486-
1487 QCoreApplication::sendEvent(item, &hoverEvent);-
1488-
1489 return
executed 532 times by 6 tests: return hoverEvent.isAccepted();
Executed by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
hoverEvent.isAccepted();
executed 532 times by 6 tests: return hoverEvent.isAccepted();
Executed by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
532
1490}-
1491-
1492bool QQuickWindowPrivate::deliverHoverEvent(QQuickItem *item, const QPointF &scenePos, const QPointF &lastScenePos,-
1493 Qt::KeyboardModifiers modifiers, ulong timestamp, bool &accepted)-
1494{-
1495 QQuickWindow * const q = q_func();-
1496 QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item);-
1497-
1498 if (itemPrivate->flags & QQuickItem::ItemClipsChildrenToShape
itemPrivate->f...hildrenToShapeDescription
TRUEnever evaluated
FALSEevaluated 19755 times by 21 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktableview
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
  • tst_touchmouse
) {
0-19755
1499 QPointF p = item->mapFromScene(scenePos);-
1500 if (!item->contains(p)
!item->contains(p)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1501 return
never executed: return false;
false;
never executed: return false;
0
1502 }
never executed: end of block
0
1503-
1504 for (bool qt_category_enabled = DBG_HOVER_TRACE().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 19755 times by 21 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktableview
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
  • tst_touchmouse
; qt_category_enabled = false) QMessageLogger(__FILE__, 1847, __PRETTY_FUNCTION__, DBG_HOVER_TRACE().categoryName()).debug() << q << item << scenePos << lastScenePos << "subtreeHoverEnabled" << itemPrivate->subtreeHoverEnabled;
never executed: QMessageLogger(__FILE__, 1847, __PRETTY_FUNCTION__, DBG_HOVER_TRACE().categoryName()).debug() << q << item << scenePos << lastScenePos << "subtreeHoverEnabled" << itemPrivate->subtreeHoverEnabled;
0-19755
1505 if (itemPrivate->subtreeHoverEnabled
itemPrivate->s...eeHoverEnabledDescription
TRUEevaluated 1652 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
FALSEevaluated 18103 times by 21 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktableview
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
  • tst_touchmouse
) {
1652-18103
1506 QList<QQuickItem *> children = itemPrivate->paintOrderChildItems();-
1507 for (int ii = children.count() - 1; ii >= 0
ii >= 0Description
TRUEevaluated 1202 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
FALSEevaluated 918 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
; --ii) {
918-1202
1508 QQuickItem *child = children.at(ii);-
1509 if (!child->isVisible()
!child->isVisible()Description
TRUEevaluated 28 times by 2 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
FALSEevaluated 1174 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
|| !child->isEnabled()
!child->isEnabled()Description
TRUEevaluated 10 times by 1 test
Evaluated by:
  • tst_qquickitem
FALSEevaluated 1164 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
|| QQuickItemPrivate::get(child)->culled
QQuickItemPriv...child)->culledDescription
TRUEnever evaluated
FALSEevaluated 1164 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
)
0-1174
1510 continue;
executed 38 times by 2 tests: continue;
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
38
1511 if (deliverHoverEvent(child, scenePos, lastScenePos, modifiers, timestamp, accepted)
deliverHoverEv...amp, accepted)Description
TRUEevaluated 734 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
FALSEevaluated 430 times by 5 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
)
430-734
1512 return
executed 734 times by 6 tests: return true;
Executed by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
true;
executed 734 times by 6 tests: return true;
Executed by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
734
1513 }
executed 430 times by 5 tests: end of block
Executed by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
430
1514 }
executed 918 times by 6 tests: end of block
Executed by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
918
1515-
1516 if (itemPrivate->hasPointerHandlers()
itemPrivate->h...nterHandlers()Description
TRUEnever evaluated
FALSEevaluated 19021 times by 21 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktableview
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
  • tst_touchmouse
) {
0-19021
1517 QQuickPointerEvent *pointerEvent = pointerEventInstance(QQuickPointerDevice::genericMouseDevice(), QEvent::MouseMove);-
1518 pointerEvent->point(0)->reset(Qt::TouchPointMoved, scenePos, quint64(1) << 24 , timestamp, QVector2D());-
1519 pointerEvent->point(0)->setAccepted(true);-
1520 pointerEvent->localize(item);-
1521 for (QQuickPointerHandler *h : itemPrivate->extra->pointerHandlers)-
1522 if (QQuickHoverHandler *hh = qmlobject_cast<QQuickHoverHandler *>(h)
QQuickHoverHan...rHandler *>(h)Description
TRUEnever evaluated
FALSEnever evaluated
)
0
1523 hh->handlePointerEvent(pointerEvent);
never executed: hh->handlePointerEvent(pointerEvent);
0
1524 }
never executed: end of block
0
1525-
1526 if (itemPrivate->hoverEnabled
itemPrivate->hoverEnabledDescription
TRUEevaluated 600 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
FALSEevaluated 18421 times by 21 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktableview
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
  • tst_touchmouse
) {
600-18421
1527 QPointF p = item->mapFromScene(scenePos);-
1528 if (item->contains(p)
item->contains(p)Description
TRUEevaluated 510 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
FALSEevaluated 90 times by 4 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktextedit
) {
90-510
1529 if (!hoverItems.isEmpty()
!hoverItems.isEmpty()Description
TRUEevaluated 364 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
FALSEevaluated 146 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
&& hoverItems.at(0) == item
hoverItems.at(0) == itemDescription
TRUEevaluated 356 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
FALSEevaluated 8 times by 3 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquicktextedit
) {
8-364
1530-
1531 accepted = sendHoverEvent(QEvent::HoverMove, item, scenePos, lastScenePos, modifiers, timestamp, accepted);-
1532 }
executed 356 times by 6 tests: end of block
Executed by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
else {
356
1533 QList<QQuickItem *> itemsToHover;-
1534 QQuickItem* parent = item;-
1535 itemsToHover << item;-
1536 while ((
(parent = pare...>parentItem())Description
TRUEevaluated 222 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
FALSEevaluated 154 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
parent = parent->parentItem())
(parent = pare...>parentItem())Description
TRUEevaluated 222 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
FALSEevaluated 154 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
)
154-222
1537 itemsToHover << parent;
executed 222 times by 6 tests: itemsToHover << parent;
Executed by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
222
1538-
1539-
1540 while (!hoverItems.isEmpty()
!hoverItems.isEmpty()Description
TRUEevaluated 12 times by 3 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquicktextedit
FALSEevaluated 150 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
&& !itemsToHover.contains(hoverItems.at(0))
!itemsToHover....erItems.at(0))Description
TRUEevaluated 8 times by 3 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquicktextedit
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickitem
) {
4-150
1541 QQuickItem *hoverLeaveItem = hoverItems.takeFirst();-
1542 sendHoverEvent(QEvent::HoverLeave, hoverLeaveItem, scenePos, lastScenePos, modifiers, timestamp, accepted);-
1543 }
executed 8 times by 3 tests: end of block
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquicktextedit
8
1544-
1545 if (!hoverItems.isEmpty()
!hoverItems.isEmpty()Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickitem
FALSEevaluated 150 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
&& hoverItems.at(0) == item
hoverItems.at(0) == itemDescription
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickitem
) {
0-150
1546-
1547 accepted = sendHoverEvent(QEvent::HoverMove, item, scenePos, lastScenePos, modifiers, timestamp, accepted);-
1548 }
never executed: end of block
else {
0
1549-
1550 int startIdx = -1;-
1551 if (!hoverItems.isEmpty()
!hoverItems.isEmpty()Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickitem
FALSEevaluated 150 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
)
4-150
1552 startIdx = itemsToHover.indexOf(hoverItems.at(0)) - 1;
executed 4 times by 1 test: startIdx = itemsToHover.indexOf(hoverItems.at(0)) - 1;
Executed by:
  • tst_qquickitem
4
1553 if (startIdx == -1
startIdx == -1Description
TRUEevaluated 150 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickitem
)
4-150
1554 startIdx = itemsToHover.count() - 1;
executed 150 times by 6 tests: startIdx = itemsToHover.count() - 1;
Executed by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
150
1555-
1556 for (int i = startIdx; i >= 0
i >= 0Description
TRUEevaluated 368 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
FALSEevaluated 154 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
; i--) {
154-368
1557 QQuickItem *itemToHover = itemsToHover.at(i);-
1558 QQuickItemPrivate *itemToHoverPrivate = QQuickItemPrivate::get(itemToHover);-
1559-
1560-
1561-
1562-
1563-
1564 if (itemToHoverPrivate->window == q
itemToHoverPri...e->window == qDescription
TRUEevaluated 368 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
FALSEnever evaluated
&& itemToHoverPrivate->hoverEnabled
itemToHoverPri...->hoverEnabledDescription
TRUEevaluated 158 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
FALSEevaluated 210 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
) {
0-368
1565 hoverItems.prepend(itemToHover);-
1566 sendHoverEvent(QEvent::HoverEnter, itemToHover, scenePos, lastScenePos, modifiers, timestamp, accepted);-
1567 }
executed 158 times by 6 tests: end of block
Executed by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
158
1568 }
executed 368 times by 6 tests: end of block
Executed by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
368
1569 }
executed 154 times by 6 tests: end of block
Executed by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
154
1570 }-
1571 return
executed 510 times by 6 tests: return true;
Executed by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
true;
executed 510 times by 6 tests: return true;
Executed by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
510
1572 }-
1573 }
executed 90 times by 4 tests: end of block
Executed by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktextedit
90
1574-
1575 return
executed 18511 times by 21 tests: return false;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktableview
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
  • tst_touchmouse
false;
executed 18511 times by 21 tests: return false;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktableview
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
  • tst_touchmouse
18511
1576}-
1577-
1578-
1579-
1580bool QQuickWindowPrivate::deliverSinglePointEventUntilAccepted(QQuickPointerEvent *event)-
1581{-
1582 ((event->pointCount() == 1) ? static_cast<void>(0) : qt_assert("event->pointCount() == 1", __FILE__, 1925));-
1583 QQuickEventPoint *point = event->point(0);-
1584 QVector<QQuickItem *> targetItems = pointerTargets(contentItem, point, false, false);-
1585-
1586 for (QQuickItem *item : targetItems) {-
1587 QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item);-
1588 event->localize(item);-
1589-
1590 itemPrivate->handlePointerEvent(event);-
1591 if (point->isAccepted()
point->isAccepted()Description
TRUEnever evaluated
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
)
0-10
1592 return
never executed: return true;
true;
never executed: return true;
0
1593 QPointF g = item->window()->mapToGlobal(point->scenePosition().toPoint());-
1594-
1595-
1596 if (QQuickPointerScrollEvent *pse = event->asPointerScrollEvent()
QQuickPointerS...rScrollEvent()Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
FALSEnever evaluated
) {
0-10
1597 QWheelEvent wheel(point->position(), g, pse->pixelDelta().toPoint(), pse->angleDelta().toPoint(),-
1598 pse->buttons(), pse->modifiers(), pse->phase(),-
1599 pse->isInverted(), pse->synthSource());-
1600 wheel.setTimestamp(pse->timestamp());-
1601 wheel.accept();-
1602 QCoreApplication::sendEvent(item, &wheel);-
1603 if (wheel.isAccepted()
wheel.isAccepted()Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickitem
) {
4-6
1604 for (bool qt_category_enabled = lcWheelTarget().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
; qt_category_enabled = false) QMessageLogger(__FILE__, 1947, __PRETTY_FUNCTION__, lcWheelTarget().categoryName()).debug() << &wheel << "->" << item;
never executed: QMessageLogger(__FILE__, 1947, __PRETTY_FUNCTION__, lcWheelTarget().categoryName()).debug() << &wheel << "->" << item;
0-4
1605 event->setAccepted(true);-
1606 return
executed 4 times by 2 tests: return true;
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
true;
executed 4 times by 2 tests: return true;
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
4
1607 }-
1608 }
executed 6 times by 1 test: end of block
Executed by:
  • tst_qquickitem
6
1609-
1610-
1611 if (QQuickPointerNativeGestureEvent *pnge = event->asPointerNativeGestureEvent()
QQuickPointerN...GestureEvent()Description
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickitem
) {
0-6
1612 QNativeGestureEvent nge(pnge->type(), pnge->device()->qTouchDevice(), point->position(), point->scenePosition(), g,-
1613 pnge->value(), 0L, 0L);-
1614 nge.accept();-
1615 QCoreApplication::sendEvent(item, &nge);-
1616 if (nge.isAccepted()
nge.isAccepted()Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
1617 for (bool qt_category_enabled = lcGestureTarget().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEnever evaluated
; qt_category_enabled = false) QMessageLogger(__FILE__, 1960, __PRETTY_FUNCTION__, lcGestureTarget().categoryName()).debug() << &nge << "->" << item;
never executed: QMessageLogger(__FILE__, 1960, __PRETTY_FUNCTION__, lcGestureTarget().categoryName()).debug() << &nge << "->" << item;
0
1618 event->setAccepted(true);-
1619 return
never executed: return true;
true;
never executed: return true;
0
1620 }-
1621 }
never executed: end of block
0
1622-
1623 }
executed 6 times by 1 test: end of block
Executed by:
  • tst_qquickitem
6
1624-
1625 return
executed 6 times by 1 test: return false;
Executed by:
  • tst_qquickitem
false;
executed 6 times by 1 test: return false;
Executed by:
  • tst_qquickitem
6
1626}-
1627-
1628-
1629-
1630void QQuickWindow::wheelEvent(QWheelEvent *event)-
1631{-
1632 QQuickWindowPrivate * const d = d_func();-
1633 if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileInputEvents)
QQuickProfiler...leInputEvents)Description
TRUEnever evaluated
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
) { (QQuickProfiler::inputEvent<QQuickProfiler::Mouse, QQuickProfiler::InputMouseWheel>(event->angleDelta().x(), event->angleDelta().y())); }
never executed: end of block
else (
executed 10 times by 2 tests: (void)0 ;
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
void)0
executed 10 times by 2 tests: (void)0 ;
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
0-10
1634 ;
executed 10 times by 2 tests: (void)0 ;
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
10
1635-
1636 for (bool qt_category_enabled = DBG_MOUSE().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
; qt_category_enabled = false) QMessageLogger(__FILE__, 1979, __PRETTY_FUNCTION__, DBG_MOUSE().categoryName()).debug() << "QQuickWindow::wheelEvent()" << event->pixelDelta() << event->angleDelta() << event->phase();
never executed: QMessageLogger(__FILE__, 1979, __PRETTY_FUNCTION__, DBG_MOUSE().categoryName()).debug() << "QQuickWindow::wheelEvent()" << event->pixelDelta() << event->angleDelta() << event->phase();
0-10
1637-
1638-
1639 if (d->lastWheelEventAccepted
d->lastWheelEventAcceptedDescription
TRUEnever evaluated
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
&& event->angleDelta().isNull()
event->angleDelta().isNull()Description
TRUEnever evaluated
FALSEnever evaluated
&& event->phase() == Qt::ScrollUpdate
event->phase()...::ScrollUpdateDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-10
1640 return;
never executed: return;
0
1641-
1642 event->ignore();-
1643 d->deliverPointerEvent(d->pointerEventInstance(event));-
1644 d->lastWheelEventAccepted = event->isAccepted();-
1645}
executed 10 times by 2 tests: end of block
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
10
1646-
1647-
1648bool QQuickWindowPrivate::deliverTouchCancelEvent(QTouchEvent *event)-
1649{-
1650 for (bool qt_category_enabled = DBG_TOUCH().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickpincharea
; qt_category_enabled = false) QMessageLogger(__FILE__, 1993, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << event;
never executed: QMessageLogger(__FILE__, 1993, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << event;
0-2
1651 QQuickWindow * const q = q_func();-
1652-
1653 if (q->mouseGrabberItem()
q->mouseGrabberItem()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickpincharea
FALSEnever evaluated
)
0-2
1654 q->mouseGrabberItem()->ungrabMouse();
executed 2 times by 1 test: q->mouseGrabberItem()->ungrabMouse();
Executed by:
  • tst_qquickpincharea
2
1655 touchMouseId = -1;-
1656 touchMouseDevice = nullptr;-
1657-
1658-
1659-
1660 QQuickPointerEvent *pointerEvent = pointerEventInstance(QQuickPointerDevice::touchDevice(event->device()));-
1661 for (int i = 0; i < pointerEvent->pointCount()
i < pointerEvent->pointCount()Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickpincharea
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickpincharea
; ++i)
2-4
1662 pointerEvent->point(i)->cancelExclusiveGrabImpl(event);
executed 4 times by 1 test: pointerEvent->point(i)->cancelExclusiveGrabImpl(event);
Executed by:
  • tst_qquickpincharea
4
1663-
1664-
1665 pointerEvent->clearGrabbers();-
1666 return
executed 2 times by 1 test: return true;
Executed by:
  • tst_qquickpincharea
true;
executed 2 times by 1 test: return true;
Executed by:
  • tst_qquickpincharea
2
1667}-
1668-
1669void QQuickWindowPrivate::deliverDelayedTouchEvent()-
1670{-
1671-
1672-
1673-
1674 QScopedPointer<QTouchEvent> e(delayedTouch.take());-
1675 deliverPointerEvent(pointerEventInstance(e.data()));-
1676}
executed 708 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
708
1677-
1678bool QQuickWindowPrivate::compressTouchEvent(QTouchEvent *event)-
1679{-
1680 QQuickWindow * const q = q_func();-
1681 Qt::TouchPointStates states = event->touchPointStates();-
1682 if (((
((states & (Qt...ionary)) == 0)Description
TRUEevaluated 400 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 840 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
states & (Qt::TouchPointMoved | Qt::TouchPointStationary)) == 0)
((states & (Qt...ionary)) == 0)Description
TRUEevaluated 400 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 840 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
400-840
1683 || ((
((states & (Qt...leased)) != 0)Description
TRUEevaluated 112 times by 6 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
FALSEevaluated 728 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
states & (Qt::TouchPointPressed | Qt::TouchPointReleased)) != 0)
((states & (Qt...leased)) != 0)Description
TRUEevaluated 112 times by 6 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
FALSEevaluated 728 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
112-728
1684-
1685 return
executed 512 times by 10 tests: return false;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
false;
executed 512 times by 10 tests: return false;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
512
1686 }-
1687-
1688 if (!delayedTouch
!delayedTouchDescription
TRUEevaluated 708 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 20 times by 2 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickmousearea
) {
20-708
1689 delayedTouch.reset(new QTouchEvent(event->type(), event->device(), event->modifiers(), event->touchPointStates(), event->touchPoints()));-
1690 delayedTouch->setTimestamp(event->timestamp());-
1691 if (renderControl
renderControlDescription
TRUEnever evaluated
FALSEevaluated 708 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
0-708
1692 QQuickRenderControlPrivate::get(renderControl)->maybeUpdate();
never executed: QQuickRenderControlPrivate::get(renderControl)->maybeUpdate();
0
1693 else if (windowManager
windowManagerDescription
TRUEevaluated 708 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEnever evaluated
)
0-708
1694 windowManager->maybeUpdate(q);
executed 708 times by 10 tests: windowManager->maybeUpdate(q);
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
708
1695 return
executed 708 times by 10 tests: return true;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
true;
executed 708 times by 10 tests: return true;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
708
1696 }-
1697-
1698-
1699 if (delayedTouch->type() == event->type()
delayedTouch->... event->type()Description
TRUEevaluated 20 times by 2 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickmousearea
FALSEnever evaluated
&&
0-20
1700 delayedTouch->device() == event->device()
delayedTouch->...vent->device()Description
TRUEevaluated 20 times by 2 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickmousearea
FALSEnever evaluated
&&
0-20
1701 delayedTouch->modifiers() == event->modifiers()
delayedTouch->...t->modifiers()Description
TRUEevaluated 20 times by 2 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickmousearea
FALSEnever evaluated
&&
0-20
1702 delayedTouch->touchPoints().count() == event->touchPoints().count()
delayedTouch->...ints().count()Description
TRUEevaluated 20 times by 2 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickmousearea
FALSEnever evaluated
)
0-20
1703 {-
1704-
1705 bool mismatch = false;-
1706-
1707 QList<QTouchEvent::TouchPoint> tpts = event->touchPoints();-
1708 Qt::TouchPointStates states;-
1709 for (int i = 0; i < event->touchPoints().count()
i < event->tou...ints().count()Description
TRUEevaluated 50 times by 2 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickmousearea
FALSEevaluated 20 times by 2 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickmousearea
; ++i) {
20-50
1710 const QTouchEvent::TouchPoint &tp = tpts.at(i);-
1711 const QTouchEvent::TouchPoint &tpDelayed = delayedTouch->touchPoints().at(i);-
1712 if (tp.id() != tpDelayed.id()
tp.id() != tpDelayed.id()Description
TRUEnever evaluated
FALSEevaluated 50 times by 2 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickmousearea
) {
0-50
1713 mismatch = true;-
1714 break;
never executed: break;
0
1715 }-
1716-
1717 if (tpDelayed.state() == Qt::TouchPointMoved
tpDelayed.stat...ouchPointMovedDescription
TRUEevaluated 50 times by 2 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickmousearea
FALSEnever evaluated
&& tp.state() == Qt::TouchPointStationary
tp.state() == ...ointStationaryDescription
TRUEnever evaluated
FALSEevaluated 50 times by 2 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickmousearea
)
0-50
1718 tpts[i].setState(Qt::TouchPointMoved);
never executed: tpts[i].setState(Qt::TouchPointMoved);
0
1719 tpts[i].setLastPos(tpDelayed.lastPos());-
1720 tpts[i].setLastScenePos(tpDelayed.lastScenePos());-
1721 tpts[i].setLastScreenPos(tpDelayed.lastScreenPos());-
1722 tpts[i].setLastNormalizedPos(tpDelayed.lastNormalizedPos());-
1723-
1724 states |= tpts.at(i).state();-
1725 }
executed 50 times by 2 tests: end of block
Executed by:
  • tst_multipointtoucharea_interop
  • tst_qquickmousearea
50
1726-
1727-
1728 if (!mismatch
!mismatchDescription
TRUEevaluated 20 times by 2 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickmousearea
FALSEnever evaluated
) {
0-20
1729 delayedTouch->setTouchPoints(tpts);-
1730 delayedTouch->setTimestamp(event->timestamp());-
1731 return
executed 20 times by 2 tests: return true;
Executed by:
  • tst_multipointtoucharea_interop
  • tst_qquickmousearea
true;
executed 20 times by 2 tests: return true;
Executed by:
  • tst_multipointtoucharea_interop
  • tst_qquickmousearea
20
1732 }-
1733 }
never executed: end of block
0
1734-
1735-
1736 deliverDelayedTouchEvent();-
1737 delayedTouch.reset(new QTouchEvent(event->type(), event->device(), event->modifiers(), event->touchPointStates(), event->touchPoints()));-
1738 delayedTouch->setTimestamp(event->timestamp());-
1739 return
never executed: return true;
true;
never executed: return true;
0
1740}-
1741-
1742-
1743-
1744-
1745-
1746void QQuickWindowPrivate::handleTouchEvent(QTouchEvent *event)-
1747{-
1748 translateTouchEvent(event);-
1749 if (event->touchPoints().size()
event->touchPoints().size()Description
TRUEevaluated 1240 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEnever evaluated
) {
0-1240
1750 auto point = event->touchPoints().at(0);-
1751 if (point.state() == Qt::TouchPointReleased
point.state() ...hPointReleasedDescription
TRUEevaluated 198 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 1042 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
198-1042
1752 lastMousePosition = QPointF();-
1753 }
executed 198 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
else {
198
1754 lastMousePosition = point.pos();-
1755 }
executed 1042 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
1042
1756 }-
1757-
1758 for (bool qt_category_enabled = DBG_TOUCH().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 1240 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
; qt_category_enabled = false) QMessageLogger(__FILE__, 2101, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << event;
never executed: QMessageLogger(__FILE__, 2101, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << event;
0-1240
1759-
1760 static bool qquickwindow_no_touch_compression = qEnvironmentVariableIsSet("QML_NO_TOUCH_COMPRESSION");-
1761-
1762 if (qquickwindow_no_touch_compression
qquickwindow_n...ch_compressionDescription
TRUEnever evaluated
FALSEevaluated 1240 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
|| pointerEventRecursionGuard
pointerEventRecursionGuardDescription
TRUEnever evaluated
FALSEevaluated 1240 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
0-1240
1763 deliverPointerEvent(pointerEventInstance(event));-
1764 return;
never executed: return;
0
1765 }-
1766-
1767 if (!compressTouchEvent(event)
!compressTouchEvent(event)Description
TRUEevaluated 512 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 728 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
512-728
1768 if (delayedTouch
delayedTouchDescription
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickpointerhandler
FALSEevaluated 502 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
10-502
1769 deliverDelayedTouchEvent();
executed 10 times by 2 tests: deliverDelayedTouchEvent();
Executed by:
  • tst_multipointtoucharea_interop
  • tst_qquickpointerhandler
10
1770 deliverPointerEvent(pointerEventInstance(event));-
1771 }
executed 512 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
512
1772}
executed 1240 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
1240
1773-
1774-
1775void QQuickWindow::mousePressEvent(QMouseEvent *event)-
1776{-
1777 QQuickWindowPrivate * const d = d_func();-
1778 d->handleMouseEvent(event);-
1779}
executed 1798 times by 14 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1798
1780-
1781void QQuickWindow::mouseMoveEvent(QMouseEvent *event)-
1782{-
1783 QQuickWindowPrivate * const d = d_func();-
1784 d->handleMouseEvent(event);-
1785}
executed 6428 times by 16 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
6428
1786-
1787void QQuickWindow::mouseDoubleClickEvent(QMouseEvent *event)-
1788{-
1789 QQuickWindowPrivate * const d = d_func();-
1790 d->handleMouseEvent(event);-
1791}
executed 132 times by 3 tests: end of block
Executed by:
  • tst_qquickmousearea
  • tst_qquicktextedit
  • tst_qquicktextinput
132
1792-
1793void QQuickWindow::mouseReleaseEvent(QMouseEvent *event)-
1794{-
1795 QQuickWindowPrivate * const d = d_func();-
1796 d->handleMouseEvent(event);-
1797}
executed 1786 times by 14 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1786
1798-
1799void QQuickWindowPrivate::handleMouseEvent(QMouseEvent *event)-
1800{-
1801 if (event->source() == Qt::MouseEventSynthesizedBySystem
event->source(...esizedBySystemDescription
TRUEnever evaluated
FALSEevaluated 10144 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
) {
0-10144
1802 event->accept();-
1803 return;
never executed: return;
0
1804 }-
1805 for (bool qt_category_enabled = DBG_MOUSE().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 10144 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
; qt_category_enabled = false) QMessageLogger(__FILE__, 2148, __PRETTY_FUNCTION__, DBG_MOUSE().categoryName()).debug() << "QQuickWindow::handleMouseEvent()" << event->type() << event->localPos() << event->button() << event->buttons();
never executed: QMessageLogger(__FILE__, 2148, __PRETTY_FUNCTION__, DBG_MOUSE().categoryName()).debug() << "QQuickWindow::handleMouseEvent()" << event->type() << event->localPos() << event->button() << event->buttons();
0-10144
1806-
1807 switch (event->type()) {-
1808 case
executed 1798 times by 14 tests: case QEvent::MouseButtonPress:
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
QEvent::MouseButtonPress:
executed 1798 times by 14 tests: case QEvent::MouseButtonPress:
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1798
1809 if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileInputEvents)
QQuickProfiler...leInputEvents)Description
TRUEnever evaluated
FALSEevaluated 1798 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
) { (QQuickProfiler::inputEvent<QQuickProfiler::Mouse, QQuickProfiler::InputMousePress>(event->button(), event->buttons())); }
never executed: end of block
else (
executed 1798 times by 14 tests: (void)0 ;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
void)0
executed 1798 times by 14 tests: (void)0 ;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
0-1798
1810 ;
executed 1798 times by 14 tests: (void)0 ;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1798
1811 deliverPointerEvent(pointerEventInstance(event));-
1812 break;
executed 1798 times by 14 tests: break;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1798
1813 case
executed 1786 times by 14 tests: case QEvent::MouseButtonRelease:
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
QEvent::MouseButtonRelease:
executed 1786 times by 14 tests: case QEvent::MouseButtonRelease:
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1786
1814 if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileInputEvents)
QQuickProfiler...leInputEvents)Description
TRUEnever evaluated
FALSEevaluated 1786 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
) { (QQuickProfiler::inputEvent<QQuickProfiler::Mouse, QQuickProfiler::InputMouseRelease>(event->button(), event->buttons())); }
never executed: end of block
else (
executed 1786 times by 14 tests: (void)0 ;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
void)0
executed 1786 times by 14 tests: (void)0 ;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
0-1786
1815 ;
executed 1786 times by 14 tests: (void)0 ;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1786
1816 deliverPointerEvent(pointerEventInstance(event));-
1817 break;
executed 1786 times by 14 tests: break;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1786
1818 case
executed 132 times by 3 tests: case QEvent::MouseButtonDblClick:
Executed by:
  • tst_qquickmousearea
  • tst_qquicktextedit
  • tst_qquicktextinput
QEvent::MouseButtonDblClick:
executed 132 times by 3 tests: case QEvent::MouseButtonDblClick:
Executed by:
  • tst_qquickmousearea
  • tst_qquicktextedit
  • tst_qquicktextinput
132
1819 if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileInputEvents)
QQuickProfiler...leInputEvents)Description
TRUEnever evaluated
FALSEevaluated 132 times by 3 tests
Evaluated by:
  • tst_qquickmousearea
  • tst_qquicktextedit
  • tst_qquicktextinput
) { (QQuickProfiler::inputEvent<QQuickProfiler::Mouse, QQuickProfiler::InputMouseDoubleClick>(event->button(), event->buttons())); }
never executed: end of block
else (
executed 132 times by 3 tests: (void)0 ;
Executed by:
  • tst_qquickmousearea
  • tst_qquicktextedit
  • tst_qquicktextinput
void)0
executed 132 times by 3 tests: (void)0 ;
Executed by:
  • tst_qquickmousearea
  • tst_qquicktextedit
  • tst_qquicktextinput
0-132
1820 ;
executed 132 times by 3 tests: (void)0 ;
Executed by:
  • tst_qquickmousearea
  • tst_qquicktextedit
  • tst_qquicktextinput
132
1821 if (allowDoubleClick
allowDoubleClickDescription
TRUEevaluated 132 times by 3 tests
Evaluated by:
  • tst_qquickmousearea
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEnever evaluated
)
0-132
1822 deliverPointerEvent(pointerEventInstance(event));
executed 132 times by 3 tests: deliverPointerEvent(pointerEventInstance(event));
Executed by:
  • tst_qquickmousearea
  • tst_qquicktextedit
  • tst_qquicktextinput
132
1823 break;
executed 132 times by 3 tests: break;
Executed by:
  • tst_qquickmousearea
  • tst_qquicktextedit
  • tst_qquicktextinput
132
1824 case
executed 6428 times by 16 tests: case QEvent::MouseMove:
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
QEvent::MouseMove:
executed 6428 times by 16 tests: case QEvent::MouseMove:
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
6428
1825 if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileInputEvents)
QQuickProfiler...leInputEvents)Description
TRUEnever evaluated
FALSEevaluated 6428 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
) { (QQuickProfiler::inputEvent<QQuickProfiler::Mouse, QQuickProfiler::InputMouseMove>(event->localPos().x(), event->localPos().y())); }
never executed: end of block
else (
executed 6428 times by 16 tests: (void)0 ;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
void)0
executed 6428 times by 16 tests: (void)0 ;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
0-6428
1826 ;
executed 6428 times by 16 tests: (void)0 ;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
6428
1827-
1828 for (bool qt_category_enabled = DBG_HOVER_TRACE().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 6428 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
; qt_category_enabled = false) QMessageLogger(__FILE__, 2171, __PRETTY_FUNCTION__, DBG_HOVER_TRACE().categoryName()).debug() << this;
never executed: QMessageLogger(__FILE__, 2171, __PRETTY_FUNCTION__, DBG_HOVER_TRACE().categoryName()).debug() << this;
0-6428
1829-
1830-
1831 updateCursor(event->windowPos());-
1832-
1833-
1834 if (!pointerEventInstance(QQuickPointerDevice::genericMouseDevice())->point(0)->exclusiveGrabber()
!pointerEventI...usiveGrabber()Description
TRUEevaluated 1634 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
FALSEevaluated 4794 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
1634-4794
1835 QPointF last = lastMousePosition.isNull()
lastMousePosition.isNull()Description
TRUEevaluated 422 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
FALSEevaluated 1212 times by 15 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
? event->windowPos() : lastMousePosition;
422-1212
1836 lastMousePosition = event->windowPos();-
1837-
1838 bool accepted = event->isAccepted();-
1839 bool delivered = deliverHoverEvent(contentItem, event->windowPos(), last, event->modifiers(), event->timestamp(), accepted);-
1840 if (!delivered
!deliveredDescription
TRUEevaluated 1246 times by 13 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextinput
FALSEevaluated 388 times by 6 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickwidget
) {
388-1246
1841-
1842 accepted = clearHover(event->timestamp());-
1843 }
executed 1246 times by 13 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextinput
1246
1844 event->setAccepted(accepted);-
1845 }
executed 1634 times by 16 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
1634
1846 deliverPointerEvent(pointerEventInstance(event));-
1847 break;
executed 6428 times by 16 tests: break;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
6428
1848 default
never executed: default:
:
never executed: default:
0
1849 ((false) ? static_cast<void>(0) : qt_assert("false", __FILE__, 2192));-
1850 break;
never executed: break;
0
1851 }-
1852}-
1853-
1854void QQuickWindowPrivate::flushFrameSynchronousEvents()-
1855{-
1856 QQuickWindow * const q = q_func();-
1857-
1858 if (delayedTouch
delayedTouchDescription
TRUEevaluated 302 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
FALSEevaluated 49743 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
302-49743
1859 deliverDelayedTouchEvent();-
1860-
1861-
1862-
1863 QQmlAnimationTimer *ut = QQmlAnimationTimer::instance();-
1864 if (ut
utDescription
TRUEevaluated 302 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
FALSEnever evaluated
&& ut->hasStartAnimationPending()
ut->hasStartAnimationPending()Description
TRUEevaluated 32 times by 3 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
FALSEevaluated 270 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
)
0-302
1865 ut->startAnimations();
executed 32 times by 3 tests: ut->startAnimations();
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
32
1866 }
executed 302 times by 8 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
302
1867-
1868-
1869-
1870-
1871-
1872-
1873 if (!q->mouseGrabberItem()
!q->mouseGrabberItem()Description
TRUEevaluated 48275 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 1770 times by 11 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquicktextedit
  • tst_qquicktextinput
&& !lastMousePosition.isNull()
!lastMousePosition.isNull()Description
TRUEevaluated 16650 times by 13 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 31625 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
&& dirtyItemList
dirtyItemListDescription
TRUEevaluated 16357 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 293 times by 6 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktaphandler
  • tst_qquicktextinput
) {
293-48275
1874 bool accepted = false;-
1875 bool delivered = deliverHoverEvent(contentItem, lastMousePosition, lastMousePosition, QGuiApplication::keyboardModifiers(), 0, accepted);-
1876 if (!delivered
!deliveredDescription
TRUEevaluated 16239 times by 11 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktaphandler
  • tst_qquicktextinput
FALSEevaluated 118 times by 1 test
Evaluated by:
  • tst_qquicktextedit
)
118-16239
1877 clearHover();
executed 16239 times by 11 tests: clearHover();
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktaphandler
  • tst_qquicktextinput
16239
1878 }
executed 16357 times by 12 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
16357
1879}
executed 50045 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
50045
1880-
1881QQuickPointerEvent *QQuickWindowPrivate::queryPointerEventInstance(QQuickPointerDevice *device, QEvent::Type eventType) const-
1882{-
1883-
1884 for (QQuickPointerEvent *e : pointerEventInstances) {-
1885-
1886-
1887-
1888 if (eventType == QEvent::NativeGesture
eventType == Q...:NativeGestureDescription
TRUEnever evaluated
FALSEevaluated 70642 times by 18 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
&& !qobject_cast<QQuickPointerNativeGestureEvent*>(e)
!qobject_cast<...tureEvent*>(e)Description
TRUEnever evaluated
FALSEnever evaluated
)
0-70642
1889 continue;
never executed: continue;
0
1890-
1891 if (eventType == QEvent::Wheel
eventType == QEvent::WheelDescription
TRUEnever evaluated
FALSEevaluated 70642 times by 18 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
&& !qobject_cast<QQuickPointerScrollEvent*>(e)
!qobject_cast<...rollEvent*>(e)Description
TRUEnever evaluated
FALSEnever evaluated
)
0-70642
1892 continue;
never executed: continue;
0
1893-
1894-
1895 if (e->device() == device
e->device() == deviceDescription
TRUEevaluated 64640 times by 18 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
FALSEevaluated 6002 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
6002-64640
1896 return
executed 64640 times by 18 tests: return e;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
e;
executed 64640 times by 18 tests: return e;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
64640
1897 }
executed 6002 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
6002
1898 return
executed 435999 times by 90 tests: return nullptr;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
nullptr;
executed 435999 times by 90 tests: return nullptr;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
435999
1899}-
1900-
1901QQuickPointerEvent *QQuickWindowPrivate::pointerEventInstance(QQuickPointerDevice *device, QEvent::Type eventType) const-
1902{-
1903 QQuickPointerEvent *ev = queryPointerEventInstance(device, eventType);-
1904 if (ev
evDescription
TRUEevaluated 20598 times by 18 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
FALSEevaluated 684 times by 18 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
)
684-20598
1905 return
executed 20598 times by 18 tests: return ev;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
ev;
executed 20598 times by 18 tests: return ev;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
20598
1906 QQuickWindow *q = const_cast<QQuickWindow*>(q_func());-
1907 switch (device->type()) {-
1908 case
executed 536 times by 17 tests: case QQuickPointerDevice::Mouse:
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
QQuickPointerDevice::Mouse:
executed 536 times by 17 tests: case QQuickPointerDevice::Mouse:
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
536
1909-
1910-
1911-
1912 if (eventType == QEvent::Wheel
eventType == QEvent::WheelDescription
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
FALSEevaluated 526 times by 17 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
)
10-526
1913 ev = new QQuickPointerScrollEvent(q, device);
executed 10 times by 2 tests: ev = new QQuickPointerScrollEvent(q, device);
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
10
1914 else-
1915 ev = new QQuickPointerMouseEvent(q, device);
executed 526 times by 17 tests: ev = new QQuickPointerMouseEvent(q, device);
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
526
1916 break;
executed 536 times by 17 tests: break;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
536
1917 case
never executed: case QQuickPointerDevice::TouchPad:
QQuickPointerDevice::TouchPad:
never executed: case QQuickPointerDevice::TouchPad:
0
1918 case
executed 148 times by 10 tests: case QQuickPointerDevice::TouchScreen:
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
QQuickPointerDevice::TouchScreen:
executed 148 times by 10 tests: case QQuickPointerDevice::TouchScreen:
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
148
1919-
1920 if (eventType == QEvent::NativeGesture
eventType == Q...:NativeGestureDescription
TRUEnever evaluated
FALSEevaluated 148 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
0-148
1921 ev = new QQuickPointerNativeGestureEvent(q, device);
never executed: ev = new QQuickPointerNativeGestureEvent(q, device);
0
1922 else-
1923-
1924 ev = new QQuickPointerTouchEvent(q, device);
executed 148 times by 10 tests: ev = new QQuickPointerTouchEvent(q, device);
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
148
1925 break;
executed 148 times by 10 tests: break;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
148
1926 default
never executed: default:
:
never executed: default:
0
1927-
1928 break;
never executed: break;
0
1929 }-
1930 pointerEventInstances << ev;-
1931 return
executed 684 times by 18 tests: return ev;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
ev;
executed 684 times by 18 tests: return ev;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
684
1932}-
1933QQuickPointerEvent *QQuickWindowPrivate::pointerEventInstance(QEvent *event) const-
1934{-
1935 QQuickPointerDevice *dev = nullptr;-
1936 switch (event->type()) {-
1937 case
executed 1798 times by 14 tests: case QEvent::MouseButtonPress:
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
QEvent::MouseButtonPress:
executed 1798 times by 14 tests: case QEvent::MouseButtonPress:
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1798
1938 case
executed 1786 times by 14 tests: case QEvent::MouseButtonRelease:
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
QEvent::MouseButtonRelease:
executed 1786 times by 14 tests: case QEvent::MouseButtonRelease:
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1786
1939 case
executed 132 times by 3 tests: case QEvent::MouseButtonDblClick:
Executed by:
  • tst_qquickmousearea
  • tst_qquicktextedit
  • tst_qquicktextinput
QEvent::MouseButtonDblClick:
executed 132 times by 3 tests: case QEvent::MouseButtonDblClick:
Executed by:
  • tst_qquickmousearea
  • tst_qquicktextedit
  • tst_qquicktextinput
132
1940 case
executed 6428 times by 16 tests: case QEvent::MouseMove:
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
QEvent::MouseMove:
executed 6428 times by 16 tests: case QEvent::MouseMove:
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
6428
1941 case
executed 10 times by 2 tests: case QEvent::Wheel:
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
QEvent::Wheel:
executed 10 times by 2 tests: case QEvent::Wheel:
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
10
1942 dev = QQuickPointerDevice::genericMouseDevice();-
1943 break;
executed 10154 times by 16 tests: break;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
10154
1944 case
executed 216 times by 10 tests: case QEvent::TouchBegin:
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
QEvent::TouchBegin:
executed 216 times by 10 tests: case QEvent::TouchBegin:
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
216
1945 case
executed 820 times by 10 tests: case QEvent::TouchUpdate:
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
QEvent::TouchUpdate:
executed 820 times by 10 tests: case QEvent::TouchUpdate:
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
820
1946 case
executed 184 times by 10 tests: case QEvent::TouchEnd:
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
QEvent::TouchEnd:
executed 184 times by 10 tests: case QEvent::TouchEnd:
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
184
1947 case
never executed: case QEvent::TouchCancel:
QEvent::TouchCancel:
never executed: case QEvent::TouchCancel:
0
1948 dev = QQuickPointerDevice::touchDevice(static_cast<QTouchEvent *>(event)->device());-
1949 break;
executed 1220 times by 10 tests: break;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
1220
1950-
1951-
1952 case
never executed: case QEvent::NativeGesture:
QEvent::NativeGesture:
never executed: case QEvent::NativeGesture:
0
1953 dev = QQuickPointerDevice::touchDevice(static_cast<QNativeGestureEvent *>(event)->device());-
1954 break;
never executed: break;
0
1955-
1956 default
never executed: default:
:
never executed: default:
0
1957 break;
never executed: break;
0
1958 }-
1959-
1960 ((dev) ? static_cast<void>(0) : qt_assert("dev", __FILE__, 2311));-
1961 return
executed 11374 times by 18 tests: return pointerEventInstance(dev, event->type())->reset(event);
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
pointerEventInstance(dev, event->type())->reset(event);
executed 11374 times by 18 tests: return pointerEventInstance(dev, event->type())->reset(event);
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
11374
1962}-
1963-
1964void QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent *event)-
1965{-
1966 QQuickWindow * const q = q_func();-
1967-
1968-
1969-
1970 ++pointerEventRecursionGuard;-
1971-
1972 skipDelivery.clear();-
1973 if (event->asPointerMouseEvent()
event->asPointerMouseEvent()Description
TRUEevaluated 10144 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
FALSEevaluated 1230 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
1230-10144
1974 deliverMouseEvent(event->asPointerMouseEvent());-
1975-
1976 if (event->isReleaseEvent()
event->isReleaseEvent()Description
TRUEevaluated 1786 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 8358 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
&& event->buttons() == Qt::NoButton
event->buttons...= Qt::NoButtonDescription
TRUEevaluated 1706 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 80 times by 2 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
) {
80-8358
1977 QQuickItem *oldGrabber = q->mouseGrabberItem();-
1978 event->clearGrabbers();-
1979 sendUngrabEvent(oldGrabber, false);-
1980 }
executed 1706 times by 14 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1706
1981 }
executed 10144 times by 16 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
else if (event->asPointerTouchEvent()
event->asPointerTouchEvent()Description
TRUEevaluated 1220 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
) {
10-10144
1982 deliverTouchEvent(event->asPointerTouchEvent());-
1983 }
executed 1220 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
else {
1220
1984 deliverSinglePointEventUntilAccepted(event);-
1985 }
executed 10 times by 2 tests: end of block
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
10
1986-
1987 event->reset(nullptr);-
1988-
1989 --pointerEventRecursionGuard;-
1990}
executed 11374 times by 18 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
11374
1991-
1992-
1993-
1994-
1995-
1996-
1997QVector<QQuickItem *> QQuickWindowPrivate::pointerTargets(QQuickItem *item, QQuickEventPoint *point, bool checkMouseButtons, bool checkAcceptsTouch) const-
1998{-
1999 QVector<QQuickItem *> targets;-
2000 auto itemPrivate = QQuickItemPrivate::get(item);-
2001 QPointF itemPos = item->mapFromScene(point->scenePosition());-
2002-
2003 if (itemPrivate->flags & QQuickItem::ItemClipsChildrenToShape
itemPrivate->f...hildrenToShapeDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qquickpathview
FALSEevaluated 47210 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
8-47210
2004 if (!item->contains(itemPos)
!item->contains(itemPos)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickpathview
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickpathview
)
4
2005 return
executed 4 times by 1 test: return targets;
Executed by:
  • tst_qquickpathview
targets;
executed 4 times by 1 test: return targets;
Executed by:
  • tst_qquickpathview
4
2006 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_qquickpathview
4
2007-
2008-
2009 QList<QQuickItem *> children = itemPrivate->paintOrderChildItems();-
2010 for (int ii = children.count() - 1; ii >= 0
ii >= 0Description
TRUEevaluated 50213 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 47214 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
; --ii) {
47214-50213
2011 QQuickItem *child = children.at(ii);-
2012 auto childPrivate = QQuickItemPrivate::get(child);-
2013 if (!child->isVisible()
!child->isVisible()Description
TRUEevaluated 1950 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickitem
  • tst_qquickmultipointtoucharea
  • tst_qquicktaphandler
FALSEevaluated 48263 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
|| !child->isEnabled()
!child->isEnabled()Description
TRUEevaluated 994 times by 2 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickitem
FALSEevaluated 47269 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
|| childPrivate->culled
childPrivate->culledDescription
TRUEevaluated 3281 times by 4 tests
Evaluated by:
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
FALSEevaluated 43988 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
)
994-48263
2014 continue;
executed 6225 times by 9 tests: continue;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktaphandler
6225
2015 targets << pointerTargets(child, point, checkMouseButtons, checkAcceptsTouch);-
2016 }
executed 43988 times by 16 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
43988
2017-
2018 bool relevant = item->contains(itemPos);-
2019 if (itemPrivate->hasPointerHandlers()
itemPrivate->h...nterHandlers()Description
TRUEevaluated 5826 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 41388 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
5826-41388
2020 if (!relevant
!relevantDescription
TRUEevaluated 4968 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 858 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
858-4968
2021 if (itemPrivate->anyPointerHandlerWants(point)
itemPrivate->a...erWants(point)Description
TRUEevaluated 952 times by 2 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
FALSEevaluated 4016 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
952-4016
2022 relevant = true;
executed 952 times by 2 tests: relevant = true;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
952
2023 }
executed 5826 times by 5 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
else {
5826
2024 if (relevant
relevantDescription
TRUEevaluated 13146 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 28242 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
&& checkMouseButtons
checkMouseButtonsDescription
TRUEevaluated 7352 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 5794 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
&& item->acceptedMouseButtons() == Qt::NoButton
item->accepted...= Qt::NoButtonDescription
TRUEevaluated 5115 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 2237 times by 13 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
)
2237-28242
2025 relevant = false;
executed 5115 times by 14 tests: relevant = false;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
5115
2026 if (relevant
relevantDescription
TRUEevaluated 8031 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 33357 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
&& checkAcceptsTouch
checkAcceptsTouchDescription
TRUEevaluated 3224 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 4807 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
&& !(item->acceptTouchEvents()
item->acceptTouchEvents()Description
TRUEevaluated 1890 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 1334 times by 9 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
|| item->acceptedMouseButtons()))
1334-33357
2027 relevant = false;
executed 1172 times by 9 tests: relevant = false;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
1172
2028 }
executed 41388 times by 16 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
41388
2029 if (relevant
relevantDescription
TRUEevaluated 8669 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 38545 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
)
8669-38545
2030 targets << item;
executed 8669 times by 16 tests: targets << item;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
8669
2031 return
executed 47214 times by 16 tests: return targets;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
targets;
executed 47214 times by 16 tests: return targets;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
47214
2032}-
2033-
2034-
2035-
2036QVector<QQuickItem *> QQuickWindowPrivate::mergePointerTargets(const QVector<QQuickItem *> &list1, const QVector<QQuickItem *> &list2) const-
2037{-
2038 QVector<QQuickItem *> targets = list1;-
2039-
2040-
2041-
2042 int insertPosition = targets.length();-
2043 for (int i = list2.length() - 1; i >= 0
i >= 0Description
TRUEevaluated 1830 times by 6 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
FALSEevaluated 460 times by 6 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
; --i) {
460-1830
2044 int newInsertPosition = targets.lastIndexOf(list2.at(i), insertPosition);-
2045 if (newInsertPosition >= 0
newInsertPosition >= 0Description
TRUEevaluated 1432 times by 6 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
FALSEevaluated 398 times by 5 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
) {
398-1432
2046 ((newInsertPosition <= insertPosition) ? static_cast<void>(0) : qt_assert("newInsertPosition <= insertPosition", __FILE__, 2397));-
2047 insertPosition = newInsertPosition;-
2048 }
executed 1432 times by 6 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
1432
2049-
2050 if (insertPosition == targets.size()
insertPosition...targets.size()Description
TRUEnever evaluated
FALSEevaluated 1830 times by 6 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
|| list2.at(i) != targets.at(insertPosition)
list2.at(i) !=...nsertPosition)Description
TRUEevaluated 398 times by 5 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
FALSEevaluated 1432 times by 6 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
)
0-1830
2051 targets.insert(insertPosition, list2.at(i));
executed 398 times by 5 tests: targets.insert(insertPosition, list2.at(i));
Executed by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
398
2052 }
executed 1830 times by 6 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
1830
2053 return
executed 460 times by 6 tests: return targets;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
targets;
executed 460 times by 6 tests: return targets;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
460
2054}-
2055-
2056void QQuickWindowPrivate::deliverTouchEvent(QQuickPointerTouchEvent *event)-
2057{-
2058 for (bool qt_category_enabled = DBG_TOUCH().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 1220 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
; qt_category_enabled = false) QMessageLogger(__FILE__, 2409, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << " - delivering" << event->asTouchEvent();
never executed: QMessageLogger(__FILE__, 2409, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << " - delivering" << event->asTouchEvent();
0-1220
2059-
2060 if (event->isPressEvent()
event->isPressEvent()Description
TRUEevaluated 306 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 914 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
306-914
2061 deliverPressOrReleaseEvent(event);
executed 306 times by 10 tests: deliverPressOrReleaseEvent(event);
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
306
2062 if (!event->allUpdatedPointsAccepted()
!event->allUpd...intsAccepted()Description
TRUEevaluated 956 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 264 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
264-956
2063 deliverUpdatedTouchPoints(event);
executed 956 times by 10 tests: deliverUpdatedTouchPoints(event);
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
956
2064 if (event->isReleaseEvent()
event->isReleaseEvent()Description
TRUEevaluated 210 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 1010 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
210-1010
2065 deliverPressOrReleaseEvent(event, true);
executed 210 times by 10 tests: deliverPressOrReleaseEvent(event, true);
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
210
2066-
2067-
2068 bool allReleased = true;-
2069 int pointCount = event->pointCount();-
2070 for (int i = 0; i < pointCount
i < pointCountDescription
TRUEevaluated 1938 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 1220 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
; ++i) {
1220-1938
2071 QQuickEventPoint *point = event->point(i);-
2072 if (point->state() == QQuickEventPoint::Released
point->state()...oint::ReleasedDescription
TRUEevaluated 290 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 1648 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
290-1648
2073 int id = point->pointId();-
2074 for (bool qt_category_enabled = DBG_TOUCH_TARGET().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 290 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
; qt_category_enabled = false) QMessageLogger(__FILE__, 2425, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP" << hex << id << "released";
never executed: QMessageLogger(__FILE__, 2425, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP" << hex << id << "released";
0-290
2075 point->setGrabberItem(nullptr);-
2076 if (id == touchMouseId
id == touchMouseIdDescription
TRUEnever evaluated
FALSEevaluated 290 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
0-290
2077 touchMouseId = -1;-
2078 touchMouseDevice = nullptr;-
2079 }
never executed: end of block
0
2080 }
executed 290 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
else {
290
2081 allReleased = false;-
2082 }
executed 1648 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
1648
2083 }-
2084-
2085 if (allReleased
allReleasedDescription
TRUEevaluated 184 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 1036 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
184-1036
2086 if (__builtin_expect(!!(!event->exclusiveGrabbers().isEmpty()), false)
__builtin_expe...pty()), false)Description
TRUEnever evaluated
FALSEevaluated 184 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
0-184
2087 QMessageLogger(__FILE__, 2438, __PRETTY_FUNCTION__).warning() << "No release received for some grabbers" << event->exclusiveGrabbers();
never executed: QMessageLogger(__FILE__, 2438, __PRETTY_FUNCTION__).warning() << "No release received for some grabbers" << event->exclusiveGrabbers();
0
2088 event->clearGrabbers();-
2089 }
executed 184 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
184
2090}
executed 1220 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
1220
2091-
2092-
2093void QQuickWindowPrivate::deliverUpdatedTouchPoints(QQuickPointerTouchEvent *event)-
2094{-
2095 bool done = false;-
2096 const auto grabbers = event->exclusiveGrabbers();-
2097 for (auto grabber : grabbers) {-
2098-
2099 QQuickItem *receiver = qmlobject_cast<QQuickItem *>(grabber);-
2100 if (!receiver
!receiverDescription
TRUEevaluated 547 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 363 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
) {
363-547
2101-
2102 QQuickPointerHandler *handler = static_cast<QQuickPointerHandler *>(grabber);-
2103 receiver = static_cast<QQuickPointerHandler *>(grabber)->parentItem();-
2104 if (sendFilteredPointerEvent(event, receiver)
sendFilteredPo...ent, receiver)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_flickableinterop
FALSEevaluated 543 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
4-543
2105 done = true;
executed 4 times by 1 test: done = true;
Executed by:
  • tst_flickableinterop
4
2106 event->localize(receiver);-
2107 handler->handlePointerEvent(event);-
2108 }
executed 547 times by 5 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
547
2109 if (done
doneDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_flickableinterop
FALSEevaluated 906 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
4-906
2110 break;
executed 4 times by 1 test: break;
Executed by:
  • tst_flickableinterop
4
2111-
2112-
2113 deliverMatchingPointsToItem(receiver, event);-
2114 }
executed 906 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
906
2115-
2116-
2117 int pointCount = event->pointCount();-
2118 for (int i = 0; i < pointCount
i < pointCountDescription
TRUEevaluated 1554 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 956 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
; ++i) {
956-1554
2119 QQuickEventPoint *point = event->point(i);-
2120 deliverToPassiveGrabbers(point->passiveGrabbers(), event);-
2121 }
executed 1554 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
1554
2122-
2123 if (done
doneDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_flickableinterop
FALSEevaluated 952 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
4-952
2124 return;
executed 4 times by 1 test: return;
Executed by:
  • tst_flickableinterop
4
2125-
2126-
2127 if (!event->allPointsGrabbed()
!event->allPointsGrabbed()Description
TRUEevaluated 324 times by 9 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 628 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
324-628
2128 QVector<QQuickItem *> targetItems;-
2129 for (int i = 0; i < pointCount
i < pointCountDescription
TRUEevaluated 508 times by 9 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 324 times by 9 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
; ++i) {
324-508
2130 QQuickEventPoint *point = event->point(i);-
2131 if (point->state() == QQuickEventPoint::Pressed
point->state()...Point::PressedDescription
TRUEevaluated 38 times by 3 tests
Evaluated by:
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
FALSEevaluated 470 times by 9 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
38-470
2132 continue;
executed 38 times by 3 tests: continue;
Executed by:
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
38
2133 QVector<QQuickItem *> targetItemsForPoint = pointerTargets(contentItem, point, false, false);-
2134 if (targetItems.count()
targetItems.count()Description
TRUEevaluated 144 times by 5 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
FALSEevaluated 326 times by 9 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
144-326
2135 targetItems = mergePointerTargets(targetItems, targetItemsForPoint);-
2136 }
executed 144 times by 5 tests: end of block
Executed by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
else {
144
2137 targetItems = targetItemsForPoint;-
2138 }
executed 326 times by 9 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
326
2139 }-
2140 for (QQuickItem *item : targetItems) {-
2141 if (grabbers.contains(item)
grabbers.contains(item)Description
TRUEevaluated 28 times by 3 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
FALSEevaluated 2544 times by 9 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
28-2544
2142 continue;
executed 28 times by 3 tests: continue;
Executed by:
  • tst_flickableinterop
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
28
2143 QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item);-
2144 event->localize(item);-
2145 itemPrivate->handlePointerEvent(event, true);-
2146 if (event->allPointsGrabbed()
event->allPointsGrabbed()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_multipointtoucharea_interop
FALSEevaluated 2542 times by 9 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
2-2542
2147 break;
executed 2 times by 1 test: break;
Executed by:
  • tst_multipointtoucharea_interop
2
2148 }
executed 2542 times by 9 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
2542
2149 }
executed 324 times by 9 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
324
2150}
executed 952 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
952
2151-
2152-
2153bool QQuickWindowPrivate::deliverPressOrReleaseEvent(QQuickPointerEvent *event, bool handlersOnly)-
2154{-
2155 int pointCount = event->pointCount();-
2156 QVector<QQuickItem *> targetItems;-
2157 bool isTouchEvent = (event->asPointerTouchEvent() != nullptr);-
2158 for (int i = 0; i < pointCount
i < pointCountDescription
TRUEevaluated 2598 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 2280 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
; ++i) {
2280-2598
2159 auto point = event->point(i);-
2160 point->setAccepted(false);-
2161 if (point->grabberPointerHandler()
point->grabberPointerHandler()Description
TRUEevaluated 38 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 2560 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
&& point->state() == QQuickEventPoint::Released
point->state()...oint::ReleasedDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickpointerhandler
FALSEevaluated 32 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquicktaphandler
)
6-2560
2162 point->setGrabberPointerHandler(nullptr, true);
executed 6 times by 1 test: point->setGrabberPointerHandler(nullptr, true);
Executed by:
  • tst_qquickpointerhandler
6
2163 QVector<QQuickItem *> targetItemsForPoint = pointerTargets(contentItem, point, !isTouchEvent, isTouchEvent);-
2164 if (targetItems.count()
targetItems.count()Description
TRUEevaluated 316 times by 6 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
FALSEevaluated 2282 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
316-2282
2165 targetItems = mergePointerTargets(targetItems, targetItemsForPoint);-
2166 }
executed 316 times by 6 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
else {
316
2167 targetItems = targetItemsForPoint;-
2168 }
executed 2282 times by 16 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
2282
2169 }-
2170-
2171 for (QQuickItem *item : targetItems) {-
2172 if (!handlersOnly
!handlersOnlyDescription
TRUEevaluated 2476 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 1536 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
&& sendFilteredPointerEvent(event, item)
sendFilteredPo...t(event, item)Description
TRUEevaluated 19 times by 2 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickgridview
FALSEevaluated 2457 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
19-2476
2173 if (event->isAccepted()
event->isAccepted()Description
TRUEevaluated 19 times by 2 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickgridview
FALSEnever evaluated
) {
0-19
2174 for (int i = 0; i < event->pointCount()
i < event->pointCount()Description
TRUEevaluated 19 times by 2 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickgridview
FALSEevaluated 19 times by 2 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickgridview
; ++i)
19
2175 event->point(i)->setAccepted();
executed 19 times by 2 tests: event->point(i)->setAccepted();
Executed by:
  • tst_qquickflickable
  • tst_qquickgridview
19
2176 return
executed 19 times by 2 tests: return true;
Executed by:
  • tst_qquickflickable
  • tst_qquickgridview
true;
executed 19 times by 2 tests: return true;
Executed by:
  • tst_qquickflickable
  • tst_qquickgridview
19
2177 }-
2178 skipDelivery.append(item);-
2179 }
never executed: end of block
0
2180-
2181-
2182-
2183 if (skipDelivery.contains(item)
skipDelivery.contains(item)Description
TRUEnever evaluated
FALSEevaluated 3993 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
)
0-3993
2184 continue;
never executed: continue;
0
2185 deliverMatchingPointsToItem(item, event, handlersOnly);-
2186 if (event->allPointsAccepted()
event->allPointsAccepted()Description
TRUEevaluated 2621 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 1372 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
1372-2621
2187 handlersOnly = true;
executed 2621 times by 16 tests: handlersOnly = true;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
2621
2188 }
executed 3993 times by 16 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
3993
2189-
2190 return
executed 2261 times by 16 tests: return event->allPointsAccepted();
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
event->allPointsAccepted();
executed 2261 times by 16 tests: return event->allPointsAccepted();
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
2261
2191}-
2192-
2193void QQuickWindowPrivate::deliverMatchingPointsToItem(QQuickItem *item, QQuickPointerEvent *pointerEvent, bool handlersOnly)-
2194{-
2195 QQuickWindow * const q = q_func();-
2196 QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item);-
2197 pointerEvent->localize(item);-
2198-
2199-
2200-
2201 if (!pointerEvent->isDoubleClickEvent()
!pointerEvent-...leClickEvent()Description
TRUEevaluated 4893 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickmousearea
) {
6-4893
2202 bool wasAccepted = pointerEvent->allPointsAccepted();-
2203 itemPrivate->handlePointerEvent(pointerEvent);-
2204 allowDoubleClick = wasAccepted
wasAcceptedDescription
TRUEevaluated 1029 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 3864 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
|| !(pointerEvent->asPointerMouseEvent()
pointerEvent->...erMouseEvent()Description
TRUEevaluated 1989 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 1875 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
&& pointerEvent->isPressEvent()
pointerEvent->isPressEvent()Description
TRUEevaluated 1989 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEnever evaluated
&& pointerEvent->allPointsAccepted()
pointerEvent->...intsAccepted()Description
TRUEevaluated 58 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 1931 times by 13 tests
Evaluated by:
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
);
0-3864
2205 }
executed 4893 times by 16 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
4893
2206 if (handlersOnly
handlersOnlyDescription
TRUEevaluated 1536 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 3363 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
)
1536-3363
2207 return;
executed 1536 times by 12 tests: return;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
1536
2208-
2209-
2210-
2211 if (pointerEvent->isReleaseEvent()
pointerEvent->isReleaseEvent()Description
TRUEevaluated 204 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 3159 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
&& !pointerEvent->isUpdateEvent()
!pointerEvent->isUpdateEvent()Description
TRUEevaluated 172 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 32 times by 5 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
32-3159
2212 && !pointerEvent->exclusiveGrabbers().contains(item)
!pointerEvent-...contains(item)Description
TRUEevaluated 82 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 90 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
)
82-90
2213 return;
executed 82 times by 5 tests: return;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
82
2214-
2215-
2216 auto event = pointerEvent->asPointerMouseEvent();-
2217 if (event
eventDescription
TRUEevaluated 1995 times by 14 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 1286 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
&& item->acceptedMouseButtons() & event->button()) {
1286-1995
2218 auto point = event->point(0);-
2219-
2220-
2221 auto oldMouseGrabber = q->mouseGrabberItem();-
2222 QPointF localPos = item->mapFromScene(point->scenePosition());-
2223 QMouseEvent *me = event->asMouseEvent(localPos);-
2224 me->accept();-
2225 QCoreApplication::sendEvent(item, me);-
2226 if (me->isAccepted()
me->isAccepted()Description
TRUEevaluated 1557 times by 11 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 402 times by 9 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
402-1557
2227 auto mouseGrabber = q->mouseGrabberItem();-
2228 if (mouseGrabber
mouseGrabberDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickmousearea
FALSEevaluated 1555 times by 11 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
&& mouseGrabber != item
mouseGrabber != itemDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickmousearea
FALSEnever evaluated
&& mouseGrabber != oldMouseGrabber
mouseGrabber !...ldMouseGrabberDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickmousearea
FALSEnever evaluated
) {
0-1555
2229 item->mouseUngrabEvent();-
2230 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickmousearea
else {
2
2231 item->grabMouse();-
2232 }
executed 1555 times by 11 tests: end of block
Executed by:
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1555
2233 point->setAccepted(true);-
2234 }
executed 1557 times by 11 tests: end of block
Executed by:
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1557
2235 return;
executed 1959 times by 14 tests: return;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
1959
2236 }-
2237-
2238 QQuickPointerTouchEvent *ptEvent = pointerEvent->asPointerTouchEvent();-
2239 if (!ptEvent
!ptEventDescription
TRUEevaluated 36 times by 3 tests
Evaluated by:
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
FALSEevaluated 1286 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
36-1286
2240 return;
executed 36 times by 3 tests: return;
Executed by:
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
36
2241-
2242 QScopedPointer<QTouchEvent> touchEvent(ptEvent->touchEventForItem(item));-
2243 if (!touchEvent
!touchEventDescription
TRUEevaluated 707 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 579 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
579-707
2244 return;
executed 707 times by 7 tests: return;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
707
2245-
2246 for (bool qt_category_enabled = DBG_TOUCH().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 579 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
; qt_category_enabled = false) QMessageLogger(__FILE__, 2597, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << "considering delivering " << touchEvent.data() << " to " << item;
never executed: QMessageLogger(__FILE__, 2597, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << "considering delivering " << touchEvent.data() << " to " << item;
0-579
2247 bool eventAccepted = false;-
2248-
2249-
2250 if (sendFilteredPointerEvent(pointerEvent, item)
sendFilteredPo...erEvent, item)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickmultipointtoucharea
FALSEevaluated 573 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
6-573
2251 return;
executed 6 times by 1 test: return;
Executed by:
  • tst_qquickmultipointtoucharea
6
2252-
2253-
2254 for (bool qt_category_enabled = DBG_TOUCH().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 573 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
; qt_category_enabled = false) QMessageLogger(__FILE__, 2605, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << " - actually delivering " << touchEvent.data() << " to " << item;
never executed: QMessageLogger(__FILE__, 2605, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << " - actually delivering " << touchEvent.data() << " to " << item;
0-573
2255 QCoreApplication::sendEvent(item, touchEvent.data());-
2256 eventAccepted = touchEvent->isAccepted();-
2257-
2258-
2259 if (!eventAccepted
!eventAcceptedDescription
TRUEevaluated 261 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 312 times by 5 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickitem
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
&& (itemPrivate->acceptedMouseButtons() & Qt::LeftButton)) {
261-312
2260-
2261 if (deliverTouchAsMouse(item, ptEvent)
deliverTouchAs...item, ptEvent)Description
TRUEevaluated 169 times by 5 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
FALSEevaluated 28 times by 5 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
)
28-169
2262 eventAccepted = true;
executed 169 times by 5 tests: eventAccepted = true;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
169
2263 }
executed 197 times by 8 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
197
2264-
2265 if (eventAccepted
eventAcceptedDescription
TRUEevaluated 481 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
FALSEevaluated 92 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
92-481
2266-
2267-
2268 bool isPressOrRelease = pointerEvent->isPressEvent()
pointerEvent->isPressEvent()Description
TRUEevaluated 158 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
FALSEevaluated 323 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
|| pointerEvent->isReleaseEvent()
pointerEvent->isReleaseEvent()Description
TRUEevaluated 100 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
FALSEevaluated 223 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
;
100-323
2269 for (auto point: qAsConst(touchEvent->touchPoints())) {-
2270 auto pointerEventPoint = ptEvent->pointById(point.id());-
2271 pointerEventPoint->setAccepted();-
2272 if (isPressOrRelease
isPressOrReleaseDescription
TRUEevaluated 410 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
FALSEevaluated 345 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
)
345-410
2273 pointerEventPoint->setGrabberItem(item);
executed 410 times by 8 tests: pointerEventPoint->setGrabberItem(item);
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
410
2274 }
executed 755 times by 8 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
755
2275 }
executed 481 times by 8 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
else {
481
2276-
2277-
2278 for (auto point: qAsConst(touchEvent->touchPoints())) {-
2279 if (point.state() == Qt::TouchPointPressed
point.state() ...chPointPressedDescription
TRUEevaluated 88 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
FALSEevaluated 30 times by 5 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquicktaphandler
) {
30-88
2280 if (ptEvent->pointById(point.id())->exclusiveGrabber() == item
ptEvent->point...bber() == itemDescription
TRUEnever evaluated
FALSEevaluated 88 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
) {
0-88
2281 for (bool qt_category_enabled = DBG_TOUCH_TARGET().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEnever evaluated
; qt_category_enabled = false) QMessageLogger(__FILE__, 2632, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP" << hex << point.id() << "disassociated";
never executed: QMessageLogger(__FILE__, 2632, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP" << hex << point.id() << "disassociated";
0
2282 ptEvent->pointById(point.id())->setGrabberItem(nullptr);-
2283 }
never executed: end of block
0
2284 }
executed 88 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
88
2285 }
executed 118 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
118
2286 }
executed 92 times by 10 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
92
2287}-
2288-
2289-
2290void QQuickWindowPrivate::deliverDragEvent(QQuickDragGrabber *grabber, QEvent *event)-
2291{-
2292 grabber->resetTarget();-
2293 QQuickDragGrabber::iterator grabItem = grabber->begin();-
2294 if (grabItem != grabber->end()
grabItem != grabber->end()Description
TRUEevaluated 414 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
FALSEevaluated 338 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
) {
338-414
2295 ((event->type() != QEvent::DragEnter) ? static_cast<void>(0) : qt_assert("event->type() != QEvent::DragEnter", __FILE__, 2646));-
2296 if (event->type() == QEvent::Drop
event->type() == QEvent::DropDescription
TRUEevaluated 50 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
FALSEevaluated 364 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
) {
50-364
2297 QDropEvent *e = static_cast<QDropEvent *>(event);-
2298 for (e->setAccepted(false); !e->isAccepted()
!e->isAccepted()Description
TRUEevaluated 62 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
FALSEevaluated 38 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
&& grabItem != grabber->end()
grabItem != grabber->end()Description
TRUEevaluated 50 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
FALSEevaluated 12 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
; grabItem = grabber->release(grabItem)) {
12-62
2299 QPointF p = (**grabItem)->mapFromScene(e->pos());-
2300 QDropEvent translatedEvent(-
2301 p.toPoint(),-
2302 e->possibleActions(),-
2303 e->mimeData(),-
2304 e->mouseButtons(),-
2305 e->keyboardModifiers());-
2306 QQuickDropEventEx::copyActions(&translatedEvent, *e);-
2307 QCoreApplication::sendEvent(**grabItem, &translatedEvent);-
2308 e->setAccepted(translatedEvent.isAccepted());-
2309 e->setDropAction(translatedEvent.dropAction());-
2310 grabber->setTarget(**grabItem);-
2311 }
executed 50 times by 2 tests: end of block
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
50
2312 }
executed 50 times by 2 tests: end of block
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
50
2313 if (event->type() != QEvent::DragMove
event->type() ...vent::DragMoveDescription
TRUEevaluated 190 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
FALSEevaluated 224 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
) {
190-224
2314 QDragLeaveEvent leaveEvent;-
2315 for (; grabItem != grabber->end()
grabItem != grabber->end()Description
TRUEevaluated 140 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
FALSEevaluated 190 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
; grabItem = grabber->release(grabItem))
140-190
2316 QCoreApplication::sendEvent(**grabItem, &leaveEvent);
executed 140 times by 3 tests: QCoreApplication::sendEvent(**grabItem, &leaveEvent);
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
140
2317 return;
executed 190 times by 3 tests: return;
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
190
2318 } else for (; grabItem != grabber->end()
grabItem != grabber->end()Description
TRUEevaluated 228 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
FALSEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
; grabItem = grabber->release(grabItem)) {
6-228
2319 QDragMoveEvent *moveEvent = static_cast<QDragMoveEvent *>(event);-
2320 if (deliverDragEvent(grabber, **grabItem, moveEvent)
deliverDragEve...em, moveEvent)Description
TRUEevaluated 218 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
FALSEevaluated 10 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
) {
10-218
2321 for (++grabItem; grabItem != grabber->end()
grabItem != grabber->end()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickdrag
FALSEevaluated 218 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
;) {
2-218
2322 QPointF p = (**grabItem)->mapFromScene(moveEvent->pos());-
2323 if ((**
(**grabItem)->contains(p)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickdrag
FALSEnever evaluated
grabItem)->contains(p)
(**grabItem)->contains(p)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickdrag
FALSEnever evaluated
) {
0-2
2324 QDragMoveEvent translatedEvent(-
2325 p.toPoint(),-
2326 moveEvent->possibleActions(),-
2327 moveEvent->mimeData(),-
2328 moveEvent->mouseButtons(),-
2329 moveEvent->keyboardModifiers());-
2330 QQuickDropEventEx::copyActions(&translatedEvent, *moveEvent);-
2331 QCoreApplication::sendEvent(**grabItem, &translatedEvent);-
2332 ++grabItem;-
2333 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickdrag
else {
2
2334 QDragLeaveEvent leaveEvent;-
2335 QCoreApplication::sendEvent(**grabItem, &leaveEvent);-
2336 grabItem = grabber->release(grabItem);-
2337 }
never executed: end of block
0
2338 }-
2339 return;
executed 218 times by 3 tests: return;
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
218
2340 } else {-
2341 QDragLeaveEvent leaveEvent;-
2342 QCoreApplication::sendEvent(**grabItem, &leaveEvent);-
2343 }
executed 10 times by 2 tests: end of block
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
10
2344 }-
2345 }
executed 6 times by 2 tests: end of block
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
6
2346 if (event->type() == QEvent::DragEnter
event->type() ...ent::DragEnterDescription
TRUEevaluated 254 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
FALSEevaluated 90 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
|| event->type() == QEvent::DragMove
event->type() ...vent::DragMoveDescription
TRUEevaluated 44 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
FALSEevaluated 46 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
) {
44-254
2347 QDragMoveEvent *e = static_cast<QDragMoveEvent *>(event);-
2348 QDragEnterEvent enterEvent(-
2349 e->pos(),-
2350 e->possibleActions(),-
2351 e->mimeData(),-
2352 e->mouseButtons(),-
2353 e->keyboardModifiers());-
2354 QQuickDropEventEx::copyActions(&enterEvent, *e);-
2355 event->setAccepted(deliverDragEvent(grabber, contentItem, &enterEvent));-
2356 }
executed 298 times by 3 tests: end of block
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
298
2357}
executed 344 times by 3 tests: end of block
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
344
2358-
2359bool QQuickWindowPrivate::deliverDragEvent(QQuickDragGrabber *grabber, QQuickItem *item, QDragMoveEvent *event)-
2360{-
2361 bool accepted = false;-
2362 QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item);-
2363 if (!item->isVisible()
!item->isVisible()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickdrag
FALSEevaluated 1134 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
|| !item->isEnabled()
!item->isEnabled()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickdrag
FALSEevaluated 1132 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
|| QQuickItemPrivate::get(item)->culled
QQuickItemPriv...(item)->culledDescription
TRUEnever evaluated
FALSEevaluated 1132 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
)
0-1134
2364 return
executed 4 times by 1 test: return false;
Executed by:
  • tst_qquickdrag
false;
executed 4 times by 1 test: return false;
Executed by:
  • tst_qquickdrag
4
2365 QPointF p = item->mapFromScene(event->pos());-
2366 bool itemContained = item->contains(p);-
2367-
2368 if (!itemContained
!itemContainedDescription
TRUEevaluated 350 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
FALSEevaluated 782 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
&& itemPrivate->flags & QQuickItem::ItemClipsChildrenToShape
itemPrivate->f...hildrenToShapeDescription
TRUEnever evaluated
FALSEevaluated 350 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
) {
0-782
2369 return
never executed: return false;
false;
never executed: return false;
0
2370 }-
2371-
2372 QDragEnterEvent enterEvent(-
2373 event->pos(),-
2374 event->possibleActions(),-
2375 event->mimeData(),-
2376 event->mouseButtons(),-
2377 event->keyboardModifiers());-
2378 QQuickDropEventEx::copyActions(&enterEvent, *event);-
2379 QList<QQuickItem *> children = itemPrivate->paintOrderChildItems();-
2380 for (int ii = children.count() - 1; ii >= 0
ii >= 0Description
TRUEevaluated 610 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
FALSEevaluated 890 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
; --ii) {
610-890
2381 if (deliverDragEvent(grabber, children.at(ii), &enterEvent)
deliverDragEve..., &enterEvent)Description
TRUEevaluated 242 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
FALSEevaluated 368 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
)
242-368
2382 return
executed 242 times by 3 tests: return true;
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
true;
executed 242 times by 3 tests: return true;
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
242
2383 }
executed 368 times by 2 tests: end of block
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
368
2384-
2385 if (itemContained
itemContainedDescription
TRUEevaluated 750 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
FALSEevaluated 140 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
) {
140-750
2386 if (event->type() == QEvent::DragMove
event->type() ...vent::DragMoveDescription
TRUEevaluated 214 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
FALSEevaluated 536 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
|| itemPrivate->flags & QQuickItem::ItemAcceptsDrops
itemPrivate->f...emAcceptsDropsDescription
TRUEevaluated 256 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
FALSEevaluated 280 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
) {
214-536
2387 QDragMoveEvent translatedEvent(-
2388 p.toPoint(),-
2389 event->possibleActions(),-
2390 event->mimeData(),-
2391 event->mouseButtons(),-
2392 event->keyboardModifiers(),-
2393 event->type());-
2394 QQuickDropEventEx::copyActions(&translatedEvent, *event);-
2395 translatedEvent.setAccepted(event->isAccepted());-
2396 QCoreApplication::sendEvent(item, &translatedEvent);-
2397 event->setAccepted(translatedEvent.isAccepted());-
2398 event->setDropAction(translatedEvent.dropAction());-
2399 if (event->type() == QEvent::DragEnter
event->type() ...ent::DragEnterDescription
TRUEevaluated 256 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
FALSEevaluated 214 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
) {
214-256
2400 if (translatedEvent.isAccepted()
translatedEvent.isAccepted()Description
TRUEevaluated 218 times by 3 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
FALSEevaluated 38 times by 2 tests
Evaluated by:
  • tst_qquickdrag
  • tst_qquickdroparea
) {
38-218
2401 grabber->grab(item);-
2402 accepted = true;-
2403 }
executed 218 times by 3 tests: end of block
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
218
2404 }
executed 256 times by 3 tests: end of block
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
else {
256
2405 accepted = true;-
2406 }
executed 214 times by 3 tests: end of block
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
214
2407 }-
2408 }
executed 750 times by 3 tests: end of block
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
750
2409-
2410 return
executed 890 times by 3 tests: return accepted;
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
accepted;
executed 890 times by 3 tests: return accepted;
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
890
2411}-
2412-
2413-
2414-
2415void QQuickWindowPrivate::updateCursor(const QPointF &scenePos)-
2416{-
2417 QQuickWindow * const q = q_func();-
2418-
2419 QQuickItem *oldCursorItem = cursorItem;-
2420 cursorItem = findCursorItem(contentItem, scenePos);-
2421-
2422 if (cursorItem != oldCursorItem
cursorItem != oldCursorItemDescription
TRUEevaluated 186 times by 8 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
FALSEevaluated 6242 times by 15 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
186-6242
2423 QWindow *renderWindow = QQuickRenderControl::renderWindowFor(q);-
2424 QWindow *window = renderWindow
renderWindowDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickwidget
FALSEevaluated 184 times by 7 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
? renderWindow : q;
2-184
2425 if (cursorItem
cursorItemDescription
TRUEevaluated 160 times by 8 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
FALSEevaluated 26 times by 3 tests
Evaluated by:
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
)
26-160
2426 window->setCursor(cursorItem->cursor());
executed 160 times by 8 tests: window->setCursor(cursorItem->cursor());
Executed by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
160
2427 else-
2428 window->unsetCursor();
executed 26 times by 3 tests: window->unsetCursor();
Executed by:
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
26
2429 }-
2430}
executed 6428 times by 16 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
6428
2431-
2432QQuickItem *QQuickWindowPrivate::findCursorItem(QQuickItem *item, const QPointF &scenePos)-
2433{-
2434 QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item);-
2435 if (itemPrivate->flags & QQuickItem::ItemClipsChildrenToShape
itemPrivate->f...hildrenToShapeDescription
TRUEevaluated 56 times by 1 test
Evaluated by:
  • tst_qquickpathview
FALSEevaluated 12390 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
) {
56-12390
2436 QPointF p = item->mapFromScene(scenePos);-
2437 if (!item->contains(p)
!item->contains(p)Description
TRUEevaluated 28 times by 1 test
Evaluated by:
  • tst_qquickpathview
FALSEevaluated 28 times by 1 test
Evaluated by:
  • tst_qquickpathview
)
28
2438 return
executed 28 times by 1 test: return nullptr;
Executed by:
  • tst_qquickpathview
nullptr;
executed 28 times by 1 test: return nullptr;
Executed by:
  • tst_qquickpathview
28
2439 }
executed 28 times by 1 test: end of block
Executed by:
  • tst_qquickpathview
28
2440-
2441 if (itemPrivate->subtreeCursorEnabled
itemPrivate->s...eCursorEnabledDescription
TRUEevaluated 5858 times by 8 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
FALSEevaluated 6560 times by 15 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
5858-6560
2442 QList<QQuickItem *> children = itemPrivate->paintOrderChildItems();-
2443 for (int ii = children.count() - 1; ii >= 0
ii >= 0Description
TRUEevaluated 6124 times by 8 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
FALSEevaluated 2120 times by 8 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
; --ii) {
2120-6124
2444 QQuickItem *child = children.at(ii);-
2445 if (!child->isVisible()
!child->isVisible()Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qquickmousearea
FALSEevaluated 6116 times by 8 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
|| !child->isEnabled()
!child->isEnabled()Description
TRUEnever evaluated
FALSEevaluated 6116 times by 8 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
|| QQuickItemPrivate::get(child)->culled
QQuickItemPriv...child)->culledDescription
TRUEevaluated 98 times by 1 test
Evaluated by:
  • tst_qquicklistview
FALSEevaluated 6018 times by 8 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
)
0-6116
2446 continue;
executed 106 times by 2 tests: continue;
Executed by:
  • tst_qquicklistview
  • tst_qquickmousearea
106
2447 if (QQuickItem *cursorItem = findCursorItem(child, scenePos)
QQuickItem *cu...ild, scenePos)Description
TRUEevaluated 3738 times by 8 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
FALSEevaluated 2280 times by 5 tests
Evaluated by:
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
)
2280-3738
2448 return
executed 3738 times by 8 tests: return cursorItem;
Executed by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
cursorItem;
executed 3738 times by 8 tests: return cursorItem;
Executed by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
3738
2449 }
executed 2280 times by 5 tests: end of block
Executed by:
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
2280
2450 }
executed 2120 times by 8 tests: end of block
Executed by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
2120
2451-
2452 if (itemPrivate->hasCursor
itemPrivate->hasCursorDescription
TRUEevaluated 1698 times by 8 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
FALSEevaluated 6982 times by 15 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
1698-6982
2453 QPointF p = item->mapFromScene(scenePos);-
2454 if (item->contains(p)
item->contains(p)Description
TRUEevaluated 870 times by 8 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
FALSEevaluated 828 times by 3 tests
Evaluated by:
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
)
828-870
2455 return
executed 870 times by 8 tests: return item;
Executed by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
item;
executed 870 times by 8 tests: return item;
Executed by:
  • tst_qquickflickable
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquickwidget
870
2456 }
executed 828 times by 3 tests: end of block
Executed by:
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
828
2457 return
executed 7810 times by 15 tests: return nullptr;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
nullptr;
executed 7810 times by 15 tests: return nullptr;
Executed by:
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
7810
2458}-
2459-
2460-
2461bool QQuickWindowPrivate::sendFilteredPointerEvent(QQuickPointerEvent *event, QQuickItem *receiver, QQuickItem *filteringParent)-
2462{-
2463 hasFiltered.clear();-
2464 return
executed 10706 times by 16 tests: return sendFilteredPointerEventImpl(event, receiver, filteringParent ? filteringParent : receiver->parentItem());
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
sendFilteredPointerEventImpl(event, receiver, filteringParent ? filteringParent : receiver->parentItem());
executed 10706 times by 16 tests: return sendFilteredPointerEventImpl(event, receiver, filteringParent ? filteringParent : receiver->parentItem());
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
10706
2465}-
2466-
2467bool QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent *event, QQuickItem *receiver, QQuickItem *filteringParent)-
2468{-
2469 if (!allowChildEventFiltering
!allowChildEventFilteringDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickflickable
FALSEevaluated 35541 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
)
2-35541
2470 return
executed 2 times by 1 test: return false;
Executed by:
  • tst_qquickflickable
false;
executed 2 times by 1 test: return false;
Executed by:
  • tst_qquickflickable
2
2471 if (!filteringParent
!filteringParentDescription
TRUEevaluated 10704 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 24837 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
)
10704-24837
2472 return
executed 10704 times by 16 tests: return false;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
false;
executed 10704 times by 16 tests: return false;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
10704
2473 bool filtered = false;-
2474 if (filteringParent->filtersChildMouseEvents()
filteringParen...dMouseEvents()Description
TRUEevaluated 1963 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
FALSEevaluated 22874 times by 16 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
&& !hasFiltered.contains(filteringParent)
!hasFiltered.c...lteringParent)Description
TRUEevaluated 1951 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
FALSEevaluated 12 times by 2 tests
Evaluated by:
  • tst_qquickmousearea
  • tst_qquickpathview
) {
12-22874
2475 hasFiltered.append(filteringParent);-
2476 if (QQuickPointerMouseEvent *pme = event->asPointerMouseEvent()
QQuickPointerM...erMouseEvent()Description
TRUEevaluated 1413 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
FALSEevaluated 538 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
) {
538-1413
2477 if (receiver->acceptedMouseButtons()
receiver->acce...MouseButtons()Description
TRUEevaluated 1413 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
FALSEnever evaluated
) {
0-1413
2478 QPointF localPos = receiver->mapFromScene(pme->point(0)->scenePosition());-
2479 QMouseEvent *me = pme->asMouseEvent(localPos);-
2480 const bool wasAccepted = me->isAccepted();-
2481 me->setAccepted(true);-
2482 auto oldMouseGrabber = pme->point(0)->grabberItem();-
2483 if (filteringParent->childMouseEventFilter(receiver, me)
filteringParen...(receiver, me)Description
TRUEevaluated 151 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
FALSEevaluated 1262 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
) {
151-1262
2484 for (bool qt_category_enabled = DBG_MOUSE().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 151 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
; qt_category_enabled = false) QMessageLogger(__FILE__, 2835, __PRETTY_FUNCTION__, DBG_MOUSE().categoryName()).debug() << "mouse event intercepted by childMouseEventFilter of " << filteringParent;
never executed: QMessageLogger(__FILE__, 2835, __PRETTY_FUNCTION__, DBG_MOUSE().categoryName()).debug() << "mouse event intercepted by childMouseEventFilter of " << filteringParent;
0-151
2485 skipDelivery.append(filteringParent);-
2486 filtered = true;-
2487 if (me->isAccepted()
me->isAccepted()Description
TRUEevaluated 149 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickpathview
&& pme->isPressEvent()
pme->isPressEvent()Description
TRUEevaluated 19 times by 2 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickgridview
FALSEevaluated 130 times by 6 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
) {
2-149
2488 auto mouseGrabber = pme->point(0)->grabberItem();-
2489 if (mouseGrabber
mouseGrabberDescription
TRUEevaluated 19 times by 2 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickgridview
FALSEnever evaluated
&& mouseGrabber != receiver
mouseGrabber != receiverDescription
TRUEevaluated 19 times by 2 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickgridview
FALSEnever evaluated
&& mouseGrabber != oldMouseGrabber
mouseGrabber !...ldMouseGrabberDescription
TRUEevaluated 19 times by 2 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquickgridview
FALSEnever evaluated
) {
0-19
2490 receiver->mouseUngrabEvent();-
2491 }
executed 19 times by 2 tests: end of block
Executed by:
  • tst_qquickflickable
  • tst_qquickgridview
else {
19
2492 pme->point(0)->setGrabberItem(receiver);-
2493 }
never executed: end of block
0
2494 }-
2495 }
executed 151 times by 7 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
else {
151
2496-
2497 me->setAccepted(wasAccepted);-
2498 }
executed 1262 times by 7 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
1262
2499 }-
2500 }
executed 1413 times by 7 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
else if (QQuickPointerTouchEvent *pte = event->asPointerTouchEvent()
QQuickPointerT...erTouchEvent()Description
TRUEevaluated 538 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
FALSEnever evaluated
) {
0-1413
2501-
2502-
2503-
2504-
2505 bool acceptsTouchEvents = false;-
2506-
2507 auto device = pte->device();-
2508 if (device->type() == QQuickPointerDevice::TouchPad
device->type()...vice::TouchPadDescription
TRUEnever evaluated
FALSEevaluated 538 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
&&
0-538
2509 device->capabilities().testFlag(QQuickPointerDevice::MouseEmulation)
device->capabi...ouseEmulation)Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
2510 for (bool qt_category_enabled = DBG_TOUCH_TARGET().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEnever evaluated
; qt_category_enabled = false) QMessageLogger(__FILE__, 2861, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "skipping filtering of synth-mouse event from" << device;
never executed: QMessageLogger(__FILE__, 2861, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "skipping filtering of synth-mouse event from" << device;
0
2511 }
never executed: end of block
else if (acceptsTouchEvents
acceptsTouchEventsDescription
TRUEnever evaluated
FALSEevaluated 538 times by 4 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
|| receiver->acceptedMouseButtons()) {
0-538
2512-
2513 QScopedPointer<QTouchEvent> filteringParentTouchEvent(pte->touchEventForItem(receiver, true));-
2514 if (filteringParentTouchEvent
filteringParentTouchEventDescription
TRUEevaluated 438 times by 3 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
FALSEevaluated 70 times by 1 test
Evaluated by:
  • tst_flickableinterop
) {
70-438
2515 if (filteringParent->childMouseEventFilter(receiver, filteringParentTouchEvent.data())
filteringParen...hEvent.data())Description
TRUEnever evaluated
FALSEevaluated 438 times by 3 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
) {
0-438
2516 for (bool qt_category_enabled = DBG_TOUCH().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEnever evaluated
; qt_category_enabled = false) QMessageLogger(__FILE__, 2867, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << "touch event intercepted by childMouseEventFilter of " << filteringParent;
never executed: QMessageLogger(__FILE__, 2867, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << "touch event intercepted by childMouseEventFilter of " << filteringParent;
0
2517 skipDelivery.append(filteringParent);-
2518 for (auto point: qAsConst(filteringParentTouchEvent->touchPoints())) {-
2519 QQuickEventPoint *pt = event->pointById(point.id());-
2520 pt->setAccepted();-
2521 pt->setGrabberItem(filteringParent);-
2522 }
never executed: end of block
0
2523 return
never executed: return true;
true;
never executed: return true;
0
2524 } else {-
2525-
2526 for (int i = 0; i < filteringParentTouchEvent->touchPoints().size()
i < filteringP...oints().size()Description
TRUEevaluated 468 times by 3 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_flickableinterop
; ++i) {
2-468
2527 const QTouchEvent::TouchPoint &tp = filteringParentTouchEvent->touchPoints().at(i);-
2528-
2529 QEvent::Type t;-
2530 switch (tp.state()) {-
2531 case
executed 96 times by 3 tests: case Qt::TouchPointPressed:
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
Qt::TouchPointPressed:
executed 96 times by 3 tests: case Qt::TouchPointPressed:
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
96
2532 t = QEvent::MouseButtonPress;-
2533 break;
executed 96 times by 3 tests: break;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
96
2534 case
executed 42 times by 3 tests: case Qt::TouchPointReleased:
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
Qt::TouchPointReleased:
executed 42 times by 3 tests: case Qt::TouchPointReleased:
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
42
2535 t = QEvent::MouseButtonRelease;-
2536 break;
executed 42 times by 3 tests: break;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
42
2537 case
executed 30 times by 1 test: case Qt::TouchPointStationary:
Executed by:
  • tst_qquickmultipointtoucharea
Qt::TouchPointStationary:
executed 30 times by 1 test: case Qt::TouchPointStationary:
Executed by:
  • tst_qquickmultipointtoucharea
30
2538 continue;
executed 30 times by 1 test: continue;
Executed by:
  • tst_qquickmultipointtoucharea
30
2539 default
executed 300 times by 3 tests: default:
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
:
executed 300 times by 3 tests: default:
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
300
2540 t = QEvent::MouseMove;-
2541 break;
executed 300 times by 3 tests: break;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
300
2542 }-
2543-
2544 bool touchMouseUnset = (touchMouseId == -1);-
2545-
2546 if (touchMouseUnset
touchMouseUnsetDescription
TRUEevaluated 418 times by 3 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
FALSEevaluated 20 times by 2 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
|| touchMouseId == tp.id()
touchMouseId == tp.id()Description
TRUEevaluated 18 times by 1 test
Evaluated by:
  • tst_qquickflickable
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_flickableinterop
) {
2-418
2547-
2548-
2549 QScopedPointer<QMouseEvent> mouseEvent(touchToMouseEvent(t, tp, filteringParentTouchEvent.data(), receiver, false));-
2550-
2551-
2552-
2553 touchMouseId = tp.id();-
2554 touchMouseDevice = event->device();-
2555 if (filteringParent->childMouseEventFilter(receiver, mouseEvent.data())
filteringParen...eEvent.data())Description
TRUEevaluated 16 times by 2 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickmultipointtoucharea
FALSEevaluated 420 times by 3 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
) {
16-420
2556 for (bool qt_category_enabled = DBG_TOUCH().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 16 times by 2 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickmultipointtoucharea
; qt_category_enabled = false) QMessageLogger(__FILE__, 2907, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << "touch event intercepted as synth mouse event by childMouseEventFilter of " << filteringParent;
never executed: QMessageLogger(__FILE__, 2907, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << "touch event intercepted as synth mouse event by childMouseEventFilter of " << filteringParent;
0-16
2557 skipDelivery.append(filteringParent);-
2558 if (t != QEvent::MouseButtonRelease
t != QEvent::M...eButtonReleaseDescription
TRUEevaluated 16 times by 2 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickmultipointtoucharea
FALSEnever evaluated
) {
0-16
2559 for (bool qt_category_enabled = DBG_TOUCH_TARGET().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 16 times by 2 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickmultipointtoucharea
; qt_category_enabled = false) QMessageLogger(__FILE__, 2910, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP (mouse)" << hex << tp.id() << "->" << filteringParent;
never executed: QMessageLogger(__FILE__, 2910, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP (mouse)" << hex << tp.id() << "->" << filteringParent;
0-16
2560 pointerEventInstance(touchMouseDevice)->pointById(tp.id())->setGrabberItem(filteringParent);-
2561 touchMouseUnset = false;-
2562 if (mouseEvent->isAccepted()
mouseEvent->isAccepted()Description
TRUEevaluated 16 times by 2 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickmultipointtoucharea
FALSEnever evaluated
)
0-16
2563 filteringParent->grabMouse();
executed 16 times by 2 tests: filteringParent->grabMouse();
Executed by:
  • tst_flickableinterop
  • tst_qquickmultipointtoucharea
16
2564 }
executed 16 times by 2 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickmultipointtoucharea
16
2565 filtered = true;-
2566 }
executed 16 times by 2 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickmultipointtoucharea
16
2567 if (touchMouseUnset
touchMouseUnsetDescription
TRUEevaluated 402 times by 3 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
FALSEevaluated 34 times by 3 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
) {
34-402
2568-
2569-
2570 touchMouseId = -1;-
2571 touchMouseDevice = nullptr;-
2572 }
executed 402 times by 3 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
402
2573-
2574-
2575 break;
executed 436 times by 3 tests: break;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
436
2576 }-
2577 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_flickableinterop
2
2578 }
executed 438 times by 3 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
438
2579 }-
2580 }
executed 508 times by 3 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmultipointtoucharea
508
2581 }
executed 538 times by 4 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
538
2582 }
executed 1951 times by 7 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
1951
2583 return
executed 24837 times by 16 tests: return sendFilteredPointerEventImpl(event, receiver, filteringParent->parentItem()) || filtered;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
sendFilteredPointerEventImpl(event, receiver, filteringParent->parentItem()) || filtered;
executed 24837 times by 16 tests: return sendFilteredPointerEventImpl(event, receiver, filteringParent->parentItem()) || filtered;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
24837
2584}-
2585-
2586bool QQuickWindowPrivate::sendFilteredMouseEvent(QEvent *event, QQuickItem *receiver, QQuickItem *filteringParent)-
2587{-
2588 if (!filteringParent
!filteringParentDescription
TRUEevaluated 2296 times by 15 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
FALSEevaluated 4072 times by 15 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
)
2296-4072
2589 return
executed 2296 times by 15 tests: return false;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
false;
executed 2296 times by 15 tests: return false;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
2296
2590-
2591 QQuickItemPrivate *filteringParentPrivate = QQuickItemPrivate::get(filteringParent);-
2592 if (filteringParentPrivate->replayingPressEvent
filteringParen...yingPressEventDescription
TRUEnever evaluated
FALSEevaluated 4072 times by 15 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
)
0-4072
2593 return
never executed: return false;
false;
never executed: return false;
0
2594-
2595 bool filtered = false;-
2596 if (filteringParentPrivate->filtersChildMouseEvents
filteringParen...ildMouseEventsDescription
TRUEevaluated 208 times by 5 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
FALSEevaluated 3864 times by 15 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
&& !hasFiltered.contains(filteringParent)
!hasFiltered.c...lteringParent)Description
TRUEevaluated 208 times by 5 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
FALSEnever evaluated
) {
0-3864
2597 hasFiltered.append(filteringParent);-
2598 if (filteringParent->childMouseEventFilter(receiver, event)
filteringParen...ceiver, event)Description
TRUEnever evaluated
FALSEevaluated 208 times by 5 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
) {
0-208
2599 filtered = true;-
2600 skipDelivery.append(filteringParent);-
2601 }
never executed: end of block
0
2602 for (bool qt_category_enabled = DBG_MOUSE_TARGET().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 208 times by 5 tests
Evaluated by:
  • tst_qquickflickable
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
; qt_category_enabled = false) QMessageLogger(__FILE__, 2953, __PRETTY_FUNCTION__, DBG_MOUSE_TARGET().categoryName()).debug() << "for" << receiver << filteringParent << "childMouseEventFilter ->" << filtered;
never executed: QMessageLogger(__FILE__, 2953, __PRETTY_FUNCTION__, DBG_MOUSE_TARGET().categoryName()).debug() << "for" << receiver << filteringParent << "childMouseEventFilter ->" << filtered;
0-208
2603 }
executed 208 times by 5 tests: end of block
Executed by:
  • tst_qquickflickable
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
208
2604-
2605 return
executed 4072 times by 15 tests: return sendFilteredMouseEvent(event, receiver, filteringParent->parentItem()) || filtered;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
sendFilteredMouseEvent(event, receiver, filteringParent->parentItem()) || filtered;
executed 4072 times by 15 tests: return sendFilteredMouseEvent(event, receiver, filteringParent->parentItem()) || filtered;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointerhandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
4072
2606}-
2607-
2608bool QQuickWindowPrivate::dragOverThreshold(qreal d, Qt::Axis axis, QMouseEvent *event, int startDragThreshold)-
2609{-
2610 QStyleHints *styleHints = QGuiApplication::styleHints();-
2611 int caps = QGuiApplicationPrivate::mouseEventCaps(event);-
2612 bool dragVelocityLimitAvailable = (
(caps & QTouch...ice::Velocity)Description
TRUEnever evaluated
FALSEevaluated 6424 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
caps & QTouchDevice::Velocity)
(caps & QTouch...ice::Velocity)Description
TRUEnever evaluated
FALSEevaluated 6424 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
0-6424
2613 && styleHints->startDragVelocity()
styleHints->st...DragVelocity()Description
TRUEnever evaluated
FALSEnever evaluated
;
0
2614 bool overThreshold = qAbs(d) > (startDragThreshold >= 0 ? startDragThreshold : styleHints->startDragDistance());-
2615 if (dragVelocityLimitAvailable
dragVelocityLimitAvailableDescription
TRUEnever evaluated
FALSEevaluated 6424 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
) {
0-6424
2616 QVector2D velocityVec = QGuiApplicationPrivate::mouseEventVelocity(event);-
2617 qreal velocity = axis == Qt::XAxis
axis == Qt::XAxisDescription
TRUEnever evaluated
FALSEnever evaluated
? velocityVec.x() : velocityVec.y();
0
2618 overThreshold |= qAbs(velocity) > styleHints->startDragVelocity();-
2619 }
never executed: end of block
0
2620 return
executed 6424 times by 7 tests: return overThreshold;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
overThreshold;
executed 6424 times by 7 tests: return overThreshold;
Executed by:
  • tst_flickableinterop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
6424
2621}-
2622void QQuickWindowPrivate::data_append(QQmlListProperty<QObject> *property, QObject *o)-
2623{-
2624 if (!o
!oDescription
TRUEnever evaluated
FALSEevaluated 156 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquicktext
)
0-156
2625 return;
never executed: return;
0
2626 QQuickWindow *that = static_cast<QQuickWindow *>(property->object);-
2627 if (QQuickWindow *window = qmlobject_cast<QQuickWindow *>(o)
QQuickWindow *...ckWindow *>(o)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlcomponent
FALSEevaluated 154 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquicktext
) {
2-154
2628 for (bool qt_category_enabled = lcTransient().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qqmlcomponent
; qt_category_enabled = false) QMessageLogger(__FILE__, 3004, __PRETTY_FUNCTION__, lcTransient().categoryName()).debug() << window << "is transient for" << that;
never executed: QMessageLogger(__FILE__, 3004, __PRETTY_FUNCTION__, lcTransient().categoryName()).debug() << window << "is transient for" << that;
0-2
2629 window->setTransientParent(that);-
2630 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qqmlcomponent
2
2631 QQmlListProperty<QObject> itemProperty = QQuickItemPrivate::get(that->contentItem())->data();-
2632 itemProperty.append(&itemProperty, o);-
2633}
executed 156 times by 8 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquicktext
156
2634-
2635int QQuickWindowPrivate::data_count(QQmlListProperty<QObject> *property)-
2636{-
2637 QQuickWindow *win = static_cast<QQuickWindow*>(property->object);-
2638 if (!win
!winDescription
TRUEnever evaluated
FALSEnever evaluated
|| !win->contentItem()
!win->contentItem()Description
TRUEnever evaluated
FALSEnever evaluated
|| !QQuickItemPrivate::get(win->contentItem())->data().count
!QQuickItemPri...->data().countDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
2639 return
never executed: return 0;
0;
never executed: return 0;
0
2640 QQmlListProperty<QObject> itemProperty = QQuickItemPrivate::get(win->contentItem())->data();-
2641 return
never executed: return itemProperty.count(&itemProperty);
itemProperty.count(&itemProperty);
never executed: return itemProperty.count(&itemProperty);
0
2642}-
2643-
2644QObject *QQuickWindowPrivate::data_at(QQmlListProperty<QObject> *property, int i)-
2645{-
2646 QQuickWindow *win = static_cast<QQuickWindow*>(property->object);-
2647 QQmlListProperty<QObject> itemProperty = QQuickItemPrivate::get(win->contentItem())->data();-
2648 return
never executed: return itemProperty.at(&itemProperty, i);
itemProperty.at(&itemProperty, i);
never executed: return itemProperty.at(&itemProperty, i);
0
2649}-
2650-
2651void QQuickWindowPrivate::data_clear(QQmlListProperty<QObject> *property)-
2652{-
2653 QQuickWindow *win = static_cast<QQuickWindow*>(property->object);-
2654 QQmlListProperty<QObject> itemProperty = QQuickItemPrivate::get(win->contentItem())->data();-
2655 itemProperty.clear(&itemProperty);-
2656}
never executed: end of block
0
2657-
2658bool QQuickWindowPrivate::isRenderable() const-
2659{-
2660 const QQuickWindow * const q = q_func();-
2661 return
executed 2110947 times by 89 tests: return ((q->isExposed() && q->isVisible())) && q->geometry().isValid();
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
((q->isExposed() && q->isVisible())) && q->geometry().isValid();
executed 2110947 times by 89 tests: return ((q->isExposed() && q->isVisible())) && q->geometry().isValid();
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
2110947
2662}-
2663-
2664void QQuickWindowPrivate::contextCreationFailureMessage(const QSurfaceFormat &format,-
2665 QString *translatedMessage,-
2666 QString *untranslatedMessage,-
2667 bool isEs)-
2668{-
2669 const QString contextType = QLatin1String(isEs ? "EGL" : "OpenGL");-
2670 QString formatStr;-
2671 QDebug(&formatStr) << format;-
2672 const char msg[] = "Failed to create %1 context for format %2"-
2673 ;-
2674 *translatedMessage = QQuickWindow::tr(msg).arg(contextType, formatStr);-
2675 *untranslatedMessage = QString::fromLatin1(msg).arg(contextType, formatStr);-
2676-
2677}
never executed: end of block
0
2678bool QQuickWindow::sendEvent(QQuickItem *item, QEvent *e)-
2679{-
2680 QQuickWindowPrivate * const d = d_func();-
2681-
2682 if (!item
!itemDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
2683 QMessageLogger(__FILE__, 3087, __PRETTY_FUNCTION__).warning("QQuickWindow::sendEvent: Cannot send event to a null item");-
2684 return
never executed: return false;
false;
never executed: return false;
0
2685 }-
2686-
2687 ((e) ? static_cast<void>(0) : qt_assert("e", __FILE__, 3091));-
2688-
2689 switch (e->type()) {-
2690 case
never executed: case QEvent::KeyPress:
QEvent::KeyPress:
never executed: case QEvent::KeyPress:
0
2691 case
never executed: case QEvent::KeyRelease:
QEvent::KeyRelease:
never executed: case QEvent::KeyRelease:
0
2692 e->accept();-
2693 QCoreApplication::sendEvent(item, e);-
2694 while (!e->isAccepted()
!e->isAccepted()Description
TRUEnever evaluated
FALSEnever evaluated
&& (
(item = item->parentItem())Description
TRUEnever evaluated
FALSEnever evaluated
item = item->parentItem())
(item = item->parentItem())Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
2695 e->accept();-
2696 QCoreApplication::sendEvent(item, e);-
2697 }
never executed: end of block
0
2698 break;
never executed: break;
0
2699 case
never executed: case QEvent::MouseButtonPress:
QEvent::MouseButtonPress:
never executed: case QEvent::MouseButtonPress:
0
2700 case
never executed: case QEvent::MouseButtonRelease:
QEvent::MouseButtonRelease:
never executed: case QEvent::MouseButtonRelease:
0
2701 case
never executed: case QEvent::MouseButtonDblClick:
QEvent::MouseButtonDblClick:
never executed: case QEvent::MouseButtonDblClick:
0
2702 case
never executed: case QEvent::MouseMove:
QEvent::MouseMove:
never executed: case QEvent::MouseMove:
{
0
2703-
2704 d->hasFiltered.clear();-
2705 if (!d->sendFilteredMouseEvent(e, item, item->parentItem())
!d->sendFilter...>parentItem())Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
2706-
2707 e->accept();-
2708 QCoreApplication::sendEvent(item, e);-
2709 }
never executed: end of block
0
2710 }-
2711 break;
never executed: break;
0
2712 default
never executed: default:
:
never executed: default:
0
2713 QCoreApplication::sendEvent(item, e);-
2714 break;
never executed: break;
0
2715 }-
2716-
2717 return
never executed: return false;
false;
never executed: return false;
0
2718}-
2719-
2720-
2721-
2722void QQuickWindowPrivate::cleanupNodes()-
2723{-
2724 for (int ii = 0; ii < cleanupNodeList.count()
ii < cleanupNodeList.count()Description
TRUEevaluated 316588 times by 74 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
FALSEevaluated 55981 times by 90 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
; ++ii)
55981-316588
2725 delete cleanupNodeList.at(ii);
executed 316588 times by 74 tests: delete cleanupNodeList.at(ii);
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
316588
2726 cleanupNodeList.clear();-
2727}
executed 55981 times by 90 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
55981
2728-
2729void QQuickWindowPrivate::cleanupNodesOnShutdown(QQuickItem *item)-
2730{-
2731 QQuickItemPrivate *p = QQuickItemPrivate::get(item);-
2732 if (p->itemNodeInstance
p->itemNodeInstanceDescription
TRUEevaluated 7060 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 3470 times by 43 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquickdynamicpropertyanimation
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickgraphicsinfo
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickmousearea
  • ...
) {
3470-7060
2733 delete p->itemNodeInstance;-
2734 p->itemNodeInstance = nullptr;-
2735-
2736 if (p->extra.isAllocated()
p->extra.isAllocated()Description
TRUEevaluated 5892 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 1168 times by 12 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickborderimage
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquicktext
  • tst_qquickwidget
  • tst_rendernode
) {
1168-5892
2737 p->extra->opacityNode = nullptr;-
2738 p->extra->clipNode = nullptr;-
2739 p->extra->rootNode = nullptr;-
2740 }
executed 5892 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
5892
2741-
2742 p->paintNode = nullptr;-
2743-
2744 p->dirty(QQuickItemPrivate::Window);-
2745 }
executed 7060 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
7060
2746-
2747-
2748 if (p->flags & QQuickItem::ItemHasContents
p->flags & QQu...temHasContentsDescription
TRUEevaluated 2738 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qquickborderimage
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
FALSEevaluated 7792 times by 90 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
) {
2738-7792
2749 const QMetaObject *mo = item->metaObject();-
2750 int index = mo->indexOfSlot("invalidateSceneGraph()");-
2751 if (index >= 0
index >= 0Description
TRUEevaluated 96 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickborderimage
  • tst_qquickimage
  • tst_qquickitem
FALSEevaluated 2642 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qquickborderimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
) {
96-2642
2752 const QMetaMethod &method = mo->method(index);-
2753-
2754 if (strstr(method.enclosingMetaObject()->className(), "_QML_") == nullptr
strstr(method...._") == nullptrDescription
TRUEevaluated 96 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickborderimage
  • tst_qquickimage
  • tst_qquickitem
FALSEnever evaluated
)
0-96
2755 method.invoke(item, Qt::DirectConnection);
executed 96 times by 4 tests: method.invoke(item, Qt::DirectConnection);
Executed by:
  • tst_examples
  • tst_qquickborderimage
  • tst_qquickimage
  • tst_qquickitem
96
2756 }
executed 96 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickborderimage
  • tst_qquickimage
  • tst_qquickitem
96
2757 }
executed 2738 times by 11 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickborderimage
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
2738
2758-
2759 for (int ii = 0; ii < p->childItems.count()
ii < p->childItems.count()Description
TRUEevaluated 5168 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickdrag
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
FALSEevaluated 10530 times by 90 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
; ++ii)
5168-10530
2760 cleanupNodesOnShutdown(p->childItems.at(ii));
executed 5168 times by 17 tests: cleanupNodesOnShutdown(p->childItems.at(ii));
Executed by:
  • tst_examples
  • tst_qqmlcomponent
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickdrag
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickwidget
5168
2761}
executed 10530 times by 90 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
10530
2762-
2763-
2764void QQuickWindowPrivate::cleanupNodesOnShutdown()-
2765{-
2766 QQuickWindow * const q = q_func();-
2767 cleanupNodes();-
2768 cleanupNodesOnShutdown(contentItem);-
2769 for (QSet<QQuickItem *>::const_iterator it = parentlessItems.begin(), cend = parentlessItems.end(); it != cend
it != cendDescription
TRUEnever evaluated
FALSEevaluated 5362 times by 90 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
; ++it)
0-5362
2770 cleanupNodesOnShutdown(*it);
never executed: cleanupNodesOnShutdown(*it);
0
2771 animationController->windowNodesDestroyed();-
2772 q->cleanupSceneGraph();-
2773}
executed 5362 times by 90 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
5362
2774-
2775void QQuickWindowPrivate::updateDirtyNodes()-
2776{-
2777 for (bool qt_category_enabled = DBG_DIRTY().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 50619 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
; qt_category_enabled = false) QMessageLogger(__FILE__, 3181, __PRETTY_FUNCTION__, DBG_DIRTY().categoryName()).debug() << "QQuickWindowPrivate::updateDirtyNodes():";
never executed: QMessageLogger(__FILE__, 3181, __PRETTY_FUNCTION__, DBG_DIRTY().categoryName()).debug() << "QQuickWindowPrivate::updateDirtyNodes():";
0-50619
2778-
2779 cleanupNodes();-
2780-
2781 QQuickItem *updateList = dirtyItemList;-
2782 dirtyItemList = nullptr;-
2783 if (updateList
updateListDescription
TRUEevaluated 42616 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 8003 times by 52 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • ...
) QQuickItemPrivate::get(updateList)->prevDirtyItem = &updateList;
executed 42616 times by 76 tests: QQuickItemPrivate::get(updateList)->prevDirtyItem = &updateList;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
8003-42616
2784-
2785 while (updateList
updateListDescription
TRUEevaluated 548664 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 50619 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
50619-548664
2786 QQuickItem *item = updateList;-
2787 QQuickItemPrivate *itemPriv = QQuickItemPrivate::get(item);-
2788 itemPriv->removeFromDirtyList();-
2789-
2790 for (bool qt_category_enabled = DBG_DIRTY().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 548664 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
; qt_category_enabled = false) QMessageLogger(__FILE__, 3194, __PRETTY_FUNCTION__, DBG_DIRTY().categoryName()).debug() << " QSGNode:" << item << QtPrivate::asString(itemPriv->dirtyToString()).toLocal8Bit().constData();
never executed: QMessageLogger(__FILE__, 3194, __PRETTY_FUNCTION__, DBG_DIRTY().categoryName()).debug() << " QSGNode:" << item << QtPrivate::asString(itemPriv->dirtyToString()).toLocal8Bit().constData();
0-548664
2791 updateDirtyNode(item);-
2792 }
executed 548664 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
548664
2793}
executed 50619 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
50619
2794-
2795static inline QSGNode *qquickitem_before_paintNode(QQuickItemPrivate *d)-
2796{-
2797 const QList<QQuickItem *> childItems = d->paintOrderChildItems();-
2798 QQuickItem *before = nullptr;-
2799 for (int i=0; i<childItems.size()
i<childItems.size()Description
TRUEevaluated 63536 times by 61 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • 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
  • tst_qquickitem2
  • ...
FALSEevaluated 188328 times by 69 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
; ++i) {
63536-188328
2800 QQuickItemPrivate *dd = QQuickItemPrivate::get(childItems.at(i));-
2801-
2802 if (dd->z() < 0
dd->z() < 0Description
TRUEevaluated 204 times by 1 test
Evaluated by:
  • tst_examples
FALSEevaluated 63332 times by 61 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • 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
  • tst_qquickitem2
  • ...
&& (dd->explicitVisible
dd->explicitVisibleDescription
TRUEevaluated 204 times by 1 test
Evaluated by:
  • tst_examples
FALSEnever evaluated
|| (dd->extra.isAllocated()
dd->extra.isAllocated()Description
TRUEnever evaluated
FALSEnever evaluated
&& dd->extra->effectRefCount
dd->extra->effectRefCountDescription
TRUEnever evaluated
FALSEnever evaluated
)))
0-63332
2803 before = childItems.at(i);
executed 204 times by 1 test: before = childItems.at(i);
Executed by:
  • tst_examples
204
2804 else-
2805 break;
executed 63332 times by 61 tests: break;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • 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
  • tst_qquickitem2
  • ...
63332
2806 }-
2807 return
executed 251660 times by 71 tests: return __builtin_expect(!!(before), false) ? QQuickItemPrivate::get(before)->itemNode() : nullptr;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
__builtin_expect(!!(before), false) ? QQuickItemPrivate::get(before)->itemNode() : nullptr;
executed 251660 times by 71 tests: return __builtin_expect(!!(before), false) ? QQuickItemPrivate::get(before)->itemNode() : nullptr;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
251660
2808}-
2809-
2810static QSGNode *fetchNextNode(QQuickItemPrivate *itemPriv, int &ii, bool &returnedPaintNode)-
2811{-
2812 QList<QQuickItem *> orderedChildren = itemPriv->paintOrderChildItems();-
2813-
2814 for (; ii < orderedChildren.count()
ii < orderedChildren.count()Description
TRUEevaluated 437732 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 95378 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
&& orderedChildren.at(ii)->z() < 0
orderedChildre...t(ii)->z() < 0Description
TRUEevaluated 252 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquicklistview
FALSEevaluated 437480 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
; ++ii) {
252-437732
2815 QQuickItemPrivate *childPrivate = QQuickItemPrivate::get(orderedChildren.at(ii));-
2816 if (!childPrivate->explicitVisible
!childPrivate->explicitVisibleDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_examples
FALSEevaluated 250 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquicklistview
&&
2-250
2817 (!childPrivate->extra.isAllocated()
!childPrivate-....isAllocated()Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_examples
|| !childPrivate->extra->effectRefCount
!childPrivate-...effectRefCountDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_examples
FALSEnever evaluated
))
0-2
2818 continue;
executed 2 times by 1 test: continue;
Executed by:
  • tst_examples
2
2819-
2820 ii++;-
2821 return
executed 250 times by 2 tests: return childPrivate->itemNode();
Executed by:
  • tst_examples
  • tst_qquicklistview
childPrivate->itemNode();
executed 250 times by 2 tests: return childPrivate->itemNode();
Executed by:
  • tst_examples
  • tst_qquicklistview
250
2822 }-
2823-
2824 if (itemPriv->paintNode
itemPriv->paintNodeDescription
TRUEevaluated 973 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimatedsprite
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 531885 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
&& !returnedPaintNode
!returnedPaintNodeDescription
TRUEevaluated 150 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimatedsprite
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 823 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimatedsprite
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
150-531885
2825 returnedPaintNode = true;-
2826 return
executed 150 times by 10 tests: return itemPriv->paintNode;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimatedsprite
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
itemPriv->paintNode;
executed 150 times by 10 tests: return itemPriv->paintNode;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimatedsprite
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
150
2827 }-
2828-
2829 for (; ii < orderedChildren.count()
ii < orderedChildren.count()Description
TRUEevaluated 440871 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 95850 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
; ++ii) {
95850-440871
2830 QQuickItemPrivate *childPrivate = QQuickItemPrivate::get(orderedChildren.at(ii));-
2831 if (!childPrivate->explicitVisible
!childPrivate->explicitVisibleDescription
TRUEevaluated 4029 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_signalspy
FALSEevaluated 436842 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
&&
4029-436842
2832 (!childPrivate->extra.isAllocated()
!childPrivate-....isAllocated()Description
TRUEevaluated 108 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickborderimage
  • tst_qquicklayouts
  • tst_qquickmultipointtoucharea
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
FALSEevaluated 3921 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquicktaphandler
  • tst_signalspy
|| !childPrivate->extra->effectRefCount
!childPrivate-...effectRefCountDescription
TRUEevaluated 3905 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquicktaphandler
  • tst_signalspy
FALSEevaluated 16 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickitemlayer
))
16-3921
2833 continue;
executed 4013 times by 17 tests: continue;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_signalspy
4013
2834-
2835 ii++;-
2836 return
executed 436858 times by 76 tests: return childPrivate->itemNode();
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
childPrivate->itemNode();
executed 436858 times by 76 tests: return childPrivate->itemNode();
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
436858
2837 }-
2838-
2839 return
executed 95850 times by 76 tests: return nullptr;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
nullptr;
executed 95850 times by 76 tests: return nullptr;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
95850
2840}-
2841-
2842void QQuickWindowPrivate::updateDirtyNode(QQuickItem *item)-
2843{-
2844 QQuickItemPrivate *itemPriv = QQuickItemPrivate::get(item);-
2845 quint32 dirty = itemPriv->dirtyAttributes;-
2846 itemPriv->dirtyAttributes = 0;-
2847-
2848 if ((
(dirty & QQuic...ormUpdateMask)Description
TRUEevaluated 433368 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 115296 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
dirty & QQuickItemPrivate::TransformUpdateMask)
(dirty & QQuic...ormUpdateMask)Description
TRUEevaluated 433368 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 115296 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
||
115296-433368
2849 (dirty & QQuickItemPrivate::Size
dirty & QQuick...mPrivate::SizeDescription
TRUEevaluated 44454 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 70842 times by 55 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickfocusscope
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • ...
&& itemPriv->origin() != QQuickItem::TopLeft
itemPriv->orig...kItem::TopLeftDescription
TRUEevaluated 44454 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEnever evaluated
&&
0-70842
2850 (itemPriv->scale() != 1.
itemPriv->scale() != 1.Description
TRUEnever evaluated
FALSEevaluated 44454 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
|| itemPriv->rotation() != 0.
itemPriv->rotation() != 0.Description
TRUEnever evaluated
FALSEevaluated 44454 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
))) {
0-44454
2851-
2852 QMatrix4x4 matrix;-
2853-
2854 if (itemPriv->x != 0.
itemPriv->x != 0.Description
TRUEevaluated 214250 times by 37 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointattractor
  • tst_qquickpointerhandler
  • tst_qquickpositioners
  • tst_qquickspringanimation
  • ...
FALSEevaluated 219118 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
|| itemPriv->y != 0.
itemPriv->y != 0.Description
TRUEevaluated 127844 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickanimatedsprite
  • tst_qquickcustomaffector
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickspringanimation
  • tst_qquickstates
  • tst_qquicktextedit
  • ...
FALSEevaluated 91274 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
)
91274-219118
2855 matrix.translate(itemPriv->x, itemPriv->y);
executed 342094 times by 43 tests: matrix.translate(itemPriv->x, itemPriv->y);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickcustomaffector
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickfriction
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • ...
342094
2856-
2857 for (int ii = itemPriv->transforms.count() - 1; ii >= 0
ii >= 0Description
TRUEevaluated 272 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickpathview
FALSEevaluated 433368 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
; --ii)
272-433368
2858 itemPriv->transforms.at(ii)->applyTo(&matrix);
executed 272 times by 2 tests: itemPriv->transforms.at(ii)->applyTo(&matrix);
Executed by:
  • tst_examples
  • tst_qquickpathview
272
2859-
2860 if (itemPriv->scale() != 1.
itemPriv->scale() != 1.Description
TRUEevaluated 220 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickspritesequence
  • tst_scenegraph
FALSEevaluated 433148 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
|| itemPriv->rotation() != 0.
itemPriv->rotation() != 0.Description
TRUEevaluated 654 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_rendernode
  • tst_scenegraph
FALSEevaluated 432494 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
220-433148
2861 QPointF origin = item->transformOriginPoint();-
2862 matrix.translate(origin.x(), origin.y());-
2863 if (itemPriv->scale() != 1.
itemPriv->scale() != 1.Description
TRUEevaluated 220 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickspritesequence
  • tst_scenegraph
FALSEevaluated 654 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_rendernode
  • tst_scenegraph
)
220-654
2864 matrix.scale(itemPriv->scale(), itemPriv->scale());
executed 220 times by 12 tests: matrix.scale(itemPriv->scale(), itemPriv->scale());
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickspritesequence
  • tst_scenegraph
220
2865 if (itemPriv->rotation() != 0.
itemPriv->rotation() != 0.Description
TRUEevaluated 692 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_rendernode
  • tst_scenegraph
FALSEevaluated 182 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickspritesequence
  • tst_scenegraph
)
182-692
2866 matrix.rotate(itemPriv->rotation(), 0, 0, 1);
executed 692 times by 10 tests: matrix.rotate(itemPriv->rotation(), 0, 0, 1);
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpincharea
  • tst_rendernode
  • tst_scenegraph
692
2867 matrix.translate(-origin.x(), -origin.y());-
2868 }
executed 874 times by 13 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickspritesequence
  • tst_rendernode
  • tst_scenegraph
874
2869-
2870 itemPriv->itemNode()->setMatrix(matrix);-
2871 }
executed 433368 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
433368
2872-
2873 bool clipEffectivelyChanged = (
(dirty & (QQui...vate::Window))Description
TRUEevaluated 320826 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 227838 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
dirty & (QQuickItemPrivate::Clip | QQuickItemPrivate::Window))
(dirty & (QQui...vate::Window))Description
TRUEevaluated 320826 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 227838 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
&&
227838-320826
2874 ((
((item->clip()...) == nullptr))Description
TRUEevaluated 262 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEevaluated 320564 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
item->clip() == false) != (itemPriv->clipNode() == nullptr))
((item->clip()...) == nullptr))Description
TRUEevaluated 262 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEevaluated 320564 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
;
262-320564
2875 int effectRefCount = itemPriv->extra.isAllocated()
itemPriv->extra.isAllocated()Description
TRUEevaluated 233922 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 314742 times by 72 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • ...
?itemPriv->extra->effectRefCount:0;
233922-314742
2876 bool effectRefEffectivelyChanged = (
(dirty & (QQui...vate::Window))Description
TRUEevaluated 320830 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 227834 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
dirty & (QQuickItemPrivate::EffectReference | QQuickItemPrivate::Window))
(dirty & (QQui...vate::Window))Description
TRUEevaluated 320830 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 227834 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
&&
227834-320830
2877 ((
((effectRefCou...) == nullptr))Description
TRUEevaluated 105 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
FALSEevaluated 320725 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
effectRefCount == 0) != (itemPriv->rootNode() == nullptr))
((effectRefCou...) == nullptr))Description
TRUEevaluated 105 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
FALSEevaluated 320725 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
;
105-320725
2878-
2879 if (clipEffectivelyChanged
clipEffectivelyChangedDescription
TRUEevaluated 262 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEevaluated 548402 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
262-548402
2880 QSGNode *parent = itemPriv->opacityNode()
itemPriv->opacityNode()Description
TRUEnever evaluated
FALSEevaluated 262 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
? (QSGNode *) itemPriv->opacityNode() :
0-262
2881 (QSGNode *) itemPriv->itemNode();-
2882 QSGNode *child = itemPriv->rootNode();-
2883-
2884 if (item->clip()
item->clip()Description
TRUEevaluated 262 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEnever evaluated
) {
0-262
2885 ((itemPriv->clipNode() == nullptr) ? static_cast<void>(0) : qt_assert("itemPriv->clipNode() == nullptr", __FILE__, 3289));-
2886 QQuickDefaultClipNode *clip = new QQuickDefaultClipNode(item->clipRect());-
2887 itemPriv->extra.value().clipNode = clip;-
2888 clip->update();-
2889-
2890 if (!child
!childDescription
TRUEevaluated 262 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEnever evaluated
) {
0-262
2891 parent->reparentChildNodesTo(clip);-
2892 parent->appendChildNode(clip);-
2893 }
executed 262 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
else {
262
2894 parent->removeChildNode(child);-
2895 clip->appendChildNode(child);-
2896 parent->appendChildNode(clip);-
2897 }
never executed: end of block
0
2898-
2899 } else {-
2900 QQuickDefaultClipNode *clip = itemPriv->clipNode();-
2901 ((clip) ? static_cast<void>(0) : qt_assert("clip", __FILE__, 3305));-
2902 parent->removeChildNode(clip);-
2903 if (child
childDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
2904 clip->removeChildNode(child);-
2905 parent->appendChildNode(child);-
2906 }
never executed: end of block
else {
0
2907 clip->reparentChildNodesTo(parent);-
2908 }
never executed: end of block
0
2909-
2910 delete itemPriv->clipNode();-
2911 itemPriv->extra->clipNode = nullptr;-
2912 }
never executed: end of block
0
2913 }-
2914-
2915 if (effectRefEffectivelyChanged
effectRefEffectivelyChangedDescription
TRUEevaluated 105 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
FALSEevaluated 548559 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
105-548559
2916 if (dirty & QQuickItemPrivate::ChildrenUpdateMask
dirty & QQuick...drenUpdateMaskDescription
TRUEevaluated 105 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
FALSEnever evaluated
)
0-105
2917 itemPriv->childContainerNode()->removeAllChildNodes();
executed 105 times by 6 tests: itemPriv->childContainerNode()->removeAllChildNodes();
Executed by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
105
2918-
2919 QSGNode *parent = itemPriv->clipNode();-
2920 if (!parent
!parentDescription
TRUEevaluated 105 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
FALSEnever evaluated
)
0-105
2921 parent = itemPriv->opacityNode();
executed 105 times by 6 tests: parent = itemPriv->opacityNode();
Executed by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
105
2922 if (!parent
!parentDescription
TRUEevaluated 105 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
FALSEnever evaluated
)
0-105
2923 parent = itemPriv->itemNode();
executed 105 times by 6 tests: parent = itemPriv->itemNode();
Executed by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
105
2924-
2925 if (itemPriv->extra.isAllocated()
itemPriv->extra.isAllocated()Description
TRUEevaluated 105 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
FALSEnever evaluated
&& itemPriv->extra->effectRefCount
itemPriv->extr...effectRefCountDescription
TRUEevaluated 105 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
FALSEnever evaluated
) {
0-105
2926 ((itemPriv->rootNode() == nullptr) ? static_cast<void>(0) : qt_assert("itemPriv->rootNode() == nullptr", __FILE__, 3330));-
2927 QSGRootNode *root = new QSGRootNode();-
2928 itemPriv->extra->rootNode = root;-
2929 parent->reparentChildNodesTo(root);-
2930 parent->appendChildNode(root);-
2931 }
executed 105 times by 6 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
else {
105
2932 ((itemPriv->rootNode() != nullptr) ? static_cast<void>(0) : qt_assert("itemPriv->rootNode() != nullptr", __FILE__, 3336));-
2933 QSGRootNode *root = itemPriv->rootNode();-
2934 parent->removeChildNode(root);-
2935 root->reparentChildNodesTo(parent);-
2936 delete itemPriv->rootNode();-
2937 itemPriv->extra->rootNode = nullptr;-
2938 }
never executed: end of block
0
2939 }-
2940-
2941 if (dirty & QQuickItemPrivate::ChildrenUpdateMask
dirty & QQuick...drenUpdateMaskDescription
TRUEevaluated 331640 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 217024 times by 57 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • ...
) {
217024-331640
2942 int ii = 0;-
2943 bool fetchedPaintNode = false;-
2944 QList<QQuickItem *> orderedChildren = itemPriv->paintOrderChildItems();-
2945 int desiredNodesSize = orderedChildren.size() + (itemPriv->paintNode
itemPriv->paintNodeDescription
TRUEevaluated 150 times by 10 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimatedsprite
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 331490 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
? 1 : 0);
150-331490
2946-
2947-
2948-
2949-
2950-
2951-
2952-
2953 int desiredNodesProcessed = 0;-
2954-
2955-
2956-
2957-
2958 QSGNode *groupNode = itemPriv->childContainerNode();-
2959 QSGNode *currentNode = groupNode->firstChild();-
2960 int added = 0;-
2961 int removed = 0;-
2962 int replaced = 0;-
2963 QSGNode *desiredNode = nullptr;-
2964-
2965 while (currentNode
currentNodeDescription
TRUEevaluated 117227 times by 20 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimatedsprite
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 331576 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
&& (
(desiredNode =...hedPaintNode))Description
TRUEevaluated 117163 times by 19 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimatedsprite
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 64 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquicktaphandler
desiredNode = fetchNextNode(itemPriv, ii, fetchedPaintNode))
(desiredNode =...hedPaintNode))Description
TRUEevaluated 117163 times by 19 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimatedsprite
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 64 times by 7 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquicktaphandler
) {
64-331576
2966-
2967-
2968 if (currentNode != desiredNode
currentNode != desiredNodeDescription
TRUEevaluated 5346 times by 10 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquicktaphandler
FALSEevaluated 111817 times by 17 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimatedsprite
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
) {
5346-111817
2969-
2970-
2971 if (desiredNode->parent()
desiredNode->parent()Description
TRUEevaluated 570 times by 4 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickstates
FALSEevaluated 4776 times by 10 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquicktaphandler
)
570-4776
2972 desiredNode->parent()->removeChildNode(desiredNode);
executed 570 times by 4 tests: desiredNode->parent()->removeChildNode(desiredNode);
Executed by:
  • tst_multipointtoucharea_interop
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickstates
570
2973 groupNode->insertChildNodeAfter(desiredNode, currentNode);-
2974 groupNode->removeChildNode(currentNode);-
2975 replaced++;-
2976-
2977-
2978-
2979 currentNode = desiredNode;-
2980 }
executed 5346 times by 10 tests: end of block
Executed by:
  • tst_multipointtoucharea_interop
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquicktaphandler
5346
2981-
2982 currentNode = currentNode->nextSibling();-
2983 desiredNodesProcessed++;-
2984 }
executed 117163 times by 19 tests: end of block
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimatedsprite
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
117163
2985-
2986-
2987-
2988-
2989 if (desiredNodesProcessed < desiredNodesSize
desiredNodesPr...siredNodesSizeDescription
TRUEevaluated 95786 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 235854 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
95786-235854
2990 while ((
(desiredNode =...hedPaintNode))Description
TRUEevaluated 320095 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 95786 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
desiredNode = fetchNextNode(itemPriv, ii, fetchedPaintNode))
(desiredNode =...hedPaintNode))Description
TRUEevaluated 320095 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 95786 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
95786-320095
2991 if (desiredNode->parent()
desiredNode->parent()Description
TRUEnever evaluated
FALSEevaluated 320095 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
)
0-320095
2992 desiredNode->parent()->removeChildNode(desiredNode);
never executed: desiredNode->parent()->removeChildNode(desiredNode);
0
2993 groupNode->appendChildNode(desiredNode);-
2994 added++;-
2995 }
executed 320095 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
320095
2996 }
executed 95786 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
else if (currentNode
currentNodeDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickitemparticle
FALSEevaluated 235850 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
4-235850
2997-
2998-
2999-
3000 while (currentNode
currentNodeDescription
TRUEevaluated 24 times by 1 test
Evaluated by:
  • tst_qquickitemparticle
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickitemparticle
) {
4-24
3001 QSGNode *node = currentNode->nextSibling();-
3002 groupNode->removeChildNode(currentNode);-
3003 currentNode = node;-
3004 removed++;-
3005 }
executed 24 times by 1 test: end of block
Executed by:
  • tst_qquickitemparticle
24
3006 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_qquickitemparticle
4
3007 }
executed 331640 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
331640
3008-
3009 if ((
(dirty & QQuic...Private::Size)Description
TRUEevaluated 368568 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 180096 times by 64 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • tst_qquickitem
  • ...
dirty & QQuickItemPrivate::Size)
(dirty & QQuic...Private::Size)Description
TRUEevaluated 368568 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 180096 times by 64 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • tst_qquickitem
  • ...
&& itemPriv->clipNode()
itemPriv->clipNode()Description
TRUEevaluated 272 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEevaluated 368296 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
272-368568
3010 itemPriv->clipNode()->setRect(item->clipRect());-
3011 itemPriv->clipNode()->update();-
3012 }
executed 272 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
272
3013-
3014 if (dirty & (QQuickItemPrivate::OpacityValue | QQuickItemPrivate::Visible
dirty & (QQuic...ivate::Window)Description
TRUEevaluated 340747 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 207917 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
207917-340747
3015 | QQuickItemPrivate::HideReference | QQuickItemPrivate::Window)
dirty & (QQuic...ivate::Window)Description
TRUEevaluated 340747 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 207917 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
)
207917-340747
3016 {-
3017 qreal opacity = itemPriv->explicitVisible
itemPriv->explicitVisibleDescription
TRUEevaluated 336889 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 3858 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_signalspy
&& (!itemPriv->extra.isAllocated()
!itemPriv->extra.isAllocated()Description
TRUEevaluated 222852 times by 72 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • ...
FALSEevaluated 114037 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
|| itemPriv->extra->hideRefCount == 0
itemPriv->extr...eRefCount == 0Description
TRUEevaluated 106694 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
FALSEevaluated 7343 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickgridview
  • tst_qquickitemlayer
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickshadereffect
  • tst_qquickvisualdatamodel
)
3858-336889
3018 ? itemPriv->opacity() : qreal(0);-
3019-
3020 if (opacity != 1
opacity != 1Description
TRUEevaluated 24745 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • ...
FALSEevaluated 316002 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
&& !itemPriv->opacityNode()
!itemPriv->opacityNode()Description
TRUEevaluated 12476 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • ...
FALSEevaluated 12269 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquicktaphandler
  • tst_scenegraph
) {
12269-316002
3021 QSGOpacityNode *node = new QSGOpacityNode;-
3022 itemPriv->extra.value().opacityNode = node;-
3023-
3024 QSGNode *parent = itemPriv->itemNode();-
3025 QSGNode *child = itemPriv->clipNode();-
3026 if (!child
!childDescription
TRUEevaluated 12474 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • ...
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_examples
)
2-12474
3027 child = itemPriv->rootNode();
executed 12474 times by 27 tests: child = itemPriv->rootNode();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • ...
12474
3028-
3029 if (child
childDescription
TRUEevaluated 93 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitemlayer
  • tst_qquickshadereffect
FALSEevaluated 12383 times by 26 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickdraghandler
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_scenegraph
  • ...
) {
93-12383
3030 parent->removeChildNode(child);-
3031 node->appendChildNode(child);-
3032 parent->appendChildNode(node);-
3033 }
executed 93 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitemlayer
  • tst_qquickshadereffect
else {
93
3034 parent->reparentChildNodesTo(node);-
3035 parent->appendChildNode(node);-
3036 }
executed 12383 times by 26 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickdraghandler
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_scenegraph
  • ...
12383
3037 }-
3038 if (itemPriv->opacityNode()
itemPriv->opacityNode()Description
TRUEevaluated 30073 times by 27 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • ...
FALSEevaluated 310674 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
)
30073-310674
3039 itemPriv->opacityNode()->setOpacity(opacity);
executed 30073 times by 27 tests: itemPriv->opacityNode()->setOpacity(opacity);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • ...
30073
3040 }
executed 340747 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
340747
3041-
3042 if (dirty & QQuickItemPrivate::ContentUpdateMask
dirty & QQuick...tentUpdateMaskDescription
TRUEevaluated 420104 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
FALSEevaluated 128560 times by 32 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpainteditem
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickshortcut
  • tst_qquickspringanimation
  • ...
) {
128560-420104
3043-
3044 if (itemPriv->flags & QQuickItem::ItemHasContents
itemPriv->flag...temHasContentsDescription
TRUEevaluated 380225 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
FALSEevaluated 39879 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
39879-380225
3045 updatePaintNodeData.transformNode = itemPriv->itemNode();-
3046 itemPriv->paintNode = item->updatePaintNode(itemPriv->paintNode, &updatePaintNodeData);-
3047-
3048 ((itemPriv->paintNode == nullptr || itemPriv->paintNode->parent() == nullptr || itemPriv->paintNode->parent() == itemPriv->childContainerNode()) ? static_cast<void>(0) : qt_assert("itemPriv->paintNode == nullptr || itemPriv->paintNode->parent() == nullptr || itemPriv->paintNode->parent() == itemPriv->childContainerNode()",-
3049-
3050 __FILE__-
3051 ,-
3052-
3053 3454-
3054 ))-
3055-
3056 ;-
3057-
3058 if (itemPriv->paintNode
itemPriv->paintNodeDescription
TRUEevaluated 337840 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
FALSEevaluated 42385 times by 40 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklineextruder
  • tst_qquicklistview
  • tst_qquickmaskextruder
  • tst_qquickpainteditem
  • ...
&& itemPriv->paintNode->parent() == nullptr
itemPriv->pain...t() == nullptrDescription
TRUEevaluated 251660 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
FALSEevaluated 86180 times by 50 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • ...
) {
42385-337840
3059 QSGNode *before = qquickitem_before_paintNode(itemPriv);-
3060 if (before
beforeDescription
TRUEevaluated 204 times by 1 test
Evaluated by:
  • tst_examples
FALSEevaluated 251456 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
&& before->parent()
before->parent()Description
TRUEevaluated 204 times by 1 test
Evaluated by:
  • tst_examples
FALSEnever evaluated
) {
0-251456
3061 ((before->parent() == itemPriv->childContainerNode()) ? static_cast<void>(0) : qt_assert("before->parent() == itemPriv->childContainerNode()", __FILE__, 3459));-
3062 itemPriv->childContainerNode()->insertChildNodeAfter(itemPriv->paintNode, before);-
3063 }
executed 204 times by 1 test: end of block
Executed by:
  • tst_examples
else {
204
3064 itemPriv->childContainerNode()->prependChildNode(itemPriv->paintNode);-
3065 }
executed 251456 times by 71 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
251456
3066 }-
3067 }
executed 380225 times by 71 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
else if (itemPriv->paintNode
itemPriv->paintNodeDescription
TRUEnever evaluated
FALSEevaluated 39879 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
0-380225
3068 delete itemPriv->paintNode;-
3069 itemPriv->paintNode = nullptr;-
3070 }
never executed: end of block
0
3071 }
executed 420104 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
420104
3072-
3073-
3074-
3075-
3076 QList<QSGNode *> nodes;-
3077 nodes << itemPriv->itemNodeInstance-
3078 << itemPriv->opacityNode()-
3079 << itemPriv->clipNode()-
3080 << itemPriv->rootNode()-
3081 << itemPriv->paintNode;-
3082 nodes.removeAll(0);-
3083-
3084 ((nodes.constFirst() == itemPriv->itemNodeInstance) ? static_cast<void>(0) : qt_assert("nodes.constFirst() == itemPriv->itemNodeInstance", __FILE__, 3482));-
3085 for (int i=1; i<nodes.size()
i<nodes.size()Description
TRUEevaluated 473014 times by 72 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
FALSEevaluated 548664 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
; ++i) {
473014-548664
3086 QSGNode *n = nodes.at(i);-
3087-
3088 ((n->parent() == nodes.at(i-1)) ? static_cast<void>(0) : qt_assert("n->parent() == nodes.at(i-1)", __FILE__, 3486));-
3089-
3090 ((n == itemPriv->paintNode || n == itemPriv->childContainerNode() || n->childCount() == 1) ? static_cast<void>(0) : qt_assert("n == itemPriv->paintNode || n == itemPriv->childContainerNode() || n->childCount() == 1", __FILE__, 3488));-
3091 }
executed 473014 times by 72 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
473014
3092-
3093-
3094}
executed 548664 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
548664
3095-
3096bool QQuickWindowPrivate::emitError(QQuickWindow::SceneGraphError error, const QString &msg)-
3097{-
3098 QQuickWindow * const q = q_func();-
3099 static const QMetaMethod errorSignal = QMetaMethod::fromSignal(&QQuickWindow::sceneGraphError);-
3100 if (q->isSignalConnected(errorSignal)
q->isSignalCon...d(errorSignal)Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
3101 q->sceneGraphError(error, msg);-
3102 return
never executed: return true;
true;
never executed: return true;
0
3103 }-
3104 return
never executed: return false;
false;
never executed: return false;
0
3105}-
3106-
3107void QQuickWindow::maybeUpdate()-
3108{-
3109 QQuickWindowPrivate * const d = d_func();-
3110 if (d->renderControl
d->renderControlDescription
TRUEevaluated 1290 times by 2 tests
Evaluated by:
  • tst_qquickshortcut
  • tst_qquickwidget
FALSEevaluated 2039648 times by 89 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
)
1290-2039648
3111 QQuickRenderControlPrivate::get(d->renderControl)->maybeUpdate();
executed 1290 times by 2 tests: QQuickRenderControlPrivate::get(d->renderControl)->maybeUpdate();
Executed by:
  • tst_qquickshortcut
  • tst_qquickwidget
1290
3112 else if (d->windowManager
d->windowManagerDescription
TRUEevaluated 2039648 times by 89 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
FALSEnever evaluated
)
0-2039648
3113 d->windowManager->maybeUpdate(this);
executed 2039648 times by 89 tests: d->windowManager->maybeUpdate(this);
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
2039648
3114}
executed 2040938 times by 90 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
2040938
3115-
3116void QQuickWindow::cleanupSceneGraph()-
3117{-
3118 QQuickWindowPrivate * const d = d_func();-
3119-
3120 delete d->vaoHelper;-
3121 d->vaoHelper = nullptr;-
3122-
3123 if (!d->renderer
!d->rendererDescription
TRUEevaluated 5030 times by 90 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
FALSEevaluated 3498 times by 76 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
)
3498-5030
3124 return;
executed 5030 times by 90 tests: return;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • tst_qquickdroparea
  • ...
5030
3125-
3126 delete d->renderer->rootNode();-
3127 delete d->renderer;-
3128 d->renderer = nullptr;-
3129-
3130 d->runAndClearJobs(&d->beforeSynchronizingJobs);-
3131 d->runAndClearJobs(&d->afterSynchronizingJobs);-
3132 d->runAndClearJobs(&d->beforeRenderingJobs);-
3133 d->runAndClearJobs(&d->afterRenderingJobs);-
3134 d->runAndClearJobs(&d->afterSwapJobs);-
3135}
executed 3498 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
3498
3136-
3137void QQuickWindow::setTransientParent_helper(QQuickWindow *window)-
3138{-
3139 for (bool qt_category_enabled = lcTransient().isDebugEnabled(); qt_category_enabled
qt_category_enabledDescription
TRUEnever evaluated
FALSEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qquickloader
  • tst_qquickmousearea
; qt_category_enabled = false) QMessageLogger(__FILE__, 3537, __PRETTY_FUNCTION__, lcTransient().categoryName()).debug() << this << "is transient for" << window;
never executed: QMessageLogger(__FILE__, 3537, __PRETTY_FUNCTION__, lcTransient().categoryName()).debug() << this << "is transient for" << window;
0-6
3140 setTransientParent(window);-
3141 disconnect(sender(), qFlagLocation("2""windowChanged(QQuickWindow*)" "\0" __FILE__ ":" "3539"),-
3142 this, qFlagLocation("1""setTransientParent_helper(QQuickWindow*)" "\0" __FILE__ ":" "3540"));-
3143}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_qquickloader
  • tst_qquickmousearea
6
3144QOpenGLContext *QQuickWindow::openglContext() const-
3145{-
3146-
3147 const QQuickWindowPrivate * const d = d_func();-
3148 if (d->context
d->contextDescription
TRUEevaluated 1998 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickframebufferobject
  • tst_qquickgraphicsinfo
  • tst_qquickopenglinfo
  • tst_qquickshortcut
  • tst_qquickwidget
  • tst_scenegraph
FALSEnever evaluated
&& d->context->isValid()
d->context->isValid()Description
TRUEevaluated 1880 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickframebufferobject
  • tst_qquickshortcut
  • tst_qquickwidget
  • tst_scenegraph
FALSEevaluated 118 times by 4 tests
Evaluated by:
  • tst_qquickgraphicsinfo
  • tst_qquickopenglinfo
  • tst_qquickshortcut
  • tst_qquickwidget
) {
0-1998
3149 QSGRendererInterface *rif = d->context->sceneGraphContext()->rendererInterface(d->context);-
3150 if (rif
rifDescription
TRUEevaluated 1880 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickframebufferobject
  • tst_qquickshortcut
  • tst_qquickwidget
  • tst_scenegraph
FALSEnever evaluated
&& rif->graphicsApi() == QSGRendererInterface::OpenGL
rif->graphicsA...erface::OpenGLDescription
TRUEevaluated 1880 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickframebufferobject
  • tst_qquickshortcut
  • tst_qquickwidget
  • tst_scenegraph
FALSEnever evaluated
) {
0-1880
3151 auto openglRenderContext = static_cast<const QSGDefaultRenderContext *>(d->context);-
3152 return
executed 1880 times by 6 tests: return openglRenderContext->openglContext();
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickframebufferobject
  • tst_qquickshortcut
  • tst_qquickwidget
  • tst_scenegraph
openglRenderContext->openglContext();
executed 1880 times by 6 tests: return openglRenderContext->openglContext();
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickframebufferobject
  • tst_qquickshortcut
  • tst_qquickwidget
  • tst_scenegraph
1880
3153 }-
3154 }
never executed: end of block
0
3155-
3156 return
executed 118 times by 4 tests: return nullptr;
Executed by:
  • tst_qquickgraphicsinfo
  • tst_qquickopenglinfo
  • tst_qquickshortcut
  • tst_qquickwidget
nullptr;
executed 118 times by 4 tests: return nullptr;
Executed by:
  • tst_qquickgraphicsinfo
  • tst_qquickopenglinfo
  • tst_qquickshortcut
  • tst_qquickwidget
118
3157}-
3158-
3159-
3160-
3161-
3162bool QQuickWindow::isSceneGraphInitialized() const-
3163{-
3164 const QQuickWindowPrivate * const d = d_func();-
3165 return
executed 4099 times by 13 tests: return d->context != nullptr && d->context->isValid();
Executed by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickgraphicsinfo
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquickshadereffect
  • tst_qquickshape
  • tst_qquickspritesequence
  • tst_scenegraph
d->context != nullptr && d->context->isValid();
executed 4099 times by 13 tests: return d->context != nullptr && d->context->isValid();
Executed by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickgraphicsinfo
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquickshadereffect
  • tst_qquickshape
  • tst_qquickspritesequence
  • tst_scenegraph
4099
3166}-
3167void QQuickWindow::setRenderTarget(QOpenGLFramebufferObject *fbo)-
3168{-
3169 QQuickWindowPrivate * const d = d_func();-
3170 if (d->context
d->contextDescription
TRUEevaluated 124 times by 2 tests
Evaluated by:
  • tst_qquickshortcut
  • tst_qquickwidget
FALSEnever evaluated
&& QThread::currentThread() != d->context->thread()
QThread::curre...text->thread()Description
TRUEnever evaluated
FALSEevaluated 124 times by 2 tests
Evaluated by:
  • tst_qquickshortcut
  • tst_qquickwidget
) {
0-124
3171 QMessageLogger(__FILE__, 3705, __PRETTY_FUNCTION__).warning("QQuickWindow::setRenderTarget: Cannot set render target from outside the rendering thread");-
3172 return;
never executed: return;
0
3173 }-
3174-
3175 d->renderTarget = fbo;-
3176 if (fbo
fboDescription
TRUEevaluated 124 times by 2 tests
Evaluated by:
  • tst_qquickshortcut
  • tst_qquickwidget
FALSEnever evaluated
) {
0-124
3177 d->renderTargetId = fbo->handle();-
3178 d->renderTargetSize = fbo->size();-
3179 }
executed 124 times by 2 tests: end of block
Executed by:
  • tst_qquickshortcut
  • tst_qquickwidget
else {
124
3180 d->renderTargetId = 0;-
3181 d->renderTargetSize = QSize();-
3182 }
never executed: end of block
0
3183}-
3184void QQuickWindow::setRenderTarget(uint fboId, const QSize &size)-
3185{-
3186 QQuickWindowPrivate * const d = d_func();-
3187 if (d->context
d->contextDescription
TRUEnever evaluated
FALSEnever evaluated
&& QThread::currentThread() != d->context->thread()
QThread::curre...text->thread()Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
3188 QMessageLogger(__FILE__, 3746, __PRETTY_FUNCTION__).warning("QQuickWindow::setRenderThread: Cannot set render target from outside the rendering thread");-
3189 return;
never executed: return;
0
3190 }-
3191-
3192 d->renderTargetId = fboId;-
3193 d->renderTargetSize = size;-
3194-
3195-
3196 d->renderTarget = nullptr;-
3197}
never executed: end of block
0
3198-
3199-
3200-
3201-
3202-
3203uint QQuickWindow::renderTargetId() const-
3204{-
3205 const QQuickWindowPrivate * const d = d_func();-
3206 return
never executed: return d->renderTargetId;
d->renderTargetId;
never executed: return d->renderTargetId;
0
3207}-
3208-
3209-
3210-
3211-
3212QSize QQuickWindow::renderTargetSize() const-
3213{-
3214 const QQuickWindowPrivate * const d = d_func();-
3215 return
never executed: return d->renderTargetSize;
d->renderTargetSize;
never executed: return d->renderTargetSize;
0
3216}-
3217QOpenGLFramebufferObject *QQuickWindow::renderTarget() const-
3218{-
3219 const QQuickWindowPrivate * const d = d_func();-
3220 return
never executed: return d->renderTarget;
d->renderTarget;
never executed: return d->renderTarget;
0
3221}-
3222QImage QQuickWindow::grabWindow()-
3223{-
3224 QQuickWindowPrivate * const d = d_func();-
3225-
3226 if (!isVisible()
!isVisible()Description
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qquickborderimage
  • tst_qquickimage
FALSEevaluated 564 times by 12 tests
Evaluated by:
  • tst_drawingmodes
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickframebufferobject
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickrectangle
  • tst_qquickshape
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_rendernode
  • tst_scenegraph
&& !d->renderControl
!d->renderControlDescription
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qquickborderimage
  • tst_qquickimage
FALSEnever evaluated
) {
0-564
3227 if (d->windowManager
d->windowManagerDescription
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qquickborderimage
  • tst_qquickimage
FALSEnever evaluated
&& (
(d->windowMana...WithoutExpose)Description
TRUEnever evaluated
FALSEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qquickborderimage
  • tst_qquickimage
d->windowManager->flags() & QSGRenderLoop::SupportsGrabWithoutExpose)
(d->windowMana...WithoutExpose)Description
TRUEnever evaluated
FALSEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qquickborderimage
  • tst_qquickimage
)
0-6
3228 return
never executed: return d->windowManager->grab(this);
d->windowManager->grab(this);
never executed: return d->windowManager->grab(this);
0
3229 }
executed 6 times by 2 tests: end of block
Executed by:
  • tst_qquickborderimage
  • tst_qquickimage
6
3230-
3231-
3232 if (!isVisible()
!isVisible()Description
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qquickborderimage
  • tst_qquickimage
FALSEevaluated 564 times by 12 tests
Evaluated by:
  • tst_drawingmodes
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickframebufferobject
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickrectangle
  • tst_qquickshape
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_rendernode
  • tst_scenegraph
&& !d->renderControl
!d->renderControlDescription
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qquickborderimage
  • tst_qquickimage
FALSEnever evaluated
) {
0-564
3233 auto openglRenderContext = static_cast<QSGDefaultRenderContext *>(d->context);-
3234 if (!openglRenderContext->openglContext()
!openglRenderC...penglContext()Description
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qquickborderimage
  • tst_qquickimage
FALSEnever evaluated
) {
0-6
3235 if (!handle()
!handle()Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickborderimage
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickimage
|| !size().isValid()
!size().isValid()Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickimage
) {
0-4
3236 QMessageLogger(__FILE__, 3822, __PRETTY_FUNCTION__).warning("QQuickWindow::grabWindow: window must be created and have a valid size");-
3237 return
executed 4 times by 1 test: return QImage();
Executed by:
  • tst_qquickborderimage
QImage();
executed 4 times by 1 test: return QImage();
Executed by:
  • tst_qquickborderimage
4
3238 }-
3239-
3240 QOpenGLContext context;-
3241 context.setFormat(requestedFormat());-
3242 context.setShareContext(qt_gl_global_share_context());-
3243 context.create();-
3244 context.makeCurrent(this);-
3245 d->context->initialize(&context);-
3246-
3247 d->polishItems();-
3248 d->syncSceneGraph();-
3249 d->renderSceneGraph(size());-
3250-
3251 bool alpha = format().alphaBufferSize() > 0
format().alphaBufferSize() > 0Description
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickimage
&& color().alpha() < 255
color().alpha() < 255Description
TRUEnever evaluated
FALSEnever evaluated
;
0-2
3252 QImage image = qt_gl_read_framebuffer(size() * effectiveDevicePixelRatio(), alpha, alpha);-
3253 image.setDevicePixelRatio(effectiveDevicePixelRatio());-
3254 d->cleanupNodesOnShutdown();-
3255 d->context->invalidate();-
3256 context.doneCurrent();-
3257-
3258 return
executed 2 times by 1 test: return image;
Executed by:
  • tst_qquickimage
image;
executed 2 times by 1 test: return image;
Executed by:
  • tst_qquickimage
2
3259 }-
3260 }
never executed: end of block
0
3261-
3262 if (d->renderControl
d->renderControlDescription
TRUEnever evaluated
FALSEevaluated 564 times by 12 tests
Evaluated by:
  • tst_drawingmodes
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickframebufferobject
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickrectangle
  • tst_qquickshape
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_rendernode
  • tst_scenegraph
)
0-564
3263 return
never executed: return d->renderControl->grab();
d->renderControl->grab();
never executed: return d->renderControl->grab();
0
3264 else if (d->windowManager
d->windowManagerDescription
TRUEevaluated 564 times by 12 tests
Evaluated by:
  • tst_drawingmodes
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickframebufferobject
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickrectangle
  • tst_qquickshape
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_rendernode
  • tst_scenegraph
FALSEnever evaluated
)
0-564
3265 return
executed 564 times by 12 tests: return d->windowManager->grab(this);
Executed by:
  • tst_drawingmodes
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickframebufferobject
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickrectangle
  • tst_qquickshape
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_rendernode
  • tst_scenegraph
d->windowManager->grab(this);
executed 564 times by 12 tests: return d->windowManager->grab(this);
Executed by:
  • tst_drawingmodes
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickframebufferobject
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickrectangle
  • tst_qquickshape
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_rendernode
  • tst_scenegraph
564
3266 return
never executed: return QImage();
QImage();
never executed: return QImage();
0
3267}-
3268QQmlIncubationController *QQuickWindow::incubationController() const-
3269{-
3270 const QQuickWindowPrivate * const d = d_func();-
3271-
3272 if (!d->windowManager
!d->windowManagerDescription
TRUEevaluated 108 times by 2 tests
Evaluated by:
  • tst_qquickshortcut
  • tst_qquickwidget
FALSEevaluated 3314 times by 84 tests
Evaluated by:
  • tst_drawingmodes
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickdynamicpropertyanimation
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
)
108-3314
3273 return
executed 108 times by 2 tests: return nullptr;
Executed by:
  • tst_qquickshortcut
  • tst_qquickwidget
nullptr;
executed 108 times by 2 tests: return nullptr;
Executed by:
  • tst_qquickshortcut
  • tst_qquickwidget
108
3274-
3275 if (!d->incubationController
!d->incubationControllerDescription
TRUEevaluated 3308 times by 84 tests
Evaluated by:
  • tst_drawingmodes
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickdynamicpropertyanimation
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickview
)
6-3308
3276 d->incubationController = new QQuickWindowIncubationController(d->windowManager);
executed 3308 times by 84 tests: d->incubationController = new QQuickWindowIncubationController(d->windowManager);
Executed by:
  • tst_drawingmodes
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickdynamicpropertyanimation
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
3308
3277 return
executed 3314 times by 84 tests: return d->incubationController;
Executed by:
  • tst_drawingmodes
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickdynamicpropertyanimation
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
d->incubationController;
executed 3314 times by 84 tests: return d->incubationController;
Executed by:
  • tst_drawingmodes
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickdynamicpropertyanimation
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
3314
3278}-
3279void QQuickWindow::setClearBeforeRendering(bool enabled)-
3280{-
3281 QQuickWindowPrivate * const d = d_func();-
3282 d->clearBeforeRendering = enabled;-
3283}
never executed: end of block
0
3284-
3285-
3286-
3287-
3288-
3289-
3290-
3291bool QQuickWindow::clearBeforeRendering() const-
3292{-
3293 const QQuickWindowPrivate * const d = d_func();-
3294 return
never executed: return d->clearBeforeRendering;
d->clearBeforeRendering;
never executed: return d->clearBeforeRendering;
0
3295}-
3296-
3297-
3298-
3299-
3300-
3301QSGTexture *QQuickWindow::createTextureFromImage(const QImage &image) const-
3302{-
3303 return
executed 30 times by 2 tests: return createTextureFromImage(image, nullptr);
Executed by:
  • tst_qquickanimatedsprite
  • tst_qquickspritesequence
createTextureFromImage(image, nullptr);
executed 30 times by 2 tests: return createTextureFromImage(image, nullptr);
Executed by:
  • tst_qquickanimatedsprite
  • tst_qquickspritesequence
30
3304}-
3305QSGTexture *QQuickWindow::createTextureFromImage(const QImage &image, CreateTextureOptions options) const-
3306{-
3307 const QQuickWindowPrivate * const d = d_func();-
3308 if (!isSceneGraphInitialized()
!isSceneGraphInitialized()Description
TRUEnever evaluated
FALSEevaluated 397 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquickshadereffect
  • tst_qquickspritesequence
  • tst_scenegraph
)
0-397
3309 return
never executed: return nullptr;
nullptr;
never executed: return nullptr;
0
3310 uint flags = 0;-
3311 if (options & TextureCanUseAtlas
options & TextureCanUseAtlasDescription
TRUEevaluated 367 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquickshadereffect
  • tst_scenegraph
FALSEevaluated 30 times by 2 tests
Evaluated by:
  • tst_qquickanimatedsprite
  • tst_qquickspritesequence
) flags |= QSGRenderContext::CreateTexture_Atlas;
executed 367 times by 8 tests: flags |= QSGRenderContext::CreateTexture_Atlas;
Executed by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquickshadereffect
  • tst_scenegraph
30-367
3312 if (options & TextureHasMipmaps
options & TextureHasMipmapsDescription
TRUEnever evaluated
FALSEevaluated 397 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquickshadereffect
  • tst_qquickspritesequence
  • tst_scenegraph
) flags |= QSGRenderContext::CreateTexture_Mipmap;
never executed: flags |= QSGRenderContext::CreateTexture_Mipmap;
0-397
3313 if (!(options & TextureIsOpaque)
!(options & TextureIsOpaque)Description
TRUEevaluated 397 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquickshadereffect
  • tst_qquickspritesequence
  • tst_scenegraph
FALSEnever evaluated
) flags |= QSGRenderContext::CreateTexture_Alpha;
executed 397 times by 10 tests: flags |= QSGRenderContext::CreateTexture_Alpha;
Executed by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquickshadereffect
  • tst_qquickspritesequence
  • tst_scenegraph
0-397
3314 return
executed 397 times by 10 tests: return d->context->createTexture(image, flags);
Executed by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquickshadereffect
  • tst_qquickspritesequence
  • tst_scenegraph
d->context->createTexture(image, flags);
executed 397 times by 10 tests: return d->context->createTexture(image, flags);
Executed by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickimage
  • tst_qquickitemparticle
  • tst_qquickshadereffect
  • tst_qquickspritesequence
  • tst_scenegraph
397
3315}-
3316QSGTexture *QQuickWindow::createTextureFromId(uint id, const QSize &size, CreateTextureOptions options) const-
3317{-
3318-
3319 if (openglContext()
openglContext()Description
TRUEevaluated 20 times by 1 test
Evaluated by:
  • tst_qquickframebufferobject
FALSEnever evaluated
) {
0-20
3320 QSGPlainTexture *texture = new QSGPlainTexture();-
3321 texture->setTextureId(id);-
3322 texture->setHasAlphaChannel(options & TextureHasAlphaChannel);-
3323 texture->setOwnsTexture(options & TextureOwnsGLTexture);-
3324 texture->setTextureSize(size);-
3325 return
executed 20 times by 1 test: return texture;
Executed by:
  • tst_qquickframebufferobject
texture;
executed 20 times by 1 test: return texture;
Executed by:
  • tst_qquickframebufferobject
20
3326 }-
3327-
3328-
3329-
3330-
3331-
3332 return
never executed: return nullptr;
nullptr;
never executed: return nullptr;
0
3333}-
3334void QQuickWindow::setColor(const QColor &color)-
3335{-
3336 QQuickWindowPrivate * const d = d_func();-
3337 if (color == d->clearColor
color == d->clearColorDescription
TRUEnever evaluated
FALSEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qqmlcomponent
  • tst_qquickloader
)
0-8
3338 return;
never executed: return;
0
3339-
3340 if (color.alpha() != d->clearColor.alpha()
color.alpha() ...rColor.alpha()Description
TRUEnever evaluated
FALSEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qqmlcomponent
  • tst_qquickloader
) {
0-8
3341 QSurfaceFormat fmt = requestedFormat();-
3342 if (color.alpha() < 255
color.alpha() < 255Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3343 fmt.setAlphaBufferSize(8);
never executed: fmt.setAlphaBufferSize(8);
0
3344 else-
3345 fmt.setAlphaBufferSize(-1);
never executed: fmt.setAlphaBufferSize(-1);
0
3346 setFormat(fmt);-
3347 }
never executed: end of block
0
3348 d->clearColor = color;-
3349 colorChanged(color);-
3350 update();-
3351}
executed 8 times by 2 tests: end of block
Executed by:
  • tst_qqmlcomponent
  • tst_qquickloader
8
3352-
3353QColor QQuickWindow::color() const-
3354{-
3355 return
never executed: return d_func()->clearColor;
d_func()->clearColor;
never executed: return d_func()->clearColor;
0
3356}-
3357-
3358-
3359-
3360-
3361-
3362-
3363-
3364bool QQuickWindow::hasDefaultAlphaBuffer()-
3365{-
3366 return
executed 8480 times by 90 tests: return QQuickWindowPrivate::defaultAlphaBuffer;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • ...
QQuickWindowPrivate::defaultAlphaBuffer;
executed 8480 times by 90 tests: return QQuickWindowPrivate::defaultAlphaBuffer;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_qqmlcomponent
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickapplication
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdrag
  • tst_qquickdraghandler
  • ...
8480
3367}-
3368void QQuickWindow::setDefaultAlphaBuffer(bool useAlpha)-
3369{-
3370 QQuickWindowPrivate::defaultAlphaBuffer = useAlpha;-
3371}
never executed: end of block
0
3372void QQuickWindow::resetOpenGLState()-
3373{-
3374 if (!openglContext()
!openglContext()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3375 return;
never executed: return;
0
3376-
3377 QQuickWindowPrivate * const d = d_func();-
3378-
3379 QOpenGLContext *ctx = openglContext();-
3380 QOpenGLFunctions *gl = ctx->functions();-
3381-
3382 gl->glBindBuffer(0x8892, 0);-
3383 gl->glBindBuffer(0x8893, 0);-
3384-
3385 if (!d->vaoHelper
!d->vaoHelperDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
3386 d->vaoHelper = new QOpenGLVertexArrayObjectHelper(ctx);
never executed: d->vaoHelper = new QOpenGLVertexArrayObjectHelper(ctx);
0
3387 if (d->vaoHelper->isValid()
d->vaoHelper->isValid()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3388 d->vaoHelper->glBindVertexArray(0);
never executed: d->vaoHelper->glBindVertexArray(0);
0
3389-
3390 if (ctx->isOpenGLES()
ctx->isOpenGLES()Description
TRUEnever evaluated
FALSEnever evaluated
|| (
(gl->openGLFea...ctionPipeline)Description
TRUEnever evaluated
FALSEnever evaluated
gl->openGLFeatures() & QOpenGLFunctions::FixedFunctionPipeline)
(gl->openGLFea...ctionPipeline)Description
TRUEnever evaluated
FALSEnever evaluated
) {
0
3391 int maxAttribs;-
3392 gl->glGetIntegerv(0x8869, &maxAttribs);-
3393 for (int i=0; i<maxAttribs
i<maxAttribsDescription
TRUEnever evaluated
FALSEnever evaluated
; ++i) {
0
3394 gl->glVertexAttribPointer(i, 4, -
3395 0x1406-
3396 , -
3397 0-
3398 , 0, nullptr);-
3399 gl->glDisableVertexAttribArray(i);-
3400 }
never executed: end of block
0
3401 }
never executed: end of block
0
3402-
3403 gl->glActiveTexture(-
3404 0x84C0-
3405 );-
3406 gl->glBindTexture(-
3407 0x0DE1-
3408 , 0);-
3409-
3410 gl->glDisable(-
3411 0x0B71-
3412 );-
3413 gl->glDisable(-
3414 0x0B90-
3415 );-
3416 gl->glDisable(-
3417 0x0C11-
3418 );-
3419-
3420 gl->glColorMask(true, true, true, true);-
3421 gl->glClearColor(0, 0, 0, 0);-
3422-
3423 gl->glDepthMask(true);-
3424 gl->glDepthFunc(-
3425 0x0201-
3426 );-
3427 gl->glClearDepthf(1);-
3428-
3429 gl->glStencilMask(0xff);-
3430 gl->glStencilOp(-
3431 0x1E00-
3432 , -
3433 0x1E00-
3434 , -
3435 0x1E00-
3436 );-
3437 gl->glStencilFunc(-
3438 0x0207-
3439 , 0, 0xff);-
3440-
3441 gl->glDisable(-
3442 0x0BE2-
3443 );-
3444 gl->glBlendFunc(-
3445 1-
3446 , -
3447 0-
3448 );-
3449-
3450 gl->glUseProgram(0);-
3451-
3452 QOpenGLFramebufferObject::bindDefault();-
3453}
never executed: end of block
0
3454void QQuickWindow::scheduleRenderJob(QRunnable *job, RenderStage stage)-
3455{-
3456 QQuickWindowPrivate * const d = d_func();-
3457-
3458 d->renderJobMutex.lock();-
3459 if (stage == BeforeSynchronizingStage
stage == Befor...hronizingStageDescription
TRUEnever evaluated
FALSEevaluated 95 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitemlayer
  • tst_qquickshadereffect
) {
0-95
3460 d->beforeSynchronizingJobs << job;-
3461 }
never executed: end of block
else if (stage == AfterSynchronizingStage
stage == After...hronizingStageDescription
TRUEevaluated 95 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitemlayer
  • tst_qquickshadereffect
FALSEnever evaluated
) {
0-95
3462 d->afterSynchronizingJobs << job;-
3463 }
executed 95 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitemlayer
  • tst_qquickshadereffect
else if (stage == BeforeRenderingStage
stage == BeforeRenderingStageDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0-95
3464 d->beforeRenderingJobs << job;-
3465 }
never executed: end of block
else if (stage == AfterRenderingStage
stage == AfterRenderingStageDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
3466 d->afterRenderingJobs << job;-
3467 }
never executed: end of block
else if (stage == AfterSwapStage
stage == AfterSwapStageDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
3468 d->afterSwapJobs << job;-
3469 }
never executed: end of block
else if (stage == NoStage
stage == NoStageDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
3470 if (isExposed()
isExposed()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3471 d->windowManager->postJob(this, job);
never executed: d->windowManager->postJob(this, job);
0
3472 else-
3473 delete job;
never executed: delete job;
0
3474 }-
3475 d->renderJobMutex.unlock();-
3476}
executed 95 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitemlayer
  • tst_qquickshadereffect
95
3477-
3478void QQuickWindowPrivate::runAndClearJobs(QList<QRunnable *> *jobs)-
3479{-
3480 renderJobMutex.lock();-
3481 QList<QRunnable *> jobList = *jobs;-
3482 jobs->clear();-
3483 renderJobMutex.unlock();-
3484-
3485 for (QRunnable *r : qAsConst(jobList)) {-
3486 r->run();-
3487 delete r;-
3488 }
executed 95 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitemlayer
  • tst_qquickshadereffect
95
3489}
executed 269061 times by 76 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
269061
3490-
3491void QQuickWindow::runJobsAfterSwap()-
3492{-
3493 QQuickWindowPrivate * const d = d_func();-
3494 d->runAndClearJobs(&d->afterSwapJobs);-
3495}
executed 49087 times by 75 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
49087
3496qreal QQuickWindow::effectiveDevicePixelRatio() const-
3497{-
3498 QWindow *w = QQuickRenderControl::renderWindowFor(const_cast<QQuickWindow *>(this));-
3499 return
executed 54939 times by 76 tests: return w ? w->devicePixelRatio() : devicePixelRatio();
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
w ? w->devicePixelRatio() : devicePixelRatio();
executed 54939 times by 76 tests: return w ? w->devicePixelRatio() : devicePixelRatio();
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickframebufferobject
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
54939
3500}-
3501QSGRendererInterface *QQuickWindow::rendererInterface() const-
3502{-
3503 const QQuickWindowPrivate * const d = d_func();-
3504-
3505-
3506-
3507-
3508-
3509-
3510-
3511 return
executed 1745 times by 9 tests: return d->context->sceneGraphContext()->rendererInterface(d->context);
Executed by:
  • tst_examples
  • tst_qquickborderimage
  • tst_qquickgraphicsinfo
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickshape
  • tst_qquickshortcut
  • tst_qquickwidget
  • tst_scenegraph
d->context->sceneGraphContext()->rendererInterface(d->context);
executed 1745 times by 9 tests: return d->context->sceneGraphContext()->rendererInterface(d->context);
Executed by:
  • tst_examples
  • tst_qquickborderimage
  • tst_qquickgraphicsinfo
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickshape
  • tst_qquickshortcut
  • tst_qquickwidget
  • tst_scenegraph
1745
3512}-
3513void QQuickWindow::setSceneGraphBackend(QSGRendererInterface::GraphicsApi api)-
3514{-
3515 switch (api) {-
3516 case
executed 2 times by 1 test: case QSGRendererInterface::Software:
Executed by:
  • tst_qquickshape
QSGRendererInterface::Software:
executed 2 times by 1 test: case QSGRendererInterface::Software:
Executed by:
  • tst_qquickshape
2
3517 setSceneGraphBackend(([]() noexcept -> QString { enum { Size = sizeof(u"" "software")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "software" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return
executed 2 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qquickshape
qstring_literal_temp;
executed 2 times by 1 test: return qstring_literal_temp;
Executed by:
  • tst_qquickshape
}()));
2
3518 break;
executed 2 times by 1 test: break;
Executed by:
  • tst_qquickshape
2
3519 case
never executed: case QSGRendererInterface::Direct3D12:
QSGRendererInterface::Direct3D12:
never executed: case QSGRendererInterface::Direct3D12:
0
3520 setSceneGraphBackend(([]() noexcept -> QString { enum { Size = sizeof(u"" "d3d12")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "d3d12" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return
never executed: return qstring_literal_temp;
qstring_literal_temp;
never executed: return qstring_literal_temp;
}()));
0
3521 break;
never executed: break;
0
3522 default
never executed: default:
:
never executed: default:
0
3523 break;
never executed: break;
0
3524 }-
3525}-
3526void QQuickWindow::setSceneGraphBackend(const QString &backend)-
3527{-
3528 QSGContext::setBackend(backend);-
3529}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickshape
2
3530QString QQuickWindow::sceneGraphBackend()-
3531{-
3532 return
executed 68 times by 34 tests: return QSGContext::backend();
Executed by:
  • tst_examples
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickellipseextruder
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • tst_qquickitemparticle
  • tst_qquicklineextruder
  • tst_qquickmaskextruder
  • tst_qquickparticlegroup
  • tst_qquickparticlesystem
  • tst_qquickpixmapcache
  • tst_qquickpointattractor
  • tst_qquickpointdirection
  • tst_qquickrectangleextruder
  • tst_qquickshadereffect
  • tst_qquickspritegoal
  • ...
QSGContext::backend();
executed 68 times by 34 tests: return QSGContext::backend();
Executed by:
  • tst_examples
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickellipseextruder
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • tst_qquickitemparticle
  • tst_qquicklineextruder
  • tst_qquickmaskextruder
  • tst_qquickparticlegroup
  • tst_qquickparticlesystem
  • tst_qquickpixmapcache
  • tst_qquickpointattractor
  • tst_qquickpointdirection
  • tst_qquickrectangleextruder
  • tst_qquickshadereffect
  • tst_qquickspritegoal
  • ...
68
3533}-
3534QSGRectangleNode *QQuickWindow::createRectangleNode() const-
3535{-
3536 const QQuickWindowPrivate * const d = d_func();-
3537 return
never executed: return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createRectangleNode() : nullptr;
isSceneGraphInitialized() ? d->context->sceneGraphContext()->createRectangleNode() : nullptr;
never executed: return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createRectangleNode() : nullptr;
0
3538}-
3539QSGImageNode *QQuickWindow::createImageNode() const-
3540{-
3541 const QQuickWindowPrivate * const d = d_func();-
3542 return
never executed: return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createImageNode() : nullptr;
isSceneGraphInitialized() ? d->context->sceneGraphContext()->createImageNode() : nullptr;
never executed: return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createImageNode() : nullptr;
0
3543}-
3544-
3545-
3546-
3547-
3548-
3549-
3550QSGNinePatchNode *QQuickWindow::createNinePatchNode() const-
3551{-
3552 const QQuickWindowPrivate * const d = d_func();-
3553 return
never executed: return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createNinePatchNode() : nullptr;
isSceneGraphInitialized() ? d->context->sceneGraphContext()->createNinePatchNode() : nullptr;
never executed: return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createNinePatchNode() : nullptr;
0
3554}-
3555QQuickWindow::TextRenderType QQuickWindow::textRenderType()-
3556{-
3557 return
executed 266810 times by 41 tests: return QQuickWindowPrivate::textRenderType;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlbinding
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • ...
QQuickWindowPrivate::textRenderType;
executed 266810 times by 41 tests: return QQuickWindowPrivate::textRenderType;
Executed by:
  • tst_bindingdependencyapi
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlbinding
  • tst_qqmldebugjs
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlmetaobject
  • tst_qqmlprofilerservice
  • tst_qqmlproperty
  • tst_qqmlpropertymap
  • tst_qqmlsqldatabase
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • ...
266810
3558}-
3559void QQuickWindow::setTextRenderType(QQuickWindow::TextRenderType renderType)-
3560{-
3561 QQuickWindowPrivate::textRenderType = renderType;-
3562}
executed 14 times by 2 tests: end of block
Executed by:
  • tst_qqmldebugjs
  • tst_qqmlprofilerservice
14
3563-
3564-
3565QDebug operator<<(QDebug debug, const QQuickWindow *win)-
3566{-
3567 QDebugStateSaver saver(debug);-
3568 debug.nospace();-
3569 if (!win
!winDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
3570 debug << "QQuickWindow(0)";-
3571 return
never executed: return debug;
debug;
never executed: return debug;
0
3572 }-
3573-
3574 debug << win->metaObject()->className() << '(' << static_cast<const void *>(win);-
3575 if (win->isActive()
win->isActive()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3576 debug << " active";
never executed: debug << " active";
0
3577 if (win->isExposed()
win->isExposed()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3578 debug << " exposed";
never executed: debug << " exposed";
0
3579 debug << ", visibility=" << win->visibility() << ", flags=" << win->flags();-
3580 if (!win->title().isEmpty()
!win->title().isEmpty()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3581 debug << ", title=" << win->title();
never executed: debug << ", title=" << win->title();
0
3582 if (!win->objectName().isEmpty()
!win->objectName().isEmpty()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3583 debug << ", name=" << win->objectName();
never executed: debug << ", name=" << win->objectName();
0
3584 if (win->parent()
win->parent()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3585 debug << ", parent=" << static_cast<const void *>(win->parent());
never executed: debug << ", parent=" << static_cast<const void *>(win->parent());
0
3586 if (win->transientParent()
win->transientParent()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
3587 debug << ", transientParent=" << static_cast<const void *>(win->transientParent());
never executed: debug << ", transientParent=" << static_cast<const void *>(win->transientParent());
0
3588 debug << ", geometry=";-
3589 QtDebugUtils::formatQRect(debug, win->geometry());-
3590 debug << ')';-
3591 return
never executed: return debug;
debug;
never executed: return debug;
0
3592}-
3593-
3594-
3595-
3596-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0