OpenCoverage

qsgnode.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/coreapi/qsgnode.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7static const bool qsg_leak_check = !qEnvironmentVariableIsEmpty("QML_LEAK_CHECK");-
8static int qt_node_count = 0;-
9-
10static void qt_print_node_count()-
11{-
12 QMessageLogger(__FILE__, 56, __PRETTY_FUNCTION__).debug("Number of leaked nodes: %i", qt_node_count);-
13 qt_node_count = -1;-
14}
never executed: end of block
0
15QSGNode::QSGNode()-
16 : m_nodeFlags(OwnedByParent)-
17 , m_dirtyState(nullptr)-
18{-
19 init();-
20}
executed 1133 times by 5 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_nodestest
  • tst_qquickitemlayer
  • tst_scenegraph
1133
21-
22-
23-
24-
25-
26-
27QSGNode::QSGNode(NodeType type)-
28 : m_parent(nullptr)-
29 , m_type(type)-
30 , m_firstChild(nullptr)-
31 , m_lastChild(nullptr)-
32 , m_nextSibling(nullptr)-
33 , m_previousSibling(nullptr)-
34 , m_subtreeRenderableCount(type == GeometryNodeType || type == RenderNodeType ? 1 : 0)-
35 , m_nodeFlags(OwnedByParent)-
36 , m_dirtyState(nullptr)-
37{-
38 init();-
39}
executed 1043454 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
1043454
40-
41-
42-
43-
44-
45-
46QSGNode::QSGNode(QSGNodePrivate &dd, NodeType type)-
47 : m_parent(nullptr)-
48 , m_type(type)-
49 , m_firstChild(nullptr)-
50 , m_lastChild(nullptr)-
51 , m_nextSibling(nullptr)-
52 , m_previousSibling(nullptr)-
53 , m_subtreeRenderableCount(type == GeometryNodeType || type == RenderNodeType ? 1 : 0)-
54 , m_nodeFlags(OwnedByParent)-
55 , m_dirtyState(nullptr)-
56 , d_ptr(&dd)-
57{-
58 init();-
59}
executed 18 times by 2 tests: end of block
Executed by:
  • tst_nodestest
  • tst_qquickframebufferobject
18
60-
61-
62-
63-
64void QSGNode::init()-
65{-
66-
67 if (qsg_leak_check
qsg_leak_checkDescription
TRUEnever evaluated
FALSEevaluated 1044605 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
) {
0-1044605
68 ++qt_node_count;-
69 static bool atexit_registered = false;-
70 if (!atexit_registered
!atexit_registeredDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
71 atexit(qt_print_node_count);-
72 atexit_registered = true;-
73 }
never executed: end of block
0
74 }
never executed: end of block
0
75-
76-
77-
78 if (d_ptr.isNull()
d_ptr.isNull()Description
TRUEevaluated 1044587 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
FALSEevaluated 18 times by 2 tests
Evaluated by:
  • tst_nodestest
  • tst_qquickframebufferobject
)
18-1044587
79 d_ptr.reset(new QSGNodePrivate());
executed 1044587 times by 77 tests: d_ptr.reset(new QSGNodePrivate());
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
1044587
80-
81}
executed 1044605 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
1044605
82-
83-
84-
85-
86-
87-
88-
89QSGNode::~QSGNode()-
90{-
91-
92 if (qsg_leak_check
qsg_leak_checkDescription
TRUEnever evaluated
FALSEevaluated 1044601 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
) {
0-1044601
93 --qt_node_count;-
94 if (qt_node_count < 0
qt_node_count < 0Description
TRUEnever evaluated
FALSEnever evaluated
)
0
95 QMessageLogger(__FILE__, 326, __PRETTY_FUNCTION__).debug("Node destroyed after qt_print_node_count() was called.");
never executed: QMessageLogger(__FILE__, 326, __PRETTY_FUNCTION__).debug("Node destroyed after qt_print_node_count() was called.");
0
96 }
never executed: end of block
0
97-
98 destroy();-
99}
executed 1044601 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
1044601
100bool QSGNode::isSubtreeBlocked() const-
101{-
102 return
executed 11395200 times by 76 tests: return false;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
false;
executed 11395200 times by 76 tests: return false;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
11395200
103}-
104void QSGNode::destroy()-
105{-
106 if (m_parent
m_parentDescription
TRUEevaluated 100391 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
FALSEevaluated 947823 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
) {
100391-947823
107 m_parent->removeChildNode(this);-
108 ((m_parent == nullptr) ? static_cast<void>(0) : qt_assert("m_parent == nullptr", __FILE__, 384));-
109 }
executed 100391 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
100391
110 while (m_firstChild
m_firstChildDescription
TRUEevaluated 939819 times by 75 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
FALSEevaluated 1048214 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
) {
939819-1048214
111 QSGNode *child = m_firstChild;-
112 removeChildNode(child);-
113 ((child->m_parent == nullptr) ? static_cast<void>(0) : qt_assert("child->m_parent == nullptr", __FILE__, 389));-
114 if (child->flags() & OwnedByParent
child->flags() & OwnedByParentDescription
TRUEevaluated 642251 times by 73 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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 297568 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • 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
  • ...
)
297568-642251
115 delete child;
executed 642251 times by 73 tests: delete child;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
642251
116 }
executed 939819 times by 75 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
939819
117-
118 ((m_firstChild == nullptr && m_lastChild == nullptr) ? static_cast<void>(0) : qt_assert("m_firstChild == nullptr && m_lastChild == nullptr", __FILE__, 394));-
119}
executed 1048214 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
1048214
120void QSGNode::prependChildNode(QSGNode *node)-
121{-
122-
123 ((!node->m_parent) ? static_cast<void>(0) : qt_assert_x("QSGNode::prependChildNode", "QSGNode already has a parent", __FILE__, 408));-
124-
125-
126 if (node->type() == QSGNode::GeometryNodeType
node->type() =...ometryNodeTypeDescription
TRUEevaluated 77144 times by 70 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 174604 times by 27 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshape
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_rendernode
  • ...
) {
77144-174604
127 QSGGeometryNode *g = static_cast<QSGGeometryNode *>(node);-
128 ((g->material()) ? static_cast<void>(0) : qt_assert_x("QSGNode::prependChildNode", "QSGGeometryNode is missing material", __FILE__, 413));-
129 ((g->geometry()) ? static_cast<void>(0) : qt_assert_x("QSGNode::prependChildNode", "QSGGeometryNode is missing geometry", __FILE__, 414));-
130 }
executed 77144 times by 70 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
  • ...
77144
131-
132-
133 if (m_firstChild
m_firstChildDescription
TRUEevaluated 63528 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 188220 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
  • ...
)
63528-188220
134 m_firstChild->m_previousSibling = node;
executed 63528 times by 61 tests: m_firstChild->m_previousSibling = node;
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
  • ...
63528
135 else-
136 m_lastChild = node;
executed 188220 times by 69 tests: m_lastChild = node;
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
  • ...
188220
137 node->m_nextSibling = m_firstChild;-
138 m_firstChild = node;-
139 node->m_parent = this;-
140-
141 node->markDirty(DirtyNodeAdded);-
142}
executed 251748 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
  • ...
251748
143void QSGNode::appendChildNode(QSGNode *node)-
144{-
145-
146 ((!node->m_parent) ? static_cast<void>(0) : qt_assert_x("QSGNode::appendChildNode", "QSGNode already has a parent", __FILE__, 439));-
147-
148-
149 if (node->type() == QSGNode::GeometryNodeType
node->type() =...ometryNodeTypeDescription
TRUEevaluated 452087 times by 34 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_nodestest
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickfriction
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklineextruder
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpositioners
  • tst_qquickrectangleextruder
  • tst_qquickrepeater
  • ...
FALSEevaluated 351635 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
) {
351635-452087
150 QSGGeometryNode *g = static_cast<QSGGeometryNode *>(node);-
151 ((g->material()) ? static_cast<void>(0) : qt_assert_x("QSGNode::appendChildNode", "QSGGeometryNode is missing material", __FILE__, 444));-
152 ((g->geometry()) ? static_cast<void>(0) : qt_assert_x("QSGNode::appendChildNode", "QSGGeometryNode is missing geometry", __FILE__, 445));-
153 }
executed 452087 times by 34 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_nodestest
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickfriction
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklineextruder
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpositioners
  • tst_qquickrectangleextruder
  • tst_qquickrepeater
  • ...
452087
154-
155-
156 if (m_lastChild
m_lastChildDescription
TRUEevaluated 438918 times by 58 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • ...
FALSEevaluated 364804 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
)
364804-438918
157 m_lastChild->m_nextSibling = node;
executed 438918 times by 58 tests: m_lastChild->m_nextSibling = node;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • ...
438918
158 else-
159 m_firstChild = node;
executed 364804 times by 77 tests: m_firstChild = node;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
364804
160 node->m_previousSibling = m_lastChild;-
161 m_lastChild = node;-
162 node->m_parent = this;-
163-
164 node->markDirty(DirtyNodeAdded);-
165}
executed 803722 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
803722
166void QSGNode::insertChildNodeBefore(QSGNode *node, QSGNode *before)-
167{-
168-
169 ((!node->m_parent) ? static_cast<void>(0) : qt_assert_x("QSGNode::insertChildNodeBefore", "QSGNode already has a parent", __FILE__, 472));-
170 ((before && before->m_parent == this) ? static_cast<void>(0) : qt_assert_x("QSGNode::insertChildNodeBefore", "The parent of \'before\' is wrong", __FILE__, 473));-
171-
172-
173 if (node->type() == QSGNode::GeometryNodeType
node->type() =...ometryNodeTypeDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
174 QSGGeometryNode *g = static_cast<QSGGeometryNode *>(node);-
175 ((g->material()) ? static_cast<void>(0) : qt_assert_x("QSGNode::insertChildNodeBefore", "QSGGeometryNode is missing material", __FILE__, 478));-
176 ((g->geometry()) ? static_cast<void>(0) : qt_assert_x("QSGNode::insertChildNodeBefore", "QSGGeometryNode is missing geometry", __FILE__, 479));-
177 }
never executed: end of block
0
178-
179-
180 QSGNode *previous = before->m_previousSibling;-
181 if (previous
previousDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
182 previous->m_nextSibling = node;
never executed: previous->m_nextSibling = node;
0
183 else-
184 m_firstChild = node;
never executed: m_firstChild = node;
0
185 node->m_previousSibling = previous;-
186 node->m_nextSibling = before;-
187 before->m_previousSibling = node;-
188 node->m_parent = this;-
189-
190 node->markDirty(DirtyNodeAdded);-
191}
never executed: end of block
0
192void QSGNode::insertChildNodeAfter(QSGNode *node, QSGNode *after)-
193{-
194-
195 ((!node->m_parent) ? static_cast<void>(0) : qt_assert_x("QSGNode::insertChildNodeAfter", "QSGNode already has a parent", __FILE__, 508));-
196 ((after && after->m_parent == this) ? static_cast<void>(0) : qt_assert_x("QSGNode::insertChildNodeAfter", "The parent of \'after\' is wrong", __FILE__, 509));-
197-
198-
199 if (node->type() == QSGNode::GeometryNodeType
node->type() =...ometryNodeTypeDescription
TRUEnever evaluated
FALSEevaluated 5550 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquicktaphandler
) {
0-5550
200 QSGGeometryNode *g = static_cast<QSGGeometryNode *>(node);-
201 ((g->material()) ? static_cast<void>(0) : qt_assert_x("QSGNode::insertChildNodeAfter", "QSGGeometryNode is missing material", __FILE__, 514));-
202 ((g->geometry()) ? static_cast<void>(0) : qt_assert_x("QSGNode::insertChildNodeAfter", "QSGGeometryNode is missing geometry", __FILE__, 515));-
203 }
never executed: end of block
0
204-
205-
206 QSGNode *next = after->m_nextSibling;-
207 if (next
nextDescription
TRUEevaluated 4859 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicktaphandler
FALSEevaluated 691 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquicktaphandler
)
691-4859
208 next->m_previousSibling = node;
executed 4859 times by 7 tests: next->m_previousSibling = node;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquicktaphandler
4859
209 else-
210 m_lastChild = node;
executed 691 times by 11 tests: m_lastChild = node;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquicktaphandler
691
211 node->m_nextSibling = next;-
212 node->m_previousSibling = after;-
213 after->m_nextSibling = node;-
214 node->m_parent = this;-
215-
216 node->markDirty(DirtyNodeAdded);-
217}
executed 5550 times by 11 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshortcut
  • tst_qquickstates
  • tst_qquicktaphandler
5550
218-
219-
220-
221-
222-
223-
224-
225void QSGNode::removeChildNode(QSGNode *node)-
226{-
227-
228 ((node->parent() == this) ? static_cast<void>(0) : qt_assert("node->parent() == this", __FILE__, 541));-
229-
230 QSGNode *previous = node->m_previousSibling;-
231 QSGNode *next = node->m_nextSibling;-
232 if (previous
previousDescription
TRUEevaluated 20303 times by 16 tests
Evaluated by:
  • tst_multipointtoucharea_interop
  • tst_qquickanimatedsprite
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
FALSEevaluated 1040709 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
)
20303-1040709
233 previous->m_nextSibling = next;
executed 20303 times by 16 tests: previous->m_nextSibling = next;
Executed by:
  • tst_multipointtoucharea_interop
  • tst_qquickanimatedsprite
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
20303
234 else-
235 m_firstChild = next;
executed 1040709 times by 77 tests: m_firstChild = next;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
1040709
236 if (next
nextDescription
TRUEevaluated 504504 times by 64 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • tst_qquickitem
  • ...
FALSEevaluated 556508 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
)
504504-556508
237 next->m_previousSibling = previous;
executed 504504 times by 64 tests: next->m_previousSibling = previous;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • tst_qquickitem
  • ...
504504
238 else-
239 m_lastChild = previous;
executed 556508 times by 77 tests: m_lastChild = previous;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
556508
240 node->m_previousSibling = nullptr;-
241 node->m_nextSibling = nullptr;-
242-
243 node->markDirty(DirtyNodeRemoved);-
244 node->m_parent = nullptr;-
245}
executed 1061012 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
1061012
246-
247-
248-
249-
250-
251-
252void QSGNode::removeAllChildNodes()-
253{-
254 while (m_firstChild
m_firstChildDescription
TRUEevaluated 6 times by 2 tests
Evaluated by:
  • tst_qquickitem2
  • tst_qquicktext
FALSEevaluated 177 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_scenegraph
) {
6-177
255 QSGNode *node = m_firstChild;-
256 m_firstChild = node->m_nextSibling;-
257 node->m_nextSibling = nullptr;-
258 if (m_firstChild
m_firstChildDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickitem2
FALSEevaluated 4 times by 2 tests
Evaluated by:
  • tst_qquickitem2
  • tst_qquicktext
)
2-4
259 m_firstChild->m_previousSibling = nullptr;
executed 2 times by 1 test: m_firstChild->m_previousSibling = nullptr;
Executed by:
  • tst_qquickitem2
2
260 else-
261 m_lastChild = nullptr;
executed 4 times by 2 tests: m_lastChild = nullptr;
Executed by:
  • tst_qquickitem2
  • tst_qquicktext
4
262 node->markDirty(DirtyNodeRemoved);-
263 node->m_parent = nullptr;-
264 }
executed 6 times by 2 tests: end of block
Executed by:
  • tst_qquickitem2
  • tst_qquicktext
6
265}
executed 177 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_scenegraph
177
266-
267-
268-
269-
270-
271-
272void QSGNode::reparentChildNodesTo(QSGNode *newParent)-
273{-
274 for (QSGNode *c = firstChild(); c
cDescription
TRUEevaluated 14623 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_scenegraph
FALSEevaluated 12756 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • 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_qquicktableview
  • tst_qquicktaphandler
  • tst_qquicktext
  • ...
; c = firstChild()) {
12756-14623
275 removeChildNode(c);-
276 newParent->appendChildNode(c);-
277 }
executed 14623 times by 15 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_scenegraph
14623
278}
executed 12756 times by 30 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • 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_qquicktableview
  • tst_qquicktaphandler
  • tst_qquicktext
  • ...
12756
279-
280-
281int QSGNode::childCount() const-
282{-
283 int count = 0;-
284 QSGNode *n = m_firstChild;-
285 while (n
nDescription
TRUEevaluated 93 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitemlayer
  • tst_qquickshadereffect
FALSEevaluated 93 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitemlayer
  • tst_qquickshadereffect
) {
93
286 ++count;-
287 n = n->m_nextSibling;-
288 }
executed 93 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitemlayer
  • tst_qquickshadereffect
93
289 return
executed 93 times by 4 tests: return count;
Executed by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitemlayer
  • tst_qquickshadereffect
count;
executed 93 times by 4 tests: return count;
Executed by:
  • tst_examples
  • tst_qquickcustomparticle
  • tst_qquickitemlayer
  • tst_qquickshadereffect
93
290}-
291-
292-
293QSGNode *QSGNode::childAtIndex(int i) const-
294{-
295 QSGNode *n = m_firstChild;-
296 while (i
iDescription
TRUEnever evaluated
FALSEnever evaluated
&& n
nDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
297 --i;-
298 n = n->m_nextSibling;-
299 }
never executed: end of block
0
300 return
never executed: return n;
n;
never executed: return n;
0
301}-
302void QSGNode::setFlag(Flag f, bool enabled)-
303{-
304 if (bool(m_nodeFlags & f) == enabled
bool(m_nodeFla... f) == enabledDescription
TRUEevaluated 496 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qquickborderimage
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktextedit
  • tst_scenegraph
FALSEevaluated 904562 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
)
496-904562
305 return;
executed 496 times by 8 tests: return;
Executed by:
  • tst_examples
  • tst_qquickborderimage
  • tst_qquickfocusscope
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquickshadereffect
  • tst_qquicktextedit
  • tst_scenegraph
496
306 m_nodeFlags ^= f;-
307 ((int(UsePreprocess) == int(DirtyUsePreprocess)) ? static_cast<void>(0) : qt_assert("int(UsePreprocess) == int(DirtyUsePreprocess)", __FILE__, 629));-
308 int changedFlag = f & UsePreprocess;-
309 if (changedFlag
changedFlagDescription
TRUEevaluated 249340 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • ...
FALSEevaluated 655222 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
)
249340-655222
310 markDirty(DirtyState(changedFlag));
executed 249340 times by 28 tests: markDirty(DirtyState(changedFlag));
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • ...
249340
311}
executed 904562 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
904562
312void QSGNode::setFlags(Flags f, bool enabled)-
313{-
314 Flags oldFlags = m_nodeFlags;-
315 if (enabled
enabledDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
316 m_nodeFlags |= f;
never executed: m_nodeFlags |= f;
0
317 else-
318 m_nodeFlags &= ~f;
never executed: m_nodeFlags &= ~f;
0
319 ((int(UsePreprocess) == int(DirtyUsePreprocess)) ? static_cast<void>(0) : qt_assert("int(UsePreprocess) == int(DirtyUsePreprocess)", __FILE__, 650));-
320 int changedFlags = (oldFlags ^ m_nodeFlags) & UsePreprocess;-
321 if (changedFlags
changedFlagsDescription
TRUEnever evaluated
FALSEnever evaluated
)
0
322 markDirty(DirtyState(changedFlags));
never executed: markDirty(DirtyState(changedFlags));
0
323}
never executed: end of block
0
324-
325-
326-
327-
328-
329-
330-
331void QSGNode::markDirty(DirtyState bits)-
332{-
333 int renderableCountDiff = 0;-
334 if (bits & DirtyNodeAdded
bits & DirtyNodeAddedDescription
TRUEevaluated 1061020 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
FALSEevaluated 3842645 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
)
1061020-3842645
335 renderableCountDiff += m_subtreeRenderableCount;
executed 1061020 times by 77 tests: renderableCountDiff += m_subtreeRenderableCount;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
1061020
336 if (bits & DirtyNodeRemoved
bits & DirtyNodeRemovedDescription
TRUEevaluated 1061018 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
FALSEevaluated 3842647 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
)
1061018-3842647
337 renderableCountDiff -= m_subtreeRenderableCount;
executed 1061018 times by 77 tests: renderableCountDiff -= m_subtreeRenderableCount;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
1061018
338-
339 QSGNode *p = m_parent;-
340 while (p
pDescription
TRUEevaluated 9216253 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
FALSEevaluated 4903665 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
) {
4903665-9216253
341 p->m_subtreeRenderableCount += renderableCountDiff;-
342 if (p->type() == RootNodeType
p->type() == RootNodeTypeDescription
TRUEevaluated 816972 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
FALSEevaluated 8399281 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
)
816972-8399281
343 static_cast<
executed 816972 times by 77 tests: static_cast<QSGRootNode *>(p)->notifyNodeChange(this, bits);
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
QSGRootNode *>(p)->notifyNodeChange(this, bits);
executed 816972 times by 77 tests: static_cast<QSGRootNode *>(p)->notifyNodeChange(this, bits);
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
816972
344 p = p->m_parent;-
345 }
executed 9216253 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
9216253
346}
executed 4903665 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
4903665
347-
348void qsgnode_set_description(QSGNode *node, const QString &description)-
349{-
350-
351 QSGNodePrivate::setDescription(node, description);-
352-
353-
354-
355-
356}
executed 826548 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
826548
357QSGBasicGeometryNode::QSGBasicGeometryNode(NodeType type)-
358 : QSGNode(type)-
359 , m_geometry(nullptr)-
360 , m_matrix(nullptr)-
361 , m_clip_list(nullptr)-
362{-
363}
executed 528434 times by 72 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
528434
364-
365-
366-
367-
368-
369QSGBasicGeometryNode::QSGBasicGeometryNode(QSGBasicGeometryNodePrivate &dd, NodeType type)-
370 : QSGNode(dd, type)-
371 , m_geometry(nullptr)-
372 , m_matrix(nullptr)-
373 , m_clip_list(nullptr)-
374{-
375}
executed 18 times by 2 tests: end of block
Executed by:
  • tst_nodestest
  • tst_qquickframebufferobject
18
376QSGBasicGeometryNode::~QSGBasicGeometryNode()-
377{-
378 if (flags() & OwnsGeometry
flags() & OwnsGeometryDescription
TRUEevaluated 4863 times by 39 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgroupgoal
  • tst_qquickimageparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklineextruder
  • tst_qquicklistview
  • tst_qquickmaskextruder
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlegroup
  • ...
FALSEevaluated 523589 times by 73 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
)
4863-523589
379 delete m_geometry;
executed 4863 times by 39 tests: delete m_geometry;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgroupgoal
  • tst_qquickimageparticle
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklineextruder
  • tst_qquicklistview
  • tst_qquickmaskextruder
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickparticlegroup
  • ...
4863
380}
executed 528452 times by 73 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
528452
381void QSGBasicGeometryNode::setGeometry(QSGGeometry *geometry)-
382{-
383 if ((
(flags() & OwnsGeometry) != 0Description
TRUEevaluated 1471 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickellipseextruder
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgroupgoal
  • tst_qquickimageparticle
  • tst_qquicklineextruder
  • tst_qquickmaskextruder
  • tst_qquickparticlegroup
  • tst_qquickparticlesystem
  • tst_qquickpointattractor
  • tst_qquickpointdirection
  • tst_qquickrectangleextruder
  • tst_qquickspritegoal
  • tst_qquicktargetdirection
  • tst_qquicktrailemitter
  • tst_qquickturbulence
  • tst_qquickwander
FALSEevaluated 530400 times by 73 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
flags() & OwnsGeometry) != 0
(flags() & OwnsGeometry) != 0Description
TRUEevaluated 1471 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickellipseextruder
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgroupgoal
  • tst_qquickimageparticle
  • tst_qquicklineextruder
  • tst_qquickmaskextruder
  • tst_qquickparticlegroup
  • tst_qquickparticlesystem
  • tst_qquickpointattractor
  • tst_qquickpointdirection
  • tst_qquickrectangleextruder
  • tst_qquickspritegoal
  • tst_qquicktargetdirection
  • tst_qquicktrailemitter
  • tst_qquickturbulence
  • tst_qquickwander
FALSEevaluated 530400 times by 73 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
&& m_geometry != geometry
m_geometry != geometryDescription
TRUEevaluated 1471 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickellipseextruder
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgroupgoal
  • tst_qquickimageparticle
  • tst_qquicklineextruder
  • tst_qquickmaskextruder
  • tst_qquickparticlegroup
  • tst_qquickparticlesystem
  • tst_qquickpointattractor
  • tst_qquickpointdirection
  • tst_qquickrectangleextruder
  • tst_qquickspritegoal
  • tst_qquicktargetdirection
  • tst_qquicktrailemitter
  • tst_qquickturbulence
  • tst_qquickwander
FALSEnever evaluated
)
0-530400
384 delete m_geometry;
executed 1471 times by 22 tests: delete m_geometry;
Executed by:
  • tst_examples
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickellipseextruder
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgroupgoal
  • tst_qquickimageparticle
  • tst_qquicklineextruder
  • tst_qquickmaskextruder
  • tst_qquickparticlegroup
  • tst_qquickparticlesystem
  • tst_qquickpointattractor
  • tst_qquickpointdirection
  • tst_qquickrectangleextruder
  • tst_qquickspritegoal
  • tst_qquicktargetdirection
  • tst_qquicktrailemitter
  • tst_qquickturbulence
  • tst_qquickwander
1471
385 m_geometry = geometry;-
386 markDirty(DirtyGeometry);-
387}
executed 531871 times by 73 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
531871
388QSGGeometryNode::QSGGeometryNode()-
389 : QSGBasicGeometryNode(GeometryNodeType)-
390{-
391}
executed 528048 times by 71 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • ...
528048
392-
393-
394-
395-
396-
397QSGGeometryNode::QSGGeometryNode(QSGGeometryNodePrivate &dd)-
398 : QSGBasicGeometryNode(dd, GeometryNodeType)-
399 , m_render_order(0)-
400 , m_material(nullptr)-
401 , m_opaque_material(nullptr)-
402 , m_opacity(1)-
403{-
404}
executed 18 times by 2 tests: end of block
Executed by:
  • tst_nodestest
  • tst_qquickframebufferobject
18
405QSGGeometryNode::~QSGGeometryNode()-
406{-
407 if (flags() & OwnsMaterial
flags() & OwnsMaterialDescription
TRUEevaluated 202 times by 29 tests
Evaluated 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_qquickimageparticle
  • tst_qquickitemlayer
  • tst_qquicklineextruder
  • tst_qquickmaskextruder
  • tst_qquickparticlegroup
  • tst_qquickparticlesystem
  • tst_qquickpointattractor
  • tst_qquickpointdirection
  • tst_qquickrectangleextruder
  • tst_qquickshadereffect
  • tst_qquickspritegoal
  • tst_qquickspritesequence
  • tst_qquicktargetdirection
  • ...
FALSEevaluated 527864 times by 72 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
)
202-527864
408 delete m_material;
executed 202 times by 29 tests: delete m_material;
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_qquickimageparticle
  • tst_qquickitemlayer
  • tst_qquicklineextruder
  • tst_qquickmaskextruder
  • tst_qquickparticlegroup
  • tst_qquickparticlesystem
  • tst_qquickpointattractor
  • tst_qquickpointdirection
  • tst_qquickrectangleextruder
  • tst_qquickshadereffect
  • tst_qquickspritegoal
  • tst_qquickspritesequence
  • tst_qquicktargetdirection
  • ...
202
409 if (flags() & OwnsOpaqueMaterial
flags() & OwnsOpaqueMaterialDescription
TRUEnever evaluated
FALSEevaluated 528066 times by 72 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
)
0-528066
410 delete m_opaque_material;
never executed: delete m_opaque_material;
0
411}
executed 528066 times by 72 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
528066
412void QSGGeometryNode::setRenderOrder(int order)-
413{-
414 m_render_order = order;-
415}
never executed: end of block
0
416void QSGGeometryNode::setMaterial(QSGMaterial *material)-
417{-
418 if ((
(flags() & OwnsMaterial) != 0Description
TRUEnever evaluated
FALSEevaluated 531421 times by 72 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
flags() & OwnsMaterial) != 0
(flags() & OwnsMaterial) != 0Description
TRUEnever evaluated
FALSEevaluated 531421 times by 72 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
&& m_material != material
m_material != materialDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-531421
419 delete m_material;
never executed: delete m_material;
0
420 m_material = material;-
421-
422 if (m_material != nullptr
m_material != nullptrDescription
TRUEevaluated 531421 times by 72 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
FALSEnever evaluated
&& m_opaque_material == m_material
m_opaque_mater... == m_materialDescription
TRUEnever evaluated
FALSEevaluated 531421 times by 72 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
)
0-531421
423 QMessageLogger(__FILE__, 972, __PRETTY_FUNCTION__).warning("QSGGeometryNode: using same material for both opaque and translucent");
never executed: QMessageLogger(__FILE__, 972, __PRETTY_FUNCTION__).warning("QSGGeometryNode: using same material for both opaque and translucent");
0
424-
425 markDirty(DirtyMaterial);-
426}
executed 531421 times by 72 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
531421
427void QSGGeometryNode::setOpaqueMaterial(QSGMaterial *material)-
428{-
429 if ((
(flags() & Own...Material) != 0Description
TRUEnever evaluated
FALSEevaluated 5223 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_nodestest
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickframebufferobject
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquickpainteditem
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_scenegraph
flags() & OwnsOpaqueMaterial) != 0
(flags() & Own...Material) != 0Description
TRUEnever evaluated
FALSEevaluated 5223 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_nodestest
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickframebufferobject
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquickpainteditem
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_scenegraph
&& m_opaque_material != m_material
m_opaque_mater... != m_materialDescription
TRUEnever evaluated
FALSEnever evaluated
)
0-5223
430 delete m_opaque_material;
never executed: delete m_opaque_material;
0
431 m_opaque_material = material;-
432-
433 if (m_opaque_material != nullptr
m_opaque_material != nullptrDescription
TRUEevaluated 5223 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_nodestest
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickframebufferobject
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquickpainteditem
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_scenegraph
FALSEnever evaluated
&& m_opaque_material == m_material
m_opaque_mater... == m_materialDescription
TRUEnever evaluated
FALSEevaluated 5223 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_nodestest
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickframebufferobject
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquickpainteditem
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_scenegraph
)
0-5223
434 QMessageLogger(__FILE__, 1003, __PRETTY_FUNCTION__).warning("QSGGeometryNode: using same material for both opaque and translucent");
never executed: QMessageLogger(__FILE__, 1003, __PRETTY_FUNCTION__).warning("QSGGeometryNode: using same material for both opaque and translucent");
0
435-
436-
437 markDirty(DirtyMaterial);-
438}
executed 5223 times by 13 tests: end of block
Executed by:
  • tst_examples
  • tst_nodestest
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickframebufferobject
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquickpainteditem
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_scenegraph
5223
439QSGMaterial *QSGGeometryNode::activeMaterial() const-
440{-
441 if (m_opaque_material
m_opaque_materialDescription
TRUEevaluated 157610 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickframebufferobject
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquickpainteditem
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_scenegraph
FALSEevaluated 7728783 times by 67 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • 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_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • ...
&& m_opacity > 0.999
m_opacity > 0.999Description
TRUEevaluated 119669 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickframebufferobject
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquickpainteditem
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_scenegraph
FALSEevaluated 37941 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_scenegraph
)
37941-7728783
442 return
executed 119669 times by 12 tests: return m_opaque_material;
Executed by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickframebufferobject
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquickpainteditem
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_scenegraph
m_opaque_material;
executed 119669 times by 12 tests: return m_opaque_material;
Executed by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickframebufferobject
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquickpainteditem
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_scenegraph
119669
443 return
executed 7766724 times by 67 tests: return m_material;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • 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_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • ...
m_material;
executed 7766724 times by 67 tests: return m_material;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmltypeloader
  • tst_qquickage
  • tst_qquickangleddirection
  • 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_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • tst_qquickimageparticle
  • ...
7766724
444}-
445void QSGGeometryNode::setInheritedOpacity(qreal opacity)-
446{-
447 ((opacity >= 0 && opacity <= 1) ? static_cast<void>(0) : qt_assert("opacity >= 0 && opacity <= 1", __FILE__, 1044));-
448 m_opacity = opacity;-
449}
executed 1099276 times by 71 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
1099276
450QSGClipNode::QSGClipNode()-
451 : QSGBasicGeometryNode(ClipNodeType)-
452 , m_is_rectangular(false)-
453{-
454 (void)m_reserved;;-
455}
executed 386 times by 9 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktableview
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_rendernode
  • tst_scenegraph
386
456QSGClipNode::~QSGClipNode()-
457{-
458}-
459void QSGClipNode::setIsRectangular(bool rectHint)-
460{-
461 m_is_rectangular = rectHint;-
462}
executed 444 times by 9 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktableview
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_rendernode
  • tst_scenegraph
444
463void QSGClipNode::setClipRect(const QRectF &rect)-
464{-
465 m_clip_rect = rect;-
466}
executed 592 times by 9 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquicktableview
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_rendernode
  • tst_scenegraph
592
467QSGTransformNode::QSGTransformNode()-
468 : QSGNode(TransformNodeType)-
469{-
470}
executed 498885 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
  • ...
498885
471-
472-
473-
474-
475-
476-
477-
478QSGTransformNode::~QSGTransformNode()-
479{-
480}-
481void QSGTransformNode::setMatrix(const QMatrix4x4 &matrix)-
482{-
483 m_matrix = matrix;-
484 markDirty(DirtyMatrix);-
485}
executed 682941 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
  • ...
682941
486void QSGTransformNode::setCombinedMatrix(const QMatrix4x4 &matrix)-
487{-
488 m_combined_matrix = matrix;-
489}
executed 1586716 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
  • ...
1586716
490QSGRootNode::QSGRootNode()-
491 : QSGNode(RootNodeType)-
492{-
493}
executed 3613 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
3613
494QSGRootNode::~QSGRootNode()-
495{-
496 while (!m_renderers.isEmpty()
!m_renderers.isEmpty()Description
TRUEevaluated 3575 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 3613 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
)
3575-3613
497 m_renderers.constLast()->setRootNode(nullptr);
executed 3575 times by 76 tests: m_renderers.constLast()->setRootNode(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
  • ...
3575
498 destroy();-
499}
executed 3613 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
3613
500void QSGRootNode::notifyNodeChange(QSGNode *node, DirtyState state)-
501{-
502 for (int i=0; i<m_renderers.size()
i<m_renderers.size()Description
TRUEevaluated 810251 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
FALSEevaluated 816972 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
; ++i) {
810251-816972
503 m_renderers.at(i)->nodeChanged(node, state);-
504 }
executed 810251 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
810251
505}
executed 816972 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
816972
506QSGOpacityNode::QSGOpacityNode()-
507 : QSGNode(OpacityNodeType)-
508{-
509}
executed 12492 times by 29 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • 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
  • ...
12492
510-
511-
512-
513-
514-
515-
516-
517QSGOpacityNode::~QSGOpacityNode()-
518{-
519}-
520const qreal OPACITY_THRESHOLD = 0.001;-
521void QSGOpacityNode::setOpacity(qreal opacity)-
522{-
523 opacity = qBound<qreal>(0, opacity, 1);-
524 if (m_opacity == opacity
m_opacity == opacityDescription
TRUEevaluated 259 times by 8 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquicktaphandler
FALSEevaluated 29834 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
)
259-29834
525 return;
executed 259 times by 8 tests: return;
Executed by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquicktaphandler
259
526 DirtyState dirtyState = DirtyOpacity;-
527-
528 if ((m_opacity < OPACITY_THRESHOLD
m_opacity < OPACITY_THRESHOLDDescription
TRUEevaluated 5497 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktaphandler
FALSEevaluated 24337 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
&& opacity >= OPACITY_THRESHOLD
opacity >= OPACITY_THRESHOLDDescription
TRUEevaluated 5497 times by 12 tests
Evaluated by:
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_qquickgridview
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktaphandler
FALSEnever evaluated
)
0-24337
529 || (m_opacity >= OPACITY_THRESHOLD
m_opacity >= OPACITY_THRESHOLDDescription
TRUEevaluated 24337 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
FALSEnever evaluated
&& opacity < OPACITY_THRESHOLD
opacity < OPACITY_THRESHOLDDescription
TRUEevaluated 13536 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickfocusscope
  • tst_qquickgridview
  • 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_qquickvisualdatamodel
  • tst_signalspy
FALSEevaluated 10801 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_nodestest
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquicktextinput
  • tst_rendernode
  • tst_scenegraph
))
0-24337
530 dirtyState |= DirtySubtreeBlocked;
executed 19033 times by 24 tests: dirtyState |= DirtySubtreeBlocked;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_qquickanimationcontroller
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickfocusscope
  • tst_qquickgridview
  • 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_qquickvisualdatamodel
  • tst_signalspy
19033
531-
532 m_opacity = opacity;-
533 markDirty(dirtyState);-
534}
executed 29834 times by 28 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • 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
  • ...
29834
535void QSGOpacityNode::setCombinedOpacity(qreal opacity)-
536{-
537 m_combined_opacity = opacity;-
538}
executed 65468 times by 19 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_rendernode
  • tst_scenegraph
65468
539bool QSGOpacityNode::isSubtreeBlocked() const-
540{-
541 return
executed 433347 times by 21 tests: return m_opacity < OPACITY_THRESHOLD;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_scenegraph
m_opacity < OPACITY_THRESHOLD;
executed 433347 times by 21 tests: return m_opacity < OPACITY_THRESHOLD;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_nodestest
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitemlayer
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_scenegraph
433347
542}-
543QSGNodeVisitor::~QSGNodeVisitor()-
544{-
545-
546}-
547-
548-
549void QSGNodeVisitor::visitNode(QSGNode *n)-
550{-
551 switch (n->type()) {-
552 case
never executed: case QSGNode::TransformNodeType:
QSGNode::TransformNodeType:
never executed: case QSGNode::TransformNodeType:
{
0
553 QSGTransformNode *t = static_cast<QSGTransformNode *>(n);-
554 enterTransformNode(t);-
555 visitChildren(t);-
556 leaveTransformNode(t);-
557 break;
never executed: break;
}
0
558 case
never executed: case QSGNode::GeometryNodeType:
QSGNode::GeometryNodeType:
never executed: case QSGNode::GeometryNodeType:
{
0
559 QSGGeometryNode *g = static_cast<QSGGeometryNode *>(n);-
560 enterGeometryNode(g);-
561 visitChildren(g);-
562 leaveGeometryNode(g);-
563 break;
never executed: break;
}
0
564 case
never executed: case QSGNode::ClipNodeType:
QSGNode::ClipNodeType:
never executed: case QSGNode::ClipNodeType:
{
0
565 QSGClipNode *c = static_cast<QSGClipNode *>(n);-
566 enterClipNode(c);-
567 visitChildren(c);-
568 leaveClipNode(c);-
569 break;
never executed: break;
}
0
570 case
never executed: case QSGNode::OpacityNodeType:
QSGNode::OpacityNodeType:
never executed: case QSGNode::OpacityNodeType:
{
0
571 QSGOpacityNode *o = static_cast<QSGOpacityNode *>(n);-
572 enterOpacityNode(o);-
573 visitChildren(o);-
574 leaveOpacityNode(o);-
575 break;
never executed: break;
}
0
576 default
never executed: default:
:
never executed: default:
0
577 visitChildren(n);-
578 break;
never executed: break;
0
579 }-
580}-
581-
582void QSGNodeVisitor::visitChildren(QSGNode *n)-
583{-
584 for (QSGNode *c = n->firstChild(); c
cDescription
TRUEnever evaluated
FALSEnever evaluated
; c = c->nextSibling())
0
585 visitNode(c);
never executed: visitNode(c);
0
586}
never executed: end of block
0
587-
588-
589QDebug operator<<(QDebug d, const QSGGeometryNode *n)-
590{-
591 if (!n
!nDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
592 d << "Geometry(null)";-
593 return
never executed: return d;
d;
never executed: return d;
0
594 }-
595 d << "GeometryNode(" << hex << (const void *) n << dec;-
596-
597 const QSGGeometry *g = n->geometry();-
598-
599 if (!g
!gDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
600 d << "no geometry";-
601 }
never executed: end of block
else {
0
602-
603 switch (g->drawingMode()) {-
604 case
never executed: case QSGGeometry::DrawTriangleStrip:
QSGGeometry::DrawTriangleStrip:
never executed: case QSGGeometry::DrawTriangleStrip:
d << "strip"; break;
never executed: break;
0
605 case
never executed: case QSGGeometry::DrawTriangleFan:
QSGGeometry::DrawTriangleFan:
never executed: case QSGGeometry::DrawTriangleFan:
d << "fan"; break;
never executed: break;
0
606 case
never executed: case QSGGeometry::DrawTriangles:
QSGGeometry::DrawTriangles:
never executed: case QSGGeometry::DrawTriangles:
d << "triangles"; break;
never executed: break;
0
607 default
never executed: default:
:
never executed: default:
break;
never executed: break;
0
608 }-
609-
610 d << "#V:" << g->vertexCount() << "#I:" << g->indexCount();-
611-
612 if (g->attributeCount() > 0
g->attributeCount() > 0Description
TRUEnever evaluated
FALSEnever evaluated
&& g->attributes()->type == QSGGeometry::FloatType
g->attributes(...try::FloatTypeDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
613 float x1 = 1e10, x2 = -1e10, y1=1e10, y2=-1e10;-
614 int stride = g->sizeOfVertex();-
615 for (int i = 0; i < g->vertexCount()
i < g->vertexCount()Description
TRUEnever evaluated
FALSEnever evaluated
; ++i) {
0
616 float x = ((float *)((char *)const_cast<QSGGeometry *>(g)->vertexData() + i * stride))[0];-
617 float y = ((float *)((char *)const_cast<QSGGeometry *>(g)->vertexData() + i * stride))[1];-
618-
619 x1 = qMin(x1, x);-
620 x2 = qMax(x2, x);-
621 y1 = qMin(y1, y);-
622 y2 = qMax(y2, y);-
623 }
never executed: end of block
0
624-
625 d << "x1=" << x1 << "y1=" << y1 << "x2=" << x2 << "y2=" << y2;-
626 }
never executed: end of block
0
627 }
never executed: end of block
0
628-
629 if (n->material()
n->material()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
630 d << "materialtype=" << n->material()->type();
never executed: d << "materialtype=" << n->material()->type();
0
631-
632-
633 d << ')';-
634-
635 d << QSGNodePrivate::description(n);-
636-
637 return
never executed: return d;
d;
never executed: return d;
0
638}-
639-
640QDebug operator<<(QDebug d, const QSGClipNode *n)-
641{-
642 if (!n
!nDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
643 d << "ClipNode(null)";-
644 return
never executed: return d;
d;
never executed: return d;
0
645 }-
646 d << "ClipNode(" << hex << (const void *) n << dec;-
647-
648 if (n->childCount()
n->childCount()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
649 d << "children=" << n->childCount();
never executed: d << "children=" << n->childCount();
0
650-
651 d << "is rect?" << (n->isRectangular() ? "yes" : "no");-
652-
653 d << ')';-
654-
655 d << QSGNodePrivate::description(n);-
656-
657 d << (n->isSubtreeBlocked() ? "*BLOCKED*" : "");-
658 return
never executed: return d;
d;
never executed: return d;
0
659}-
660-
661QDebug operator<<(QDebug d, const QSGTransformNode *n)-
662{-
663 if (!n
!nDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
664 d << "TransformNode(null)";-
665 return
never executed: return d;
d;
never executed: return d;
0
666 }-
667 const QMatrix4x4 m = n->matrix();-
668 d << "TransformNode(";-
669 d << hex << (const void *) n << dec;-
670 if (m.isIdentity()
m.isIdentity()Description
TRUEnever evaluated
FALSEnever evaluated
)
0
671 d << "identity";
never executed: d << "identity";
0
672 else if (m.determinant() == 1
m.determinant() == 1Description
TRUEnever evaluated
FALSEnever evaluated
&& m(0, 0) == 1
m(0, 0) == 1Description
TRUEnever evaluated
FALSEnever evaluated
&& m(1, 1) == 1
m(1, 1) == 1Description
TRUEnever evaluated
FALSEnever evaluated
&& m(2, 2) == 1
m(2, 2) == 1Description
TRUEnever evaluated
FALSEnever evaluated
)
0
673 d << "translate" << m(0, 3) << m(1, 3) << m(2, 3);
never executed: d << "translate" << m(0, 3) << m(1, 3) << m(2, 3);
0
674 else-
675 d << "det=" << n->matrix().determinant();
never executed: d << "det=" << n->matrix().determinant();
0
676-
677 d << QSGNodePrivate::description(n);-
678-
679 d << (n->isSubtreeBlocked() ? "*BLOCKED*" : "");-
680 d << ')';-
681 return
never executed: return d;
d;
never executed: return d;
0
682}-
683-
684QDebug operator<<(QDebug d, const QSGOpacityNode *n)-
685{-
686 if (!n
!nDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
687 d << "OpacityNode(null)";-
688 return
never executed: return d;
d;
never executed: return d;
0
689 }-
690 d << "OpacityNode(";-
691 d << hex << (const void *) n << dec;-
692 d << "opacity=" << n->opacity()-
693 << "combined=" << n->combinedOpacity()-
694 << (n->isSubtreeBlocked() ? "*BLOCKED*" : "");-
695-
696 d << QSGNodePrivate::description(n);-
697-
698 d << ')';-
699 return
never executed: return d;
d;
never executed: return d;
0
700}-
701-
702-
703QDebug operator<<(QDebug d, const QSGRootNode *n)-
704{-
705 if (!n
!nDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
706 d << "RootNode(null)";-
707 return
never executed: return d;
d;
never executed: return d;
0
708 }-
709 QDebugStateSaver saver(d);-
710 d << "RootNode" << hex << (const void *) n << (n->isSubtreeBlocked() ? "*BLOCKED*" : "");-
711-
712 d << QSGNodePrivate::description(n);-
713-
714 d << ')';-
715 return
never executed: return d;
d;
never executed: return d;
0
716}-
717-
718-
719-
720QDebug operator<<(QDebug d, const QSGNode *n)-
721{-
722 if (!n
!nDescription
TRUEnever evaluated
FALSEnever evaluated
) {
0
723 d << "Node(null)";-
724 return
never executed: return d;
d;
never executed: return d;
0
725 }-
726 switch (n->type()) {-
727 case
never executed: case QSGNode::GeometryNodeType:
QSGNode::GeometryNodeType:
never executed: case QSGNode::GeometryNodeType:
0
728 d << static_cast<const QSGGeometryNode *>(n);-
729 break;
never executed: break;
0
730 case
never executed: case QSGNode::TransformNodeType:
QSGNode::TransformNodeType:
never executed: case QSGNode::TransformNodeType:
0
731 d << static_cast<const QSGTransformNode *>(n);-
732 break;
never executed: break;
0
733 case
never executed: case QSGNode::ClipNodeType:
QSGNode::ClipNodeType:
never executed: case QSGNode::ClipNodeType:
0
734 d << static_cast<const QSGClipNode *>(n);-
735 break;
never executed: break;
0
736 case
never executed: case QSGNode::RootNodeType:
QSGNode::RootNodeType:
never executed: case QSGNode::RootNodeType:
0
737 d << static_cast<const QSGRootNode *>(n);-
738 break;
never executed: break;
0
739 case
never executed: case QSGNode::OpacityNodeType:
QSGNode::OpacityNodeType:
never executed: case QSGNode::OpacityNodeType:
0
740 d << static_cast<const QSGOpacityNode *>(n);-
741 break;
never executed: break;
0
742 case
never executed: case QSGNode::RenderNodeType:
QSGNode::RenderNodeType:
never executed: case QSGNode::RenderNodeType:
0
743 d << "RenderNode(" << hex << (const void *) n << dec-
744 << "flags=" << (int) n->flags() << dec-
745 << (n->isSubtreeBlocked() ? "*BLOCKED*" : "");-
746-
747 d << QSGNodePrivate::description(n);-
748-
749 d << ')';-
750 break;
never executed: break;
0
751 default
never executed: default:
:
never executed: default:
0
752 d << "Node(" << hex << (const void *) n << dec-
753 << "flags=" << (int) n->flags() << dec-
754 << (n->isSubtreeBlocked() ? "*BLOCKED*" : "");-
755-
756 d << QSGNodePrivate::description(n);-
757-
758 d << ')';-
759 break;
never executed: break;
0
760 }-
761 return
never executed: return d;
d;
never executed: return d;
0
762}-
763-
764-
765-
766-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0