OpenCoverage

qquickanchors.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6static inline __attribute__((always_inline)) QQuickItem *readParentItem(const QQuickItem *item)-
7{-
8 return
executed 96683 times by 75 tests: return QQuickItemPrivate::get(item)->parentItem;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
QQuickItemPrivate::get(item)->parentItem;
executed 96683 times by 75 tests: return QQuickItemPrivate::get(item)->parentItem;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
96683
9}-
10-
11static inline __attribute__((always_inline)) qreal readX(const QQuickItem *item)-
12{-
13 return
executed 3970 times by 18 tests: return QQuickItemPrivate::get(item)->x;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_touchmouse
QQuickItemPrivate::get(item)->x;
executed 3970 times by 18 tests: return QQuickItemPrivate::get(item)->x;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_touchmouse
3970
14}-
15-
16static inline __attribute__((always_inline)) qreal readY(const QQuickItem *item)-
17{-
18 return
executed 3310 times by 18 tests: return QQuickItemPrivate::get(item)->y;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_touchmouse
QQuickItemPrivate::get(item)->y;
executed 3310 times by 18 tests: return QQuickItemPrivate::get(item)->y;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_touchmouse
3310
19}-
20-
21static inline __attribute__((always_inline)) qreal readWidth(const QQuickItem *item)-
22{-
23 return
executed 41043 times by 75 tests: return QQuickItemPrivate::get(item)->width;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
QQuickItemPrivate::get(item)->width;
executed 41043 times by 75 tests: return QQuickItemPrivate::get(item)->width;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
41043
24}-
25-
26static inline __attribute__((always_inline)) qreal readHeight(const QQuickItem *item)-
27{-
28 return
executed 41663 times by 75 tests: return QQuickItemPrivate::get(item)->height;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
QQuickItemPrivate::get(item)->height;
executed 41663 times by 75 tests: return QQuickItemPrivate::get(item)->height;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
41663
29}-
30-
31static inline __attribute__((always_inline)) qreal readBaselineOffset(const QQuickItem *item)-
32{-
33 return
executed 82 times by 2 tests: return QQuickItemPrivate::get(item)->baselineOffset;
Executed by:
  • tst_qquickanchors
  • tst_qquickstates
QQuickItemPrivate::get(item)->baselineOffset;
executed 82 times by 2 tests: return QQuickItemPrivate::get(item)->baselineOffset;
Executed by:
  • tst_qquickanchors
  • tst_qquickstates
82
34}-
35-
36-
37-
38-
39static inline qreal hcenter(const QQuickItem *item)-
40{-
41 qreal width = readWidth(item);-
42 if (QQuickAnchors *anchors = QQuickItemPrivate::get(item)->_anchors
QQuickAnchors ...tem)->_anchorsDescription
TRUEevaluated 11913 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
FALSEevaluated 9091 times by 31 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickstates
  • tst_qquicktaphandler
  • ...
) {
9091-11913
43 if (!QQuickAnchorsPrivate::get(anchors)->centerAligned
!QQuickAnchors...>centerAlignedDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 11905 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
)
8-11905
44 return
executed 8 times by 1 test: return width / 2;
Executed by:
  • tst_qquickanchors
width / 2;
executed 8 times by 1 test: return width / 2;
Executed by:
  • tst_qquickanchors
8
45 }
executed 11905 times by 33 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
11905
46 int iw = width;-
47 if (iw % 2
iw % 2Description
TRUEevaluated 1967 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
FALSEevaluated 19029 times by 34 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
)
1967-19029
48 return
executed 1967 times by 14 tests: return (width + 1) / 2;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
(width + 1) / 2;
executed 1967 times by 14 tests: return (width + 1) / 2;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_scenegraph
1967
49 else-
50 return
executed 19029 times by 34 tests: return width / 2;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
width / 2;
executed 19029 times by 34 tests: return width / 2;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
19029
51}-
52-
53static inline qreal vcenter(const QQuickItem *item)-
54{-
55 qreal height = readHeight(item);-
56 if (QQuickAnchors *anchors = QQuickItemPrivate::get(item)->_anchors
QQuickAnchors ...tem)->_anchorsDescription
TRUEevaluated 10365 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
FALSEevaluated 8061 times by 30 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • tst_qquickstates
  • tst_qquicktaphandler
  • ...
) {
8061-10365
57 if (!QQuickAnchorsPrivate::get(anchors)->centerAligned
!QQuickAnchors...>centerAlignedDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 10357 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
)
8-10357
58 return
executed 8 times by 1 test: return height / 2;
Executed by:
  • tst_qquickanchors
height / 2;
executed 8 times by 1 test: return height / 2;
Executed by:
  • tst_qquickanchors
8
59 }
executed 10357 times by 33 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
10357
60 int ih = height;-
61 if (ih % 2
ih % 2Description
TRUEevaluated 2437 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
FALSEevaluated 15981 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
)
2437-15981
62 return
executed 2437 times by 8 tests: return (height + 1) / 2;
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
(height + 1) / 2;
executed 2437 times by 8 tests: return (height + 1) / 2;
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextedit
2437
63 else-
64 return
executed 15981 times by 33 tests: return height / 2;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
height / 2;
executed 15981 times by 33 tests: return height / 2;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
15981
65}-
66-
67-
68static inline qreal position(const QQuickItem *item, QQuickAnchors::Anchor anchorLine)-
69{-
70 qreal ret = 0.0;-
71 switch (anchorLine) {-
72 case
executed 1110 times by 12 tests: case QQuickAnchors::LeftAnchor:
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_touchmouse
QQuickAnchors::LeftAnchor:
executed 1110 times by 12 tests: case QQuickAnchors::LeftAnchor:
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_touchmouse
1110
73 ret = readX(item);-
74 break;
executed 1110 times by 12 tests: break;
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_touchmouse
1110
75 case
executed 1102 times by 11 tests: case QQuickAnchors::RightAnchor:
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_touchmouse
QQuickAnchors::RightAnchor:
executed 1102 times by 11 tests: case QQuickAnchors::RightAnchor:
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_touchmouse
1102
76 ret = readX(item) + readWidth(item);-
77 break;
executed 1102 times by 11 tests: break;
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_touchmouse
1102
78 case
executed 696 times by 11 tests: case QQuickAnchors::TopAnchor:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquickvisualdatamodel
QQuickAnchors::TopAnchor:
executed 696 times by 11 tests: case QQuickAnchors::TopAnchor:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquickvisualdatamodel
696
79 ret = readY(item);-
80 break;
executed 696 times by 11 tests: break;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquickvisualdatamodel
696
81 case
executed 1110 times by 14 tests: case QQuickAnchors::BottomAnchor:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
QQuickAnchors::BottomAnchor:
executed 1110 times by 14 tests: case QQuickAnchors::BottomAnchor:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
1110
82 ret = readY(item) + readHeight(item);-
83 break;
executed 1110 times by 14 tests: break;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
1110
84 case
executed 324 times by 6 tests: case QQuickAnchors::HCenterAnchor:
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
QQuickAnchors::HCenterAnchor:
executed 324 times by 6 tests: case QQuickAnchors::HCenterAnchor:
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
324
85 ret = readX(item) + hcenter(item);-
86 break;
executed 324 times by 6 tests: break;
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
324
87 case
executed 36 times by 3 tests: case QQuickAnchors::VCenterAnchor:
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickstates
QQuickAnchors::VCenterAnchor:
executed 36 times by 3 tests: case QQuickAnchors::VCenterAnchor:
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickstates
36
88 ret = readY(item) + vcenter(item);-
89 break;
executed 36 times by 3 tests: break;
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickstates
36
90 case
executed 34 times by 2 tests: case QQuickAnchors::BaselineAnchor:
Executed by:
  • tst_qquickanchors
  • tst_qquickstates
QQuickAnchors::BaselineAnchor:
executed 34 times by 2 tests: case QQuickAnchors::BaselineAnchor:
Executed by:
  • tst_qquickanchors
  • tst_qquickstates
34
91 ret = readY(item) + readBaselineOffset(item);-
92 break;
executed 34 times by 2 tests: break;
Executed by:
  • tst_qquickanchors
  • tst_qquickstates
34
93 default
never executed: default:
:
never executed: default:
0
94 break;
never executed: break;
0
95 }-
96-
97 return
executed 4412 times by 16 tests: return ret;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_touchmouse
ret;
executed 4412 times by 16 tests: return ret;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_touchmouse
4412
98}-
99-
100-
101static inline qreal adjustedPosition(QQuickItem *item, QQuickAnchors::Anchor anchorLine)-
102{-
103 qreal ret = 0.0;-
104 switch (anchorLine) {-
105 case
executed 924 times by 16 tests: case QQuickAnchors::LeftAnchor:
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
QQuickAnchors::LeftAnchor:
executed 924 times by 16 tests: case QQuickAnchors::LeftAnchor:
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
924
106 ret = 0.0;-
107 break;
executed 924 times by 16 tests: break;
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
924
108 case
executed 5414 times by 12 tests: case QQuickAnchors::RightAnchor:
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_rendernode
QQuickAnchors::RightAnchor:
executed 5414 times by 12 tests: case QQuickAnchors::RightAnchor:
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_rendernode
5414
109 ret = readWidth(item);-
110 break;
executed 5414 times by 12 tests: break;
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_rendernode
5414
111 case
executed 1434 times by 18 tests: case QQuickAnchors::TopAnchor:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
QQuickAnchors::TopAnchor:
executed 1434 times by 18 tests: case QQuickAnchors::TopAnchor:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
1434
112 ret = 0.0;-
113 break;
executed 1434 times by 18 tests: break;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
1434
114 case
executed 7101 times by 15 tests: case QQuickAnchors::BottomAnchor:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_rendernode
QQuickAnchors::BottomAnchor:
executed 7101 times by 15 tests: case QQuickAnchors::BottomAnchor:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_rendernode
7101
115 ret = readHeight(item);-
116 break;
executed 7101 times by 15 tests: break;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_rendernode
7101
117 case
executed 2548 times by 12 tests: case QQuickAnchors::HCenterAnchor:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
QQuickAnchors::HCenterAnchor:
executed 2548 times by 12 tests: case QQuickAnchors::HCenterAnchor:
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
2548
118 ret = hcenter(item);-
119 break;
executed 2548 times by 12 tests: break;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquickvisualdatamodel
2548
120 case
executed 1434 times by 9 tests: case QQuickAnchors::VCenterAnchor:
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
QQuickAnchors::VCenterAnchor:
executed 1434 times by 9 tests: case QQuickAnchors::VCenterAnchor:
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
1434
121 ret = vcenter(item);-
122 break;
executed 1434 times by 9 tests: break;
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
1434
123 case
executed 2 times by 1 test: case QQuickAnchors::BaselineAnchor:
Executed by:
  • tst_qquickstates
QQuickAnchors::BaselineAnchor:
executed 2 times by 1 test: case QQuickAnchors::BaselineAnchor:
Executed by:
  • tst_qquickstates
2
124 ret = readBaselineOffset(item);-
125 break;
executed 2 times by 1 test: break;
Executed by:
  • tst_qquickstates
2
126 default
never executed: default:
:
never executed: default:
0
127 break;
never executed: break;
0
128 }-
129-
130 return
executed 18857 times by 24 tests: return ret;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
ret;
executed 18857 times by 24 tests: return ret;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
18857
131}-
132-
133QQuickAnchors::QQuickAnchors(QQuickItem *item, QObject *parent)-
134: QObject(*new QQuickAnchorsPrivate(item), parent)-
135{-
136}
executed 12520 times by 83 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • ...
12520
137-
138QQuickAnchors::~QQuickAnchors()-
139{-
140 QQuickAnchorsPrivate * const d = d_func();-
141 d->inDestructor = true;-
142 d->remDepend(d->fill);-
143 d->remDepend(d->centerIn);-
144 d->remDepend(d->leftAnchorItem);-
145 d->remDepend(d->rightAnchorItem);-
146 d->remDepend(d->topAnchorItem);-
147 d->remDepend(d->bottomAnchorItem);-
148 d->remDepend(d->vCenterAnchorItem);-
149 d->remDepend(d->hCenterAnchorItem);-
150 d->remDepend(d->baselineAnchorItem);-
151}
executed 12460 times by 80 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • ...
12460
152-
153void QQuickAnchorsPrivate::fillChanged()-
154{-
155 QQuickAnchors * const q = q_func();-
156 if (!fill
!fillDescription
TRUEevaluated 100 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquickstates
  • tst_qquicktextinput
FALSEevaluated 12929 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
|| !isItemComplete()
!isItemComplete()Description
TRUEevaluated 5102 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
FALSEevaluated 7827 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
)
100-12929
157 return;
executed 5202 times by 71 tests: return;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
5202
158-
159 if (updatingFill < 2
updatingFill < 2Description
TRUEevaluated 7827 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
FALSEnever evaluated
) {
0-7827
160 ++updatingFill;-
161-
162 qreal horizontalMargin = q->mirrored()
q->mirrored()Description
TRUEevaluated 24 times by 5 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
FALSEevaluated 7803 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
? rightMargin : leftMargin;
24-7803
163-
164 if (fill == readParentItem(item)
fill == readParentItem(item)Description
TRUEevaluated 6393 times by 70 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
FALSEevaluated 1434 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquicktext
  • tst_touchmouse
) {
1434-6393
165 setItemPos(QPointF(horizontalMargin, topMargin));-
166 }
executed 6393 times by 70 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
else if (readParentItem(fill) == readParentItem(item)
readParentItem...rentItem(item)Description
TRUEevaluated 1434 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquicktext
  • tst_touchmouse
FALSEnever evaluated
) {
0-6393
167 setItemPos(QPointF(readX(fill)+horizontalMargin, readY(fill) + topMargin));-
168 }
executed 1434 times by 10 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquicktext
  • tst_touchmouse
1434
169 setItemSize(QSizeF(readWidth(fill) - leftMargin - rightMargin,-
170 readHeight(fill) - topMargin - bottomMargin));-
171-
172 --updatingFill;-
173 }
executed 7827 times by 71 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
else {
7827
174-
175 qmlWarning(item) << QQuickAnchors::tr("Possible anchor loop detected on fill.");-
176 }
never executed: end of block
0
177-
178}-
179-
180void QQuickAnchorsPrivate::centerInChanged()-
181{-
182 QQuickAnchors * const q = q_func();-
183 if (!centerIn
!centerInDescription
TRUEevaluated 112 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
FALSEevaluated 11631 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
|| fill
fillDescription
TRUEnever evaluated
FALSEevaluated 11631 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
|| !isItemComplete()
!isItemComplete()Description
TRUEevaluated 3850 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
FALSEevaluated 7781 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
)
0-11631
184 return;
executed 3962 times by 33 tests: return;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
3962
185-
186 if (updatingCenterIn < 2
updatingCenterIn < 2Description
TRUEevaluated 7781 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
FALSEnever evaluated
) {
0-7781
187 ++updatingCenterIn;-
188-
189 qreal effectiveHCenterOffset = q->mirrored()
q->mirrored()Description
TRUEevaluated 40 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
FALSEevaluated 7741 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
? -hCenterOffset : hCenterOffset;
40-7741
190 if (centerIn == readParentItem(item)
centerIn == re...rentItem(item)Description
TRUEevaluated 7597 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
FALSEevaluated 184 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
) {
184-7597
191 QPointF p(hcenter(readParentItem(item)) - hcenter(item) + effectiveHCenterOffset,-
192 vcenter(readParentItem(item)) - vcenter(item) + vCenterOffset);-
193 setItemPos(p);-
194-
195 }
executed 7597 times by 33 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
else if (readParentItem(centerIn) == readParentItem(item)
readParentItem...rentItem(item)Description
TRUEevaluated 184 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
FALSEnever evaluated
) {
0-7597
196 QPointF p(centerIn->x() + hcenter(centerIn) - hcenter(item) + effectiveHCenterOffset,-
197 centerIn->y() + vcenter(centerIn) - vcenter(item) + vCenterOffset);-
198 setItemPos(p);-
199 }
executed 184 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanchors
184
200-
201 --updatingCenterIn;-
202 }
executed 7781 times by 33 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
else {
7781
203-
204 qmlWarning(item) << QQuickAnchors::tr("Possible anchor loop detected on centerIn.");-
205 }
never executed: end of block
0
206}-
207-
208void QQuickAnchorsPrivate::clearItem(QQuickItem *item)-
209{-
210 if (!item
!itemDescription
TRUEnever evaluated
FALSEevaluated 11962 times by 70 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
)
0-11962
211 return;
never executed: return;
0
212 if (fill == item
fill == itemDescription
TRUEevaluated 4828 times by 66 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • ...
FALSEevaluated 7134 times by 36 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
)
4828-7134
213 fill = nullptr;
executed 4828 times by 66 tests: fill = nullptr;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • ...
4828
214 if (centerIn == item
centerIn == itemDescription
TRUEevaluated 3844 times by 32 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • ...
FALSEevaluated 8118 times by 66 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgridview
  • tst_qquickgroupgoal
  • tst_qquickimage
  • ...
)
3844-8118
215 centerIn = nullptr;
executed 3844 times by 32 tests: centerIn = nullptr;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspritesequence
  • ...
3844
216 if (leftAnchorItem == item
leftAnchorItem == itemDescription
TRUEevaluated 438 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 11524 times by 70 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
438-11524
217 leftAnchorItem = nullptr;-
218 usedAnchors &= ~QQuickAnchors::LeftAnchor;-
219 }
executed 438 times by 16 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
438
220 if (rightAnchorItem == item
rightAnchorItem == itemDescription
TRUEevaluated 564 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 11398 times by 70 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
564-11398
221 rightAnchorItem = nullptr;-
222 usedAnchors &= ~QQuickAnchors::RightAnchor;-
223 }
executed 564 times by 12 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
564
224 if (topAnchorItem == item
topAnchorItem == itemDescription
TRUEevaluated 956 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 11006 times by 70 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
956-11006
225 topAnchorItem = nullptr;-
226 usedAnchors &= ~QQuickAnchors::TopAnchor;-
227 }
executed 956 times by 18 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
956
228 if (bottomAnchorItem == item
bottomAnchorItem == itemDescription
TRUEevaluated 1054 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_rendernode
FALSEevaluated 10908 times by 70 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
1054-10908
229 bottomAnchorItem = nullptr;-
230 usedAnchors &= ~QQuickAnchors::BottomAnchor;-
231 }
executed 1054 times by 17 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_rendernode
1054
232 if (vCenterAnchorItem == item
vCenterAnchorItem == itemDescription
TRUEevaluated 910 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
FALSEevaluated 11052 times by 70 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
910-11052
233 vCenterAnchorItem = nullptr;-
234 usedAnchors &= ~QQuickAnchors::VCenterAnchor;-
235 }
executed 910 times by 8 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
910
236 if (hCenterAnchorItem == item
hCenterAnchorItem == itemDescription
TRUEevaluated 1272 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
FALSEevaluated 10690 times by 70 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
1272-10690
237 hCenterAnchorItem = nullptr;-
238 usedAnchors &= ~QQuickAnchors::HCenterAnchor;-
239 }
executed 1272 times by 8 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
1272
240 if (baselineAnchorItem == item
baselineAnchorItem == itemDescription
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 11950 times by 70 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
) {
12-11950
241 baselineAnchorItem = nullptr;-
242 usedAnchors &= ~QQuickAnchors::BaselineAnchor;-
243 }
executed 12 times by 1 test: end of block
Executed by:
  • tst_qquickanchors
12
244}
executed 11962 times by 70 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickfriction
  • tst_qquickgravity
  • ...
11962
245-
246QQuickGeometryChange QQuickAnchorsPrivate::calculateDependency(QQuickItem *controlItem) const-
247{-
248 QQuickGeometryChange dependency;-
249-
250 if (!controlItem
!controlItemDescription
TRUEnever evaluated
FALSEevaluated 13474 times by 75 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
|| inDestructor
inDestructorDescription
TRUEevaluated 576 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquickvisualdatamodel
FALSEevaluated 12898 times by 75 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
)
0-13474
251 return
executed 576 times by 16 tests: return dependency;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquickvisualdatamodel
dependency;
executed 576 times by 16 tests: return dependency;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquickvisualdatamodel
576
252-
253 if (fill == controlItem
fill == controlItemDescription
TRUEevaluated 5104 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
FALSEevaluated 7794 times by 38 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpointattractor
  • ...
) {
5104-7794
254 if (controlItem == readParentItem(item)
controlItem ==...rentItem(item)Description
TRUEevaluated 4490 times by 70 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
FALSEevaluated 614 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquicktext
  • tst_touchmouse
)
614-4490
255 dependency.setSizeChange(true);
executed 4490 times by 70 tests: dependency.setSizeChange(true);
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
4490
256 else-
257 dependency.setAllChanged(true);
executed 614 times by 10 tests: dependency.setAllChanged(true);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquicktext
  • tst_touchmouse
614
258 return
executed 5104 times by 71 tests: return dependency;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
dependency;
executed 5104 times by 71 tests: return dependency;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
5104
259 }-
260-
261 if (centerIn == controlItem
centerIn == controlItemDescription
TRUEevaluated 3854 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
FALSEevaluated 3940 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
) {
3854-3940
262 if (controlItem == readParentItem(item)
controlItem ==...rentItem(item)Description
TRUEevaluated 3790 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
FALSEevaluated 64 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
)
64-3790
263 dependency.setSizeChange(true);
executed 3790 times by 33 tests: dependency.setSizeChange(true);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
3790
264 else-
265 dependency.setAllChanged(true);
executed 64 times by 2 tests: dependency.setAllChanged(true);
Executed by:
  • tst_examples
  • tst_qquickanchors
64
266 return
executed 3854 times by 33 tests: return dependency;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
dependency;
executed 3854 times by 33 tests: return dependency;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
3854
267 }-
268-
269 if ((usedAnchors & QQuickAnchors::LeftAnchor
usedAnchors & ...rs::LeftAnchorDescription
TRUEevaluated 820 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 3120 times by 22 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_rendernode
&& leftAnchorItem == controlItem
leftAnchorItem == controlItemDescription
TRUEevaluated 584 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 236 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
) ||
236-3120
270 (usedAnchors & QQuickAnchors::RightAnchor
usedAnchors & ...s::RightAnchorDescription
TRUEevaluated 748 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
  • tst_rendernode
FALSEevaluated 2608 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
&& rightAnchorItem == controlItem
rightAnchorItem == controlItemDescription
TRUEevaluated 614 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
  • tst_rendernode
FALSEevaluated 134 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquicklistview
  • tst_qquickstates
) ||
134-2608
271 (usedAnchors & QQuickAnchors::HCenterAnchor
usedAnchors & ...:HCenterAnchorDescription
TRUEevaluated 1404 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
FALSEevaluated 1338 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
&& hCenterAnchorItem == controlItem
hCenterAnchorI...== controlItemDescription
TRUEevaluated 1366 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
FALSEevaluated 38 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qquickitem2
  • tst_qquickstates
)) {
38-1404
272 if (controlItem == readParentItem(item)
controlItem ==...rentItem(item)Description
TRUEevaluated 2232 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 332 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_touchmouse
)
332-2232
273 dependency.setWidthChange(true);
executed 2232 times by 20 tests: dependency.setWidthChange(true);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
2232
274 else-
275 dependency.setHorizontalChange(true);
executed 332 times by 8 tests: dependency.setHorizontalChange(true);
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_touchmouse
332
276 }-
277-
278 if ((usedAnchors & QQuickAnchors::TopAnchor
usedAnchors & ...ors::TopAnchorDescription
TRUEevaluated 1276 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 2664 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_rendernode
  • tst_touchmouse
&& topAnchorItem == controlItem
topAnchorItem == controlItemDescription
TRUEevaluated 1030 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 246 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
) ||
246-2664
279 (usedAnchors & QQuickAnchors::BottomAnchor
usedAnchors & ...::BottomAnchorDescription
TRUEevaluated 956 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_rendernode
FALSEevaluated 1954 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_touchmouse
&& bottomAnchorItem == controlItem
bottomAnchorIt...== controlItemDescription
TRUEevaluated 858 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_rendernode
FALSEevaluated 98 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickstates
) ||
98-1954
280 (usedAnchors & QQuickAnchors::VCenterAnchor
usedAnchors & ...:VCenterAnchorDescription
TRUEevaluated 1026 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
FALSEevaluated 1026 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_touchmouse
&& vCenterAnchorItem == controlItem
vCenterAnchorI...== controlItemDescription
TRUEevaluated 926 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
FALSEevaluated 100 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickitem2
) ||
100-1026
281 (usedAnchors & QQuickAnchors::BaselineAnchor
usedAnchors & ...BaselineAnchorDescription
TRUEevaluated 20 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
FALSEevaluated 1106 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_touchmouse
&& baselineAnchorItem == controlItem
baselineAnchor...== controlItemDescription
TRUEevaluated 20 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
FALSEnever evaluated
)) {
0-1106
282 if (controlItem == readParentItem(item)
controlItem ==...rentItem(item)Description
TRUEevaluated 2546 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 288 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
)
288-2546
283 dependency.setHeightChange(true);
executed 2546 times by 23 tests: dependency.setHeightChange(true);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
2546
284 else-
285 dependency.setVerticalChange(true);
executed 288 times by 11 tests: dependency.setVerticalChange(true);
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
288
286 }-
287-
288 return
executed 3940 times by 25 tests: return dependency;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
dependency;
executed 3940 times by 25 tests: return dependency;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
3940
289}-
290-
291void QQuickAnchorsPrivate::addDepend(QQuickItem *item)-
292{-
293 if (!item
!itemDescription
TRUEnever evaluated
FALSEevaluated 27200 times by 75 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
|| !componentComplete
!componentCompleteDescription
TRUEevaluated 14498 times by 75 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
FALSEevaluated 12702 times by 75 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
)
0-27200
294 return;
executed 14498 times by 75 tests: return;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
14498
295-
296 QQuickItemPrivate *p = QQuickItemPrivate::get(item);-
297 p->updateOrAddGeometryChangeListener(this, calculateDependency(item));-
298}
executed 12702 times by 75 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
12702
299-
300void QQuickAnchorsPrivate::remDepend(QQuickItem *item)-
301{-
302 if (!item
!itemDescription
TRUEevaluated 126406 times by 83 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • ...
FALSEevaluated 772 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquickvisualdatamodel
|| !componentComplete
!componentCompleteDescription
TRUEnever evaluated
FALSEevaluated 772 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquickvisualdatamodel
)
0-126406
303 return;
executed 126406 times by 83 tests: return;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmllistmodel
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • ...
126406
304-
305 QQuickItemPrivate *p = QQuickItemPrivate::get(item);-
306 p->updateOrRemoveGeometryChangeListener(this, calculateDependency(item));-
307}
executed 772 times by 18 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpointerhandler
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquickvisualdatamodel
772
308-
309bool QQuickAnchors::mirrored()-
310{-
311 QQuickAnchorsPrivate * const d = d_func();-
312 return
executed 25460 times by 75 tests: return QQuickItemPrivate::get(d->item)->effectiveLayoutMirror;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
QQuickItemPrivate::get(d->item)->effectiveLayoutMirror;
executed 25460 times by 75 tests: return QQuickItemPrivate::get(d->item)->effectiveLayoutMirror;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
25460
313}-
314-
315bool QQuickAnchors::alignWhenCentered() const-
316{-
317 const QQuickAnchorsPrivate * const d = d_func();-
318 return
executed 4 times by 1 test: return d->centerAligned;
Executed by:
  • tst_qquickdesignersupport
d->centerAligned;
executed 4 times by 1 test: return d->centerAligned;
Executed by:
  • tst_qquickdesignersupport
4
319}-
320-
321void QQuickAnchors::setAlignWhenCentered(bool aligned)-
322{-
323 QQuickAnchorsPrivate * const d = d_func();-
324 if (aligned == d->centerAligned
aligned == d->centerAlignedDescription
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
0-6
325 return;
never executed: return;
0
326 d->centerAligned = aligned;-
327 centerAlignedChanged();-
328 if (d->centerIn
d->centerInDescription
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickanchors
) {
0-6
329 d->centerInChanged();-
330 }
never executed: end of block
else {
0
331 if (d->usedAnchors & QQuickAnchors::VCenterAnchor
d->usedAnchors...:VCenterAnchorDescription
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
0-6
332 d->updateVerticalAnchors();
never executed: d->updateVerticalAnchors();
0
333 else if (d->usedAnchors & QQuickAnchors::HCenterAnchor
d->usedAnchors...:HCenterAnchorDescription
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
0-6
334 d->updateHorizontalAnchors();
never executed: d->updateHorizontalAnchors();
0
335 }
executed 6 times by 1 test: end of block
Executed by:
  • tst_qquickanchors
6
336}-
337-
338bool QQuickAnchorsPrivate::isItemComplete() const-
339{-
340 return
executed 86394 times by 79 tests: return componentComplete;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • ...
componentComplete;
executed 86394 times by 79 tests: return componentComplete;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • ...
86394
341}-
342-
343void QQuickAnchors::classBegin()-
344{-
345 QQuickAnchorsPrivate * const d = d_func();-
346 d->componentComplete = false;-
347}
executed 12418 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • ...
12418
348-
349void QQuickAnchors::componentComplete()-
350{-
351 QQuickAnchorsPrivate * const d = d_func();-
352 d->componentComplete = true;-
353}
executed 12418 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • ...
12418
354-
355void QQuickAnchorsPrivate::setItemHeight(qreal v)-
356{-
357 updatingMe = true;-
358 item->setHeight(v);-
359 updatingMe = false;-
360}
executed 502 times by 11 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquickvisualdatamodel
502
361-
362void QQuickAnchorsPrivate::setItemWidth(qreal v)-
363{-
364 updatingMe = true;-
365 item->setWidth(v);-
366 updatingMe = false;-
367}
executed 714 times by 11 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_touchmouse
714
368-
369void QQuickAnchorsPrivate::setItemX(qreal v)-
370{-
371 updatingMe = true;-
372 item->setX(v);-
373 updatingMe = false;-
374}
executed 9528 times by 21 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
9528
375-
376void QQuickAnchorsPrivate::setItemY(qreal v)-
377{-
378 updatingMe = true;-
379 item->setY(v);-
380 updatingMe = false;-
381}
executed 10699 times by 23 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
10699
382-
383void QQuickAnchorsPrivate::setItemPos(const QPointF &v)-
384{-
385 updatingMe = true;-
386 item->setPosition(v);-
387 updatingMe = false;-
388}
executed 15608 times by 75 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
15608
389-
390void QQuickAnchorsPrivate::setItemSize(const QSizeF &v)-
391{-
392 updatingMe = true;-
393 item->setSize(v);-
394 updatingMe = false;-
395}
executed 7827 times by 71 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
7827
396-
397void QQuickAnchorsPrivate::updateMe()-
398{-
399 if (updatingMe
updatingMeDescription
TRUEevaluated 28032 times by 72 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • ...
FALSEevaluated 13884 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • ...
) {
13884-28032
400 updatingMe = false;-
401 return;
executed 28032 times by 72 tests: return;
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlvaluetypes
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • ...
28032
402 }-
403-
404 update();-
405}
executed 13884 times by 33 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • ...
13884
406-
407void QQuickAnchorsPrivate::updateOnComplete()-
408{-
409-
410 QQuickItem *dependencies[9];-
411 dependencies[0] = fill;-
412 dependencies[1] = centerIn;-
413 dependencies[2] = leftAnchorItem;-
414 dependencies[3] = rightAnchorItem;-
415 dependencies[4] = hCenterAnchorItem;-
416 dependencies[5] = topAnchorItem;-
417 dependencies[6] = bottomAnchorItem;-
418 dependencies[7] = vCenterAnchorItem;-
419 dependencies[8] = baselineAnchorItem;-
420-
421 std::sort(dependencies, dependencies + 9);-
422-
423 QQuickItem *lastDependency = nullptr;-
424 for (int i = 0; i < 9
i < 9Description
TRUEevaluated 111762 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • ...
FALSEevaluated 12418 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • ...
; ++i) {
12418-111762
425 QQuickItem *dependency = dependencies[i];-
426 if (lastDependency != dependency
lastDependency != dependencyDescription
TRUEevaluated 12504 times by 75 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
FALSEevaluated 99258 times by 77 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • ...
) {
12504-99258
427 addDepend(dependency);-
428 lastDependency = dependency;-
429 }
executed 12504 times by 75 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • ...
12504
430 }
executed 111762 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • ...
111762
431-
432 update();-
433}
executed 12418 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • ...
12418
434-
435-
436void QQuickAnchorsPrivate::update()-
437{-
438 if (!isItemComplete()
!isItemComplete()Description
TRUEevaluated 2270 times by 13 tests
Evaluated by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickaccessible
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 24032 times by 79 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • ...
)
2270-24032
439 return;
executed 2270 times by 13 tests: return;
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qquickaccessible
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickshadereffect
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_rendernode
  • tst_touchmouse
2270
440-
441 if (fill
fillDescription
TRUEevaluated 5104 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
FALSEevaluated 18928 times by 41 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • ...
) {
5104-18928
442 fillChanged();-
443 }
executed 5104 times by 71 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
else if (centerIn
centerInDescription
TRUEevaluated 6835 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
FALSEevaluated 12093 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktableview
  • tst_qquicktextedit
  • tst_qquicktextinput
  • ...
) {
5104-12093
444 centerInChanged();-
445 }
executed 6835 times by 33 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
else {
6835
446 if (usedAnchors & QQuickAnchors::Horizontal_Mask
usedAnchors & ...orizontal_MaskDescription
TRUEevaluated 8568 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 3525 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktableview
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
)
3525-8568
447 updateHorizontalAnchors();
executed 8568 times by 21 tests: updateHorizontalAnchors();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
8568
448 if (usedAnchors & QQuickAnchors::Vertical_Mask
usedAnchors & ...:Vertical_MaskDescription
TRUEevaluated 9857 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 2236 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktableview
  • tst_qquickvisualdatamodel
  • tst_touchmouse
)
2236-9857
449 updateVerticalAnchors();
executed 9857 times by 23 tests: updateVerticalAnchors();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
9857
450 }
executed 12093 times by 28 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlenginedebugservice
  • tst_qqmlproperty
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktableview
  • tst_qquicktextedit
  • tst_qquicktextinput
  • ...
12093
451}-
452-
453void QQuickAnchorsPrivate::itemGeometryChanged(QQuickItem *, QQuickGeometryChange change, const QRectF &)-
454{-
455 if (!isItemComplete()
!isItemComplete()Description
TRUEnever evaluated
FALSEevaluated 4837 times by 32 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklineextruder
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmaskextruder
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • ...
)
0-4837
456 return;
never executed: return;
0
457-
458 if (fill
fillDescription
TRUEevaluated 2659 times by 24 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklineextruder
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmaskextruder
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickturbulence
  • tst_touchmouse
FALSEevaluated 2178 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickimage
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
) {
2178-2659
459 fillChanged();-
460 }
executed 2659 times by 24 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklineextruder
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmaskextruder
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquicktextinput
  • tst_qquickturbulence
  • tst_touchmouse
else if (centerIn
centerInDescription
TRUEevaluated 930 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickstates
FALSEevaluated 1248 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickbehaviors
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicktextedit
) {
930-2659
461 centerInChanged();-
462 }
executed 930 times by 11 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanimations
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickstates
else {
930
463 if ((
(usedAnchors &...rizontal_Mask)Description
TRUEevaluated 956 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickpositioners
  • tst_qquicktextedit
FALSEevaluated 292 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickbehaviors
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
usedAnchors & QQuickAnchors::Horizontal_Mask)
(usedAnchors &...rizontal_Mask)Description
TRUEevaluated 956 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickpositioners
  • tst_qquicktextedit
FALSEevaluated 292 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickbehaviors
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
&& change.horizontalChange()
change.horizontalChange()Description
TRUEevaluated 756 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickpositioners
FALSEevaluated 200 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicktextedit
)
200-956
464 updateHorizontalAnchors();
executed 756 times by 6 tests: updateHorizontalAnchors();
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquickpositioners
756
465 if ((
(usedAnchors &...Vertical_Mask)Description
TRUEevaluated 770 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickbehaviors
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicktextedit
FALSEevaluated 478 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquicklayouts
  • tst_qquickpositioners
usedAnchors & QQuickAnchors::Vertical_Mask)
(usedAnchors &...Vertical_Mask)Description
TRUEevaluated 770 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickbehaviors
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicktextedit
FALSEevaluated 478 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquicklayouts
  • tst_qquickpositioners
&& change.verticalChange()
change.verticalChange()Description
TRUEevaluated 554 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickbehaviors
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicktextedit
FALSEevaluated 216 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickitem2
)
216-770
466 updateVerticalAnchors();
executed 554 times by 10 tests: updateVerticalAnchors();
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickbehaviors
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicktextedit
554
467 }
executed 1248 times by 10 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickbehaviors
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquicktextedit
1248
468}-
469-
470QQuickItem *QQuickAnchors::fill() const-
471{-
472 const QQuickAnchorsPrivate * const d = d_func();-
473 return
executed 250 times by 5 tests: return d->fill;
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickdesignersupport
  • tst_qquickpositioners
  • tst_qquickrepeater
d->fill;
executed 250 times by 5 tests: return d->fill;
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickdesignersupport
  • tst_qquickpositioners
  • tst_qquickrepeater
250
474}-
475-
476void QQuickAnchors::setFill(QQuickItem *f)-
477{-
478 QQuickAnchorsPrivate * const d = d_func();-
479 if (d->fill == f
d->fill == fDescription
TRUEevaluated 8 times by 3 tests
Evaluated by:
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickvisualdatamodel
FALSEevaluated 5108 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
)
8-5108
480 return;
executed 8 times by 3 tests: return;
Executed by:
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickvisualdatamodel
8
481-
482 if (!f
!fDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 5106 times by 71 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
) {
2-5106
483 QQuickItem *oldFill = d->fill;-
484 d->fill = f;-
485 d->remDepend(oldFill);-
486 fillChanged();-
487 return;
executed 2 times by 1 test: return;
Executed by:
  • tst_qquickanchors
2
488 }-
489 if (f != readParentItem(d->item)
f != readParentItem(d->item)Description
TRUEevaluated 616 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquicktext
  • tst_touchmouse
FALSEevaluated 4490 times by 70 tests
Evaluated by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
&& readParentItem(f) != readParentItem(d->item)
readParentItem...tItem(d->item)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 614 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpointerhandler
  • tst_qquicktext
  • tst_touchmouse
){
2-4490
490 qmlWarning(d->item) << tr("Cannot anchor to an item that isn't a parent or sibling.");-
491 return;
executed 2 times by 1 test: return;
Executed by:
  • tst_qquickanchors
2
492 }-
493 QQuickItem *oldFill = d->fill;-
494 d->fill = f;-
495 d->remDepend(oldFill);-
496 d->addDepend(d->fill);-
497 fillChanged();-
498 d->fillChanged();-
499}
executed 5104 times by 71 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlvaluetypes
  • tst_qqmlxmlhttprequest
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdraghandler
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • tst_qquickfriction
  • ...
5104
500-
501void QQuickAnchors::resetFill()-
502{-
503 setFill(nullptr);-
504}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickanchors
2
505-
506QQuickItem *QQuickAnchors::centerIn() const-
507{-
508 const QQuickAnchorsPrivate * const d = d_func();-
509 return
executed 246 times by 5 tests: return d->centerIn;
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickdesignersupport
  • tst_qquickpositioners
  • tst_qquickrepeater
d->centerIn;
executed 246 times by 5 tests: return d->centerIn;
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickdesignersupport
  • tst_qquickpositioners
  • tst_qquickrepeater
246
510}-
511-
512void QQuickAnchors::setCenterIn(QQuickItem* c)-
513{-
514 QQuickAnchorsPrivate * const d = d_func();-
515 if (d->centerIn == c
d->centerIn == cDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickpathview
FALSEevaluated 3858 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
)
2-3858
516 return;
executed 2 times by 1 test: return;
Executed by:
  • tst_qquickpathview
2
517-
518 if (!c
!cDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 3856 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
) {
2-3856
519 QQuickItem *oldCI = d->centerIn;-
520 d->centerIn = c;-
521 d->remDepend(oldCI);-
522 centerInChanged();-
523 return;
executed 2 times by 1 test: return;
Executed by:
  • tst_qquickanchors
2
524 }-
525 if (c != readParentItem(d->item)
c != readParentItem(d->item)Description
TRUEevaluated 66 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
FALSEevaluated 3790 times by 33 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
&& readParentItem(c) != readParentItem(d->item)
readParentItem...tItem(d->item)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 64 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
){
2-3790
526 qmlWarning(d->item) << tr("Cannot anchor to an item that isn't a parent or sibling.");-
527 return;
executed 2 times by 1 test: return;
Executed by:
  • tst_qquickanchors
2
528 }-
529 QQuickItem *oldCI = d->centerIn;-
530 d->centerIn = c;-
531 d->remDepend(oldCI);-
532 d->addDepend(d->centerIn);-
533 centerInChanged();-
534 d->centerInChanged();-
535}
executed 3854 times by 33 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickpointattractor
  • tst_qquickpositioners
  • tst_qquickrepeater
  • ...
3854
536-
537void QQuickAnchors::resetCenterIn()-
538{-
539 setCenterIn(nullptr);-
540}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickanchors
2
541-
542bool QQuickAnchorsPrivate::calcStretch(QQuickItem *edge1Item,-
543 QQuickAnchors::Anchor edge1Line,-
544 QQuickItem *edge2Item,-
545 QQuickAnchors::Anchor edge2Line,-
546 qreal offset1,-
547 qreal offset2,-
548 QQuickAnchors::Anchor line,-
549 qreal &stretch) const-
550{-
551 bool edge1IsParent = (edge1Item == readParentItem(item));-
552 bool edge2IsParent = (edge2Item == readParentItem(item));-
553 bool edge1IsSibling = (readParentItem(edge1Item) == readParentItem(item));-
554 bool edge2IsSibling = (readParentItem(edge2Item) == readParentItem(item));-
555-
556 bool invalid = false;-
557 if ((edge2IsParent
edge2IsParentDescription
TRUEevaluated 850 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_touchmouse
FALSEevaluated 366 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickstates
&& edge1IsParent
edge1IsParentDescription
TRUEevaluated 554 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_touchmouse
FALSEevaluated 296 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquicklistview
  • tst_qquickstates
) || (edge2IsSibling
edge2IsSiblingDescription
TRUEevaluated 366 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickstates
FALSEevaluated 296 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquicklistview
  • tst_qquickstates
&& edge1IsSibling
edge1IsSiblingDescription
TRUEevaluated 52 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquicklistview
FALSEevaluated 314 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickstates
)) {
52-850
558 stretch = (position(edge2Item, edge2Line) + offset2)-
559 - (position(edge1Item, edge1Line) + offset1);-
560 }
executed 606 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_touchmouse
else if (edge2IsParent
edge2IsParentDescription
TRUEevaluated 296 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquicklistview
  • tst_qquickstates
FALSEevaluated 314 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickstates
&& edge1IsSibling
edge1IsSiblingDescription
TRUEevaluated 296 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquicklistview
  • tst_qquickstates
FALSEnever evaluated
) {
0-606
561 stretch = (position(edge2Item, edge2Line) + offset2)-
562 - (position(readParentItem(item), line)-
563 + position(edge1Item, edge1Line) + offset1);-
564 }
executed 296 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquicklistview
  • tst_qquickstates
else if (edge2IsSibling
edge2IsSiblingDescription
TRUEevaluated 314 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickstates
FALSEnever evaluated
&& edge1IsParent
edge1IsParentDescription
TRUEevaluated 314 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickstates
FALSEnever evaluated
) {
0-314
565 stretch = (position(readParentItem(item), line) + position(edge2Item, edge2Line) + offset2)-
566 - (position(edge1Item, edge1Line) + offset1);-
567 }
executed 314 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickstates
else
314
568 invalid = true;
never executed: invalid = true;
0
569-
570 return
executed 1216 times by 14 tests: return invalid;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_touchmouse
invalid;
executed 1216 times by 14 tests: return invalid;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_touchmouse
1216
571}-
572-
573void QQuickAnchorsPrivate::updateVerticalAnchors()-
574{-
575 if (fill
fillDescription
TRUEevaluated 450 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquicktext
  • tst_qquicktextinput
FALSEevaluated 16107 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktableview
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • ...
|| centerIn
centerInDescription
TRUEevaluated 98 times by 1 test
Evaluated by:
  • tst_examples
FALSEevaluated 16009 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktableview
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • ...
|| !isItemComplete()
!isItemComplete()Description
TRUEevaluated 5200 times by 28 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktableview
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • ...
FALSEevaluated 10809 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
)
98-16107
576 return;
executed 5748 times by 30 tests: return;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktableview
  • tst_qquicktext
  • tst_qquicktextedit
  • ...
5748
577-
578 if (__builtin_expect(!!(updatingVerticalAnchor > 1), false)
__builtin_expe...r > 1), false)Description
TRUEnever evaluated
FALSEevaluated 10809 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
) {
0-10809
579-
580 qmlWarning(item) << QQuickAnchors::tr("Possible anchor loop detected on vertical anchor.");-
581 return;
never executed: return;
0
582 }-
583-
584 ++updatingVerticalAnchor;-
585 if (usedAnchors & QQuickAnchors::TopAnchor
usedAnchors & ...ors::TopAnchorDescription
TRUEevaluated 2060 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 8749 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_rendernode
) {
2060-8749
586-
587 bool invalid = true;-
588 qreal height = 0.0;-
589 if (usedAnchors & QQuickAnchors::BottomAnchor
usedAnchors & ...::BottomAnchorDescription
TRUEevaluated 498 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquickvisualdatamodel
FALSEevaluated 1562 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_rendernode
  • tst_touchmouse
) {
498-1562
590 invalid = calcStretch(topAnchorItem, topAnchorLine,-
591 bottomAnchorItem, bottomAnchorLine,-
592 topMargin, -bottomMargin, QQuickAnchors::TopAnchor, height);-
593 }
executed 498 times by 11 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquickvisualdatamodel
else if (usedAnchors & QQuickAnchors::VCenterAnchor
usedAnchors & ...:VCenterAnchorDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 1560 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_rendernode
  • tst_touchmouse
) {
2-1560
594 invalid = calcStretch(topAnchorItem, topAnchorLine,-
595 vCenterAnchorItem, vCenterAnchorLine,-
596 topMargin, vCenterOffset, QQuickAnchors::TopAnchor, height);-
597 height *= 2;-
598 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickanchors
2
599 if (!invalid
!invalidDescription
TRUEevaluated 500 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquickvisualdatamodel
FALSEevaluated 1560 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_rendernode
  • tst_touchmouse
)
500-1560
600 setItemHeight(height);
executed 500 times by 11 tests: setItemHeight(height);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquickvisualdatamodel
500
601-
602-
603 if (topAnchorItem == readParentItem(item)
topAnchorItem ...rentItem(item)Description
TRUEevaluated 1454 times by 18 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 606 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
) {
606-1454
604 setItemY(adjustedPosition(topAnchorItem, topAnchorLine) + topMargin);-
605 }
executed 1454 times by 18 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
else if (readParentItem(topAnchorItem) == readParentItem(item)
readParentItem...rentItem(item)Description
TRUEevaluated 606 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
FALSEnever evaluated
) {
0-1454
606 setItemY(position(topAnchorItem, topAnchorLine) + topMargin);-
607 }
executed 606 times by 10 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
606
608 }
executed 2060 times by 20 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
else if (usedAnchors & QQuickAnchors::BottomAnchor
usedAnchors & ...::BottomAnchorDescription
TRUEevaluated 7199 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_rendernode
FALSEevaluated 1550 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
) {
1550-7199
609-
610 if (usedAnchors & QQuickAnchors::VCenterAnchor
usedAnchors & ...:VCenterAnchorDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 7197 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_rendernode
) {
2-7197
611 qreal height = 0.0;-
612 bool invalid = calcStretch(vCenterAnchorItem, vCenterAnchorLine,-
613 bottomAnchorItem, bottomAnchorLine,-
614 vCenterOffset, -bottomMargin, QQuickAnchors::TopAnchor,-
615 height);-
616 if (!invalid
!invalidDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEnever evaluated
)
0-2
617 setItemHeight(height*2);
executed 2 times by 1 test: setItemHeight(height*2);
Executed by:
  • tst_qquickanchors
2
618 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickanchors
2
619-
620-
621 if (bottomAnchorItem == readParentItem(item)
bottomAnchorIt...rentItem(item)Description
TRUEevaluated 7123 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_rendernode
FALSEevaluated 76 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickstates
) {
76-7123
622 setItemY(adjustedPosition(bottomAnchorItem, bottomAnchorLine) - readHeight(item) - bottomMargin);-
623 }
executed 7123 times by 15 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_rendernode
else if (readParentItem(bottomAnchorItem) == readParentItem(item)
readParentItem...rentItem(item)Description
TRUEevaluated 76 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickstates
FALSEnever evaluated
) {
0-7123
624 setItemY(position(bottomAnchorItem, bottomAnchorLine) - readHeight(item) - bottomMargin);-
625 }
executed 76 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickstates
76
626 }
executed 7199 times by 16 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_rendernode
else if (usedAnchors & QQuickAnchors::VCenterAnchor
usedAnchors & ...:VCenterAnchorDescription
TRUEevaluated 1394 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
FALSEevaluated 156 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
) {
156-7199
627-
628-
629-
630 if (vCenterAnchorItem == readParentItem(item)
vCenterAnchorI...rentItem(item)Description
TRUEevaluated 1386 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
FALSEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
) {
8-1386
631 setItemY(adjustedPosition(vCenterAnchorItem, vCenterAnchorLine)-
632 - vcenter(item) + vCenterOffset);-
633 }
executed 1386 times by 9 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
else if (readParentItem(vCenterAnchorItem) == readParentItem(item)
readParentItem...rentItem(item)Description
TRUEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
FALSEnever evaluated
) {
0-1386
634 setItemY(position(vCenterAnchorItem, vCenterAnchorLine) - vcenter(item) + vCenterOffset);-
635 }
executed 8 times by 2 tests: end of block
Executed by:
  • tst_qquickanchors
  • tst_qquickstates
8
636 }
executed 1394 times by 9 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
else if (usedAnchors & QQuickAnchors::BaselineAnchor
usedAnchors & ...BaselineAnchorDescription
TRUEevaluated 46 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
FALSEevaluated 110 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
) {
46-1394
637-
638 if (baselineAnchorItem == readParentItem(item)
baselineAnchor...rentItem(item)Description
TRUEevaluated 8 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
FALSEevaluated 38 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
) {
8-38
639 setItemY(adjustedPosition(baselineAnchorItem, baselineAnchorLine)-
640 - readBaselineOffset(item) + baselineOffset);-
641 }
executed 8 times by 2 tests: end of block
Executed by:
  • tst_qquickanchors
  • tst_qquickstates
else if (readParentItem(baselineAnchorItem) == readParentItem(item)
readParentItem...rentItem(item)Description
TRUEevaluated 38 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
FALSEnever evaluated
) {
0-38
642 setItemY(position(baselineAnchorItem, baselineAnchorLine)-
643 - readBaselineOffset(item) + baselineOffset);-
644 }
executed 38 times by 2 tests: end of block
Executed by:
  • tst_qquickanchors
  • tst_qquickstates
38
645 }
executed 46 times by 2 tests: end of block
Executed by:
  • tst_qquickanchors
  • tst_qquickstates
46
646 --updatingVerticalAnchor;-
647}
executed 10809 times by 23 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
10809
648-
649static inline QQuickAnchors::Anchor reverseAnchorLine(QQuickAnchors::Anchor anchorLine)-
650{-
651 if (anchorLine == QQuickAnchors::LeftAnchor
anchorLine == ...rs::LeftAnchorDescription
TRUEevaluated 62 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickstates
  • tst_qquicktextinput
FALSEevaluated 358 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquickstates
  • tst_qquicktextinput
) {
62-358
652 return
executed 62 times by 4 tests: return QQuickAnchors::RightAnchor;
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickstates
  • tst_qquicktextinput
QQuickAnchors::RightAnchor;
executed 62 times by 4 tests: return QQuickAnchors::RightAnchor;
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickstates
  • tst_qquicktextinput
62
653 } else if (anchorLine == QQuickAnchors::RightAnchor
anchorLine == ...s::RightAnchorDescription
TRUEevaluated 36 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
FALSEevaluated 322 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquickstates
  • tst_qquicktextinput
) {
36-322
654 return
executed 36 times by 2 tests: return QQuickAnchors::LeftAnchor;
Executed by:
  • tst_qquickanchors
  • tst_qquickstates
QQuickAnchors::LeftAnchor;
executed 36 times by 2 tests: return QQuickAnchors::LeftAnchor;
Executed by:
  • tst_qquickanchors
  • tst_qquickstates
36
655 } else {-
656 return
executed 322 times by 5 tests: return anchorLine;
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquickstates
  • tst_qquicktextinput
anchorLine;
executed 322 times by 5 tests: return anchorLine;
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquickstates
  • tst_qquicktextinput
322
657 }-
658}-
659-
660void QQuickAnchorsPrivate::updateHorizontalAnchors()-
661{-
662 QQuickAnchors * const q = q_func();-
663 if (fill
fillDescription
TRUEevaluated 16 times by 5 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquicktext
  • tst_qquicktextedit
FALSEevaluated 14690 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktableview
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_scenegraph
  • tst_touchmouse
|| centerIn
centerInDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 14686 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktableview
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_scenegraph
  • tst_touchmouse
|| !isItemComplete()
!isItemComplete()Description
TRUEevaluated 4956 times by 25 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktableview
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_scenegraph
  • tst_touchmouse
FALSEevaluated 9730 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
)
4-14690
664 return;
executed 4976 times by 26 tests: return;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktableview
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_scenegraph
  • ...
4976
665-
666 if (updatingHorizontalAnchor < 3
updatingHorizontalAnchor < 3Description
TRUEevaluated 9724 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickanchors
) {
6-9724
667 ++updatingHorizontalAnchor;-
668 qreal effectiveRightMargin, effectiveLeftMargin, effectiveHorizontalCenterOffset;-
669 QQuickItem *effectiveLeftItem, *effectiveRightItem, *effectiveHorizontalCenterItem;-
670 QQuickAnchors::Anchor effectiveLeftLine, effectiveRightLine, effectiveHorizontalCenterLine;-
671 QQuickAnchors::Anchor effectiveLeftAnchor, effectiveRightAnchor;-
672 if (q->mirrored()
q->mirrored()Description
TRUEevaluated 140 times by 5 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquickstates
  • tst_qquicktextinput
FALSEevaluated 9584 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
) {
140-9584
673 effectiveLeftAnchor = QQuickAnchors::RightAnchor;-
674 effectiveRightAnchor = QQuickAnchors::LeftAnchor;-
675 effectiveLeftItem = rightAnchorItem;-
676 effectiveLeftLine = reverseAnchorLine(rightAnchorLine);-
677 effectiveRightItem = leftAnchorItem;-
678 effectiveRightLine = reverseAnchorLine(leftAnchorLine);-
679 effectiveHorizontalCenterItem = hCenterAnchorItem;-
680 effectiveHorizontalCenterLine = reverseAnchorLine(hCenterAnchorLine);-
681 effectiveLeftMargin = rightMargin;-
682 effectiveRightMargin = leftMargin;-
683 effectiveHorizontalCenterOffset = -hCenterOffset;-
684 }
executed 140 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquickstates
  • tst_qquicktextinput
else {
140
685 effectiveLeftAnchor = QQuickAnchors::LeftAnchor;-
686 effectiveRightAnchor = QQuickAnchors::RightAnchor;-
687 effectiveLeftItem = leftAnchorItem;-
688 effectiveLeftLine = leftAnchorLine;-
689 effectiveRightItem = rightAnchorItem;-
690 effectiveRightLine = rightAnchorLine;-
691 effectiveHorizontalCenterItem = hCenterAnchorItem;-
692 effectiveHorizontalCenterLine = hCenterAnchorLine;-
693 effectiveLeftMargin = leftMargin;-
694 effectiveRightMargin = rightMargin;-
695 effectiveHorizontalCenterOffset = hCenterOffset;-
696 }
executed 9584 times by 21 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
9584
697-
698 if (usedAnchors & effectiveLeftAnchor
usedAnchors & ...tiveLeftAnchorDescription
TRUEevaluated 1262 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 8462 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_rendernode
) {
1262-8462
699-
700 bool invalid = true;-
701 qreal width = 0.0;-
702 if (usedAnchors & effectiveRightAnchor
usedAnchors & ...iveRightAnchorDescription
TRUEevaluated 660 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_touchmouse
FALSEevaluated 602 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_rendernode
  • tst_touchmouse
) {
602-660
703 invalid = calcStretch(effectiveLeftItem, effectiveLeftLine,-
704 effectiveRightItem, effectiveRightLine,-
705 effectiveLeftMargin, -effectiveRightMargin,-
706 QQuickAnchors::LeftAnchor, width);-
707 }
executed 660 times by 11 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_touchmouse
else if (usedAnchors & QQuickAnchors::HCenterAnchor
usedAnchors & ...:HCenterAnchorDescription
TRUEevaluated 48 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
FALSEevaluated 554 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_rendernode
  • tst_touchmouse
) {
48-660
708 invalid = calcStretch(effectiveLeftItem, effectiveLeftLine,-
709 effectiveHorizontalCenterItem, effectiveHorizontalCenterLine,-
710 effectiveLeftMargin, effectiveHorizontalCenterOffset,-
711 QQuickAnchors::LeftAnchor, width);-
712 width *= 2;-
713 }
executed 48 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanchors
48
714 if (!invalid
!invalidDescription
TRUEevaluated 708 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_touchmouse
FALSEevaluated 554 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_rendernode
  • tst_touchmouse
)
554-708
715 setItemWidth(width);
executed 708 times by 11 tests: setItemWidth(width);
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_touchmouse
708
716-
717-
718 if (effectiveLeftItem == readParentItem(item)
effectiveLeftI...rentItem(item)Description
TRUEevaluated 936 times by 16 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 326 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_touchmouse
) {
326-936
719 setItemX(adjustedPosition(effectiveLeftItem, effectiveLeftLine) + effectiveLeftMargin);-
720 }
executed 936 times by 16 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
else if (readParentItem(effectiveLeftItem) == readParentItem(item)
readParentItem...rentItem(item)Description
TRUEevaluated 326 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_touchmouse
FALSEnever evaluated
) {
0-936
721 setItemX(position(effectiveLeftItem, effectiveLeftLine) + effectiveLeftMargin);-
722 }
executed 326 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_touchmouse
326
723 }
executed 1262 times by 17 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
else if (usedAnchors & effectiveRightAnchor
usedAnchors & ...iveRightAnchorDescription
TRUEevaluated 5696 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_rendernode
FALSEevaluated 2766 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
) {
1262-5696
724-
725 if (usedAnchors & QQuickAnchors::HCenterAnchor
usedAnchors & ...:HCenterAnchorDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 5690 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_rendernode
) {
6-5690
726 qreal width = 0.0;-
727 bool invalid = calcStretch(effectiveHorizontalCenterItem,-
728 effectiveHorizontalCenterLine,-
729 effectiveRightItem, effectiveRightLine,-
730 effectiveHorizontalCenterOffset, -effectiveRightMargin,-
731 QQuickAnchors::LeftAnchor, width);-
732 if (!invalid
!invalidDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEnever evaluated
)
0-6
733 setItemWidth(width*2);
executed 6 times by 1 test: setItemWidth(width*2);
Executed by:
  • tst_qquickanchors
6
734 }
executed 6 times by 1 test: end of block
Executed by:
  • tst_qquickanchors
6
735-
736-
737 if (effectiveRightItem == readParentItem(item)
effectiveRight...rentItem(item)Description
TRUEevaluated 5404 times by 12 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_rendernode
FALSEevaluated 292 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickstates
) {
292-5404
738 setItemX(adjustedPosition(effectiveRightItem, effectiveRightLine)-
739 - readWidth(item) - effectiveRightMargin);-
740 }
executed 5404 times by 12 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_rendernode
else if (readParentItem(effectiveRightItem) == readParentItem(item)
readParentItem...rentItem(item)Description
TRUEevaluated 292 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickstates
FALSEnever evaluated
) {
0-5404
741 setItemX(position(effectiveRightItem, effectiveRightLine)-
742 - readWidth(item) - effectiveRightMargin);-
743 }
executed 292 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickstates
292
744 }
executed 5696 times by 12 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_rendernode
else if (usedAnchors & QQuickAnchors::HCenterAnchor
usedAnchors & ...:HCenterAnchorDescription
TRUEevaluated 2570 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
FALSEevaluated 196 times by 6 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
) {
196-5696
745-
746 if (effectiveHorizontalCenterItem == readParentItem(item)
effectiveHoriz...rentItem(item)Description
TRUEevaluated 2546 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
FALSEevaluated 24 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickstates
) {
24-2546
747 setItemX(adjustedPosition(effectiveHorizontalCenterItem, effectiveHorizontalCenterLine) - hcenter(item) + effectiveHorizontalCenterOffset);-
748 }
executed 2546 times by 10 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
else if (readParentItem(effectiveHorizontalCenterItem) == readParentItem(item)
readParentItem...rentItem(item)Description
TRUEevaluated 24 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickstates
FALSEnever evaluated
) {
0-2546
749 setItemX(position(effectiveHorizontalCenterItem, effectiveHorizontalCenterLine) - hcenter(item) + effectiveHorizontalCenterOffset);-
750 }
executed 24 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickstates
24
751 }
executed 2570 times by 10 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
2570
752 --updatingHorizontalAnchor;-
753 }
executed 9724 times by 21 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
else {
9724
754-
755 qmlWarning(item) << QQuickAnchors::tr("Possible anchor loop detected on horizontal anchor.");-
756 }
executed 6 times by 1 test: end of block
Executed by:
  • tst_qquickanchors
6
757}-
758-
759QQuickAnchorLine QQuickAnchors::top() const-
760{-
761 const QQuickAnchorsPrivate * const d = d_func();-
762 return
executed 72 times by 6 tests: return QQuickAnchorLine(d->topAnchorItem, d->topAnchorLine);
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
QQuickAnchorLine(d->topAnchorItem, d->topAnchorLine);
executed 72 times by 6 tests: return QQuickAnchorLine(d->topAnchorItem, d->topAnchorLine);
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
72
763}-
764-
765void QQuickAnchors::setTop(const QQuickAnchorLine &edge)-
766{-
767 QQuickAnchorsPrivate * const d = d_func();-
768 if (!d->checkVAnchorValid(edge)
!d->checkVAnchorValid(edge)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 1016 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
||
8-1016
769 (d->topAnchorItem == edge.item
d->topAnchorItem == edge.itemDescription
TRUEnever evaluated
FALSEevaluated 1016 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
&& d->topAnchorLine == edge.anchorLine
d->topAnchorLi...dge.anchorLineDescription
TRUEnever evaluated
FALSEnever evaluated
))
0-1016
770 return;
executed 8 times by 1 test: return;
Executed by:
  • tst_qquickanchors
8
771-
772 d->usedAnchors |= TopAnchor;-
773-
774 if (!d->checkVValid()
!d->checkVValid()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 1014 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
) {
2-1014
775 d->usedAnchors &= ~TopAnchor;-
776 return;
executed 2 times by 1 test: return;
Executed by:
  • tst_qquickanchors
2
777 }-
778-
779 QQuickItem *oldTop = d->topAnchorItem;-
780 d->topAnchorItem = edge.item;-
781 d->topAnchorLine = edge.anchorLine;-
782 d->remDepend(oldTop);-
783 d->addDepend(d->topAnchorItem);-
784 topChanged();-
785 d->updateVerticalAnchors();-
786}
executed 1014 times by 20 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
1014
787-
788void QQuickAnchors::resetTop()-
789{-
790 QQuickAnchorsPrivate * const d = d_func();-
791 d->usedAnchors &= ~TopAnchor;-
792 d->remDepend(d->topAnchorItem);-
793 d->topAnchorItem = nullptr;-
794 d->topAnchorLine = QQuickAnchors::InvalidAnchor;-
795 topChanged();-
796 d->updateVerticalAnchors();-
797}
executed 52 times by 4 tests: end of block
Executed by:
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquickstates
52
798-
799QQuickAnchorLine QQuickAnchors::bottom() const-
800{-
801 const QQuickAnchorsPrivate * const d = d_func();-
802 return
executed 72 times by 6 tests: return QQuickAnchorLine(d->bottomAnchorItem, d->bottomAnchorLine);
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
QQuickAnchorLine(d->bottomAnchorItem, d->bottomAnchorLine);
executed 72 times by 6 tests: return QQuickAnchorLine(d->bottomAnchorItem, d->bottomAnchorLine);
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
72
803}-
804-
805void QQuickAnchors::setBottom(const QQuickAnchorLine &edge)-
806{-
807 QQuickAnchorsPrivate * const d = d_func();-
808 if (!d->checkVAnchorValid(edge)
!d->checkVAnchorValid(edge)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 1126 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_rendernode
||
8-1126
809 (d->bottomAnchorItem == edge.item
d->bottomAncho...m == edge.itemDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickstates
FALSEevaluated 1124 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_rendernode
&& d->bottomAnchorLine == edge.anchorLine
d->bottomAncho...dge.anchorLineDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickstates
FALSEnever evaluated
))
0-1124
810 return;
executed 10 times by 2 tests: return;
Executed by:
  • tst_qquickanchors
  • tst_qquickstates
10
811-
812 d->usedAnchors |= BottomAnchor;-
813-
814 if (!d->checkVValid()
!d->checkVValid()Description
TRUEnever evaluated
FALSEevaluated 1124 times by 19 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_rendernode
) {
0-1124
815 d->usedAnchors &= ~BottomAnchor;-
816 return;
never executed: return;
0
817 }-
818-
819 QQuickItem *oldBottom = d->bottomAnchorItem;-
820 d->bottomAnchorItem = edge.item;-
821 d->bottomAnchorLine = edge.anchorLine;-
822 d->remDepend(oldBottom);-
823 d->addDepend(d->bottomAnchorItem);-
824 bottomChanged();-
825 d->updateVerticalAnchors();-
826}
executed 1124 times by 19 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquickvisualdatamodel
  • tst_rendernode
1124
827-
828void QQuickAnchors::resetBottom()-
829{-
830 QQuickAnchorsPrivate * const d = d_func();-
831 d->usedAnchors &= ~BottomAnchor;-
832 d->remDepend(d->bottomAnchorItem);-
833 d->bottomAnchorItem = nullptr;-
834 d->bottomAnchorLine = QQuickAnchors::InvalidAnchor;-
835 bottomChanged();-
836 d->updateVerticalAnchors();-
837}
executed 50 times by 3 tests: end of block
Executed by:
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickstates
50
838-
839QQuickAnchorLine QQuickAnchors::verticalCenter() const-
840{-
841 const QQuickAnchorsPrivate * const d = d_func();-
842 return
executed 68 times by 6 tests: return QQuickAnchorLine(d->vCenterAnchorItem, d->vCenterAnchorLine);
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
QQuickAnchorLine(d->vCenterAnchorItem, d->vCenterAnchorLine);
executed 68 times by 6 tests: return QQuickAnchorLine(d->vCenterAnchorItem, d->vCenterAnchorLine);
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
68
843}-
844-
845void QQuickAnchors::setVerticalCenter(const QQuickAnchorLine &edge)-
846{-
847 QQuickAnchorsPrivate * const d = d_func();-
848 if (!d->checkVAnchorValid(edge)
!d->checkVAnchorValid(edge)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 922 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
||
2-922
849 (d->vCenterAnchorItem == edge.item
d->vCenterAnch...m == edge.itemDescription
TRUEnever evaluated
FALSEevaluated 922 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
&& d->vCenterAnchorLine == edge.anchorLine
d->vCenterAnch...dge.anchorLineDescription
TRUEnever evaluated
FALSEnever evaluated
))
0-922
850 return;
executed 2 times by 1 test: return;
Executed by:
  • tst_qquickanchors
2
851-
852 d->usedAnchors |= VCenterAnchor;-
853-
854 if (!d->checkVValid()
!d->checkVValid()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 920 times by 9 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
) {
2-920
855 d->usedAnchors &= ~VCenterAnchor;-
856 return;
executed 2 times by 1 test: return;
Executed by:
  • tst_qquickanchors
2
857 }-
858-
859 QQuickItem *oldVCenter = d->vCenterAnchorItem;-
860 d->vCenterAnchorItem = edge.item;-
861 d->vCenterAnchorLine = edge.anchorLine;-
862 d->remDepend(oldVCenter);-
863 d->addDepend(d->vCenterAnchorItem);-
864 verticalCenterChanged();-
865 d->updateVerticalAnchors();-
866}
executed 920 times by 9 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
920
867-
868void QQuickAnchors::resetVerticalCenter()-
869{-
870 QQuickAnchorsPrivate * const d = d_func();-
871 d->usedAnchors &= ~VCenterAnchor;-
872 d->remDepend(d->vCenterAnchorItem);-
873 d->vCenterAnchorItem = nullptr;-
874 d->vCenterAnchorLine = QQuickAnchors::InvalidAnchor;-
875 verticalCenterChanged();-
876 d->updateVerticalAnchors();-
877}
executed 20 times by 4 tests: end of block
Executed by:
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
20
878-
879QQuickAnchorLine QQuickAnchors::baseline() const-
880{-
881 const QQuickAnchorsPrivate * const d = d_func();-
882 return
executed 68 times by 6 tests: return QQuickAnchorLine(d->baselineAnchorItem, d->baselineAnchorLine);
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
QQuickAnchorLine(d->baselineAnchorItem, d->baselineAnchorLine);
executed 68 times by 6 tests: return QQuickAnchorLine(d->baselineAnchorItem, d->baselineAnchorLine);
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
68
883}-
884-
885void QQuickAnchors::setBaseline(const QQuickAnchorLine &edge)-
886{-
887 QQuickAnchorsPrivate * const d = d_func();-
888 if (!d->checkVAnchorValid(edge)
!d->checkVAnchorValid(edge)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 18 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
||
8-18
889 (d->baselineAnchorItem == edge.item
d->baselineAnc...m == edge.itemDescription
TRUEnever evaluated
FALSEevaluated 18 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
&& d->baselineAnchorLine == edge.anchorLine
d->baselineAnc...dge.anchorLineDescription
TRUEnever evaluated
FALSEnever evaluated
))
0-18
890 return;
executed 8 times by 1 test: return;
Executed by:
  • tst_qquickanchors
8
891-
892 d->usedAnchors |= BaselineAnchor;-
893-
894 if (!d->checkVValid()
!d->checkVValid()Description
TRUEnever evaluated
FALSEevaluated 18 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
) {
0-18
895 d->usedAnchors &= ~BaselineAnchor;-
896 return;
never executed: return;
0
897 }-
898-
899 QQuickItem *oldBaseline = d->baselineAnchorItem;-
900 d->baselineAnchorItem = edge.item;-
901 d->baselineAnchorLine = edge.anchorLine;-
902 d->remDepend(oldBaseline);-
903 d->addDepend(d->baselineAnchorItem);-
904 baselineChanged();-
905 d->updateVerticalAnchors();-
906}
executed 18 times by 2 tests: end of block
Executed by:
  • tst_qquickanchors
  • tst_qquickstates
18
907-
908void QQuickAnchors::resetBaseline()-
909{-
910 QQuickAnchorsPrivate * const d = d_func();-
911 d->usedAnchors &= ~BaselineAnchor;-
912 d->remDepend(d->baselineAnchorItem);-
913 d->baselineAnchorItem = nullptr;-
914 d->baselineAnchorLine = QQuickAnchors::InvalidAnchor;-
915 baselineChanged();-
916 d->updateVerticalAnchors();-
917}
executed 4 times by 2 tests: end of block
Executed by:
  • tst_qquickanchors
  • tst_qquickstates
4
918-
919QQuickAnchorLine QQuickAnchors::left() const-
920{-
921 const QQuickAnchorsPrivate * const d = d_func();-
922 return
executed 76 times by 6 tests: return QQuickAnchorLine(d->leftAnchorItem, d->leftAnchorLine);
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
QQuickAnchorLine(d->leftAnchorItem, d->leftAnchorLine);
executed 76 times by 6 tests: return QQuickAnchorLine(d->leftAnchorItem, d->leftAnchorLine);
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
76
923}-
924-
925void QQuickAnchors::setLeft(const QQuickAnchorLine &edge)-
926{-
927 QQuickAnchorsPrivate * const d = d_func();-
928 if (!d->checkHAnchorValid(edge)
!d->checkHAnchorValid(edge)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 562 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
||
8-562
929 (d->leftAnchorItem == edge.item
d->leftAnchorItem == edge.itemDescription
TRUEnever evaluated
FALSEevaluated 562 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
&& d->leftAnchorLine == edge.anchorLine
d->leftAnchorL...dge.anchorLineDescription
TRUEnever evaluated
FALSEnever evaluated
))
0-562
930 return;
executed 8 times by 1 test: return;
Executed by:
  • tst_qquickanchors
8
931-
932 d->usedAnchors |= LeftAnchor;-
933-
934 if (!d->checkHValid()
!d->checkHValid()Description
TRUEnever evaluated
FALSEevaluated 562 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
) {
0-562
935 d->usedAnchors &= ~LeftAnchor;-
936 return;
never executed: return;
0
937 }-
938-
939 QQuickItem *oldLeft = d->leftAnchorItem;-
940 d->leftAnchorItem = edge.item;-
941 d->leftAnchorLine = edge.anchorLine;-
942 d->remDepend(oldLeft);-
943 d->addDepend(d->leftAnchorItem);-
944 leftChanged();-
945 d->updateHorizontalAnchors();-
946}
executed 562 times by 17 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
562
947-
948void QQuickAnchors::resetLeft()-
949{-
950 QQuickAnchorsPrivate * const d = d_func();-
951 d->usedAnchors &= ~LeftAnchor;-
952 d->remDepend(d->leftAnchorItem);-
953 d->leftAnchorItem = nullptr;-
954 d->leftAnchorLine = QQuickAnchors::InvalidAnchor;-
955 leftChanged();-
956 d->updateHorizontalAnchors();-
957}
executed 92 times by 4 tests: end of block
Executed by:
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickitem2
  • tst_qquickstates
92
958-
959QQuickAnchorLine QQuickAnchors::right() const-
960{-
961 const QQuickAnchorsPrivate * const d = d_func();-
962 return
executed 80 times by 6 tests: return QQuickAnchorLine(d->rightAnchorItem, d->rightAnchorLine);
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
QQuickAnchorLine(d->rightAnchorItem, d->rightAnchorLine);
executed 80 times by 6 tests: return QQuickAnchorLine(d->rightAnchorItem, d->rightAnchorLine);
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
80
963}-
964-
965void QQuickAnchors::setRight(const QQuickAnchorLine &edge)-
966{-
967 QQuickAnchorsPrivate * const d = d_func();-
968 if (!d->checkHAnchorValid(edge)
!d->checkHAnchorValid(edge)Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 730 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
||
8-730
969 (d->rightAnchorItem == edge.item
d->rightAnchor...m == edge.itemDescription
TRUEnever evaluated
FALSEevaluated 730 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
&& d->rightAnchorLine == edge.anchorLine
d->rightAnchor...dge.anchorLineDescription
TRUEnever evaluated
FALSEnever evaluated
))
0-730
970 return;
executed 8 times by 1 test: return;
Executed by:
  • tst_qquickanchors
8
971-
972 d->usedAnchors |= RightAnchor;-
973-
974 if (!d->checkHValid()
!d->checkHValid()Description
TRUEnever evaluated
FALSEevaluated 730 times by 15 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
) {
0-730
975 d->usedAnchors &= ~RightAnchor;-
976 return;
never executed: return;
0
977 }-
978-
979 QQuickItem *oldRight = d->rightAnchorItem;-
980 d->rightAnchorItem = edge.item;-
981 d->rightAnchorLine = edge.anchorLine;-
982 d->remDepend(oldRight);-
983 d->addDepend(d->rightAnchorItem);-
984 rightChanged();-
985 d->updateHorizontalAnchors();-
986}
executed 730 times by 15 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
730
987-
988void QQuickAnchors::resetRight()-
989{-
990 QQuickAnchorsPrivate * const d = d_func();-
991 d->usedAnchors &= ~RightAnchor;-
992 d->remDepend(d->rightAnchorItem);-
993 d->rightAnchorItem = nullptr;-
994 d->rightAnchorLine = QQuickAnchors::InvalidAnchor;-
995 rightChanged();-
996 d->updateHorizontalAnchors();-
997}
executed 94 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickstates
94
998-
999QQuickAnchorLine QQuickAnchors::horizontalCenter() const-
1000{-
1001 const QQuickAnchorsPrivate * const d = d_func();-
1002 return
executed 72 times by 6 tests: return QQuickAnchorLine(d->hCenterAnchorItem, d->hCenterAnchorLine);
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
QQuickAnchorLine(d->hCenterAnchorItem, d->hCenterAnchorLine);
executed 72 times by 6 tests: return QQuickAnchorLine(d->hCenterAnchorItem, d->hCenterAnchorLine);
Executed by:
  • tst_examples
  • tst_qquickanimations
  • tst_qquickdesignersupport
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
72
1003}-
1004-
1005void QQuickAnchors::setHorizontalCenter(const QQuickAnchorLine &edge)-
1006{-
1007 QQuickAnchorsPrivate * const d = d_func();-
1008 if (!d->checkHAnchorValid(edge)
!d->checkHAnchorValid(edge)Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 1372 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
||
2-1372
1009 (d->hCenterAnchorItem == edge.item
d->hCenterAnch...m == edge.itemDescription
TRUEnever evaluated
FALSEevaluated 1372 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
&& d->hCenterAnchorLine == edge.anchorLine
d->hCenterAnch...dge.anchorLineDescription
TRUEnever evaluated
FALSEnever evaluated
))
0-1372
1010 return;
executed 2 times by 1 test: return;
Executed by:
  • tst_qquickanchors
2
1011-
1012 d->usedAnchors |= HCenterAnchor;-
1013-
1014 if (!d->checkHValid()
!d->checkHValid()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 1370 times by 10 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
) {
2-1370
1015 d->usedAnchors &= ~HCenterAnchor;-
1016 return;
executed 2 times by 1 test: return;
Executed by:
  • tst_qquickanchors
2
1017 }-
1018-
1019 QQuickItem *oldHCenter = d->hCenterAnchorItem;-
1020 d->hCenterAnchorItem = edge.item;-
1021 d->hCenterAnchorLine = edge.anchorLine;-
1022 d->remDepend(oldHCenter);-
1023 d->addDepend(d->hCenterAnchorItem);-
1024 horizontalCenterChanged();-
1025 d->updateHorizontalAnchors();-
1026}
executed 1370 times by 10 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
1370
1027-
1028void QQuickAnchors::resetHorizontalCenter()-
1029{-
1030 QQuickAnchorsPrivate * const d = d_func();-
1031 d->usedAnchors &= ~HCenterAnchor;-
1032 d->remDepend(d->hCenterAnchorItem);-
1033 d->hCenterAnchorItem = nullptr;-
1034 d->hCenterAnchorLine = QQuickAnchors::InvalidAnchor;-
1035 horizontalCenterChanged();-
1036 d->updateHorizontalAnchors();-
1037}
executed 26 times by 4 tests: end of block
Executed by:
  • tst_qquickanchors
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
26
1038-
1039qreal QQuickAnchors::leftMargin() const-
1040{-
1041 const QQuickAnchorsPrivate * const d = d_func();-
1042 return
executed 42 times by 3 tests: return d->leftMargin;
Executed by:
  • tst_qquickanchors
  • tst_qquickdesignersupport
  • tst_qquickitem2
d->leftMargin;
executed 42 times by 3 tests: return d->leftMargin;
Executed by:
  • tst_qquickanchors
  • tst_qquickdesignersupport
  • tst_qquickitem2
42
1043}-
1044-
1045void QQuickAnchors::setLeftMargin(qreal offset)-
1046{-
1047 QQuickAnchorsPrivate * const d = d_func();-
1048 d->leftMarginExplicit = true;-
1049 if (d->leftMargin == offset
d->leftMargin == offsetDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_examples
FALSEevaluated 414 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquicktextinput
)
2-414
1050 return;
executed 2 times by 1 test: return;
Executed by:
  • tst_examples
2
1051 d->leftMargin = offset;-
1052 if (d->fill
d->fillDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 410 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquicktextinput
)
4-410
1053 d->fillChanged();
executed 4 times by 1 test: d->fillChanged();
Executed by:
  • tst_qquickanchors
4
1054 else-
1055 d->updateHorizontalAnchors();
executed 410 times by 8 tests: d->updateHorizontalAnchors();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquicktextinput
410
1056 leftMarginChanged();-
1057}
executed 414 times by 8 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquicktextinput
414
1058-
1059void QQuickAnchors::resetLeftMargin()-
1060{-
1061 QQuickAnchorsPrivate * const d = d_func();-
1062 d->leftMarginExplicit = false;-
1063 if (d->leftMargin == d->margins
d->leftMargin == d->marginsDescription
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
0-4
1064 return;
never executed: return;
0
1065 d->leftMargin = d->margins;-
1066 if (d->fill
d->fillDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
2
1067 d->fillChanged();
executed 2 times by 1 test: d->fillChanged();
Executed by:
  • tst_qquickanchors
2
1068 else-
1069 d->updateHorizontalAnchors();
executed 2 times by 1 test: d->updateHorizontalAnchors();
Executed by:
  • tst_qquickanchors
2
1070 leftMarginChanged();-
1071}
executed 4 times by 1 test: end of block
Executed by:
  • tst_qquickanchors
4
1072-
1073qreal QQuickAnchors::rightMargin() const-
1074{-
1075 const QQuickAnchorsPrivate * const d = d_func();-
1076 return
executed 40 times by 2 tests: return d->rightMargin;
Executed by:
  • tst_qquickanchors
  • tst_qquickdesignersupport
d->rightMargin;
executed 40 times by 2 tests: return d->rightMargin;
Executed by:
  • tst_qquickanchors
  • tst_qquickdesignersupport
40
1077}-
1078-
1079void QQuickAnchors::setRightMargin(qreal offset)-
1080{-
1081 QQuickAnchorsPrivate * const d = d_func();-
1082 d->rightMarginExplicit = true;-
1083 if (d->rightMargin == offset
d->rightMargin == offsetDescription
TRUEnever evaluated
FALSEevaluated 208 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
)
0-208
1084 return;
never executed: return;
0
1085 d->rightMargin = offset;-
1086 if (d->fill
d->fillDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 202 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
)
6-202
1087 d->fillChanged();
executed 6 times by 1 test: d->fillChanged();
Executed by:
  • tst_qquickanchors
6
1088 else-
1089 d->updateHorizontalAnchors();
executed 202 times by 2 tests: d->updateHorizontalAnchors();
Executed by:
  • tst_examples
  • tst_qquickanchors
202
1090 rightMarginChanged();-
1091}
executed 208 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanchors
208
1092-
1093void QQuickAnchors::resetRightMargin()-
1094{-
1095 QQuickAnchorsPrivate * const d = d_func();-
1096 d->rightMarginExplicit = false;-
1097 if (d->rightMargin == d->margins
d->rightMargin == d->marginsDescription
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
0-4
1098 return;
never executed: return;
0
1099 d->rightMargin = d->margins;-
1100 if (d->fill
d->fillDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
2
1101 d->fillChanged();
executed 2 times by 1 test: d->fillChanged();
Executed by:
  • tst_qquickanchors
2
1102 else-
1103 d->updateHorizontalAnchors();
executed 2 times by 1 test: d->updateHorizontalAnchors();
Executed by:
  • tst_qquickanchors
2
1104 rightMarginChanged();-
1105}
executed 4 times by 1 test: end of block
Executed by:
  • tst_qquickanchors
4
1106-
1107qreal QQuickAnchors::margins() const-
1108{-
1109 const QQuickAnchorsPrivate * const d = d_func();-
1110 return
executed 28 times by 2 tests: return d->margins;
Executed by:
  • tst_qquickanchors
  • tst_qquickdesignersupport
d->margins;
executed 28 times by 2 tests: return d->margins;
Executed by:
  • tst_qquickanchors
  • tst_qquickdesignersupport
28
1111}-
1112-
1113void QQuickAnchors::setMargins(qreal offset)-
1114{-
1115 QQuickAnchorsPrivate * const d = d_func();-
1116 if (d->margins == offset
d->margins == offsetDescription
TRUEnever evaluated
FALSEevaluated 1582 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
)
0-1582
1117 return;
never executed: return;
0
1118 d->margins = offset;-
1119-
1120 bool updateHorizontal = false;-
1121 bool updateVertical = false;-
1122-
1123 if (!d->rightMarginExplicit
!d->rightMarginExplicitDescription
TRUEevaluated 1574 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEevaluated 8 times by 1 test
Evaluated by:
  • tst_qquickanchors
&& d->rightMargin != offset
d->rightMargin != offsetDescription
TRUEevaluated 1574 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEnever evaluated
) {
0-1574
1124 d->rightMargin = offset;-
1125 updateHorizontal = true;-
1126 rightMarginChanged();-
1127 }
executed 1574 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
1574
1128 if (!d->leftMarginExplicit
!d->leftMarginExplicitDescription
TRUEevaluated 1366 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEevaluated 216 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
&& d->leftMargin != offset
d->leftMargin != offsetDescription
TRUEevaluated 1366 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEnever evaluated
) {
0-1366
1129 d->leftMargin = offset;-
1130 updateHorizontal = true;-
1131 leftMarginChanged();-
1132 }
executed 1366 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
1366
1133 if (!d->topMarginExplicit
!d->topMarginExplicitDescription
TRUEevaluated 1314 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEevaluated 268 times by 3 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
&& d->topMargin != offset
d->topMargin != offsetDescription
TRUEevaluated 1314 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEnever evaluated
) {
0-1314
1134 d->topMargin = offset;-
1135 updateVertical = true;-
1136 topMarginChanged();-
1137 }
executed 1314 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
1314
1138 if (!d->bottomMarginExplicit
!d->bottomMarginExplicitDescription
TRUEevaluated 1384 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEevaluated 198 times by 3 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
&& d->bottomMargin != offset
d->bottomMargin != offsetDescription
TRUEevaluated 1384 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEnever evaluated
) {
0-1384
1139 d->bottomMargin = offset;-
1140 updateVertical = true;-
1141 bottomMarginChanged();-
1142 }
executed 1384 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
1384
1143-
1144 if (d->fill
d->fillDescription
TRUEevaluated 16 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquicklistview
FALSEevaluated 1566 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
) {
16-1566
1145 if (updateHorizontal
updateHorizontalDescription
TRUEevaluated 14 times by 3 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquicklistview
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
|| updateVertical
updateVerticalDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
0-14
1146 d->fillChanged();
executed 14 times by 3 tests: d->fillChanged();
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquicklistview
14
1147 }
executed 16 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquicklistview
else {
16
1148 if (updateHorizontal
updateHorizontalDescription
TRUEevaluated 1564 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
2-1564
1149 d->updateHorizontalAnchors();
executed 1564 times by 14 tests: d->updateHorizontalAnchors();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
1564
1150 if (updateVertical
updateVerticalDescription
TRUEevaluated 1370 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
FALSEevaluated 196 times by 3 tests
Evaluated by:
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
)
196-1370
1151 d->updateVerticalAnchors();
executed 1370 times by 14 tests: d->updateVerticalAnchors();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
1370
1152 }
executed 1566 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
1566
1153-
1154 marginsChanged();-
1155}
executed 1582 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickmultipointtoucharea
  • tst_qquicktableview
  • tst_rendernode
  • tst_scenegraph
1582
1156-
1157qreal QQuickAnchors::horizontalCenterOffset() const-
1158{-
1159 const QQuickAnchorsPrivate * const d = d_func();-
1160 return
executed 8 times by 2 tests: return d->hCenterOffset;
Executed by:
  • tst_qquickanchors
  • tst_qquickdesignersupport
d->hCenterOffset;
executed 8 times by 2 tests: return d->hCenterOffset;
Executed by:
  • tst_qquickanchors
  • tst_qquickdesignersupport
8
1161}-
1162-
1163void QQuickAnchors::setHorizontalCenterOffset(qreal offset)-
1164{-
1165 QQuickAnchorsPrivate * const d = d_func();-
1166 if (d->hCenterOffset == offset
d->hCenterOffset == offsetDescription
TRUEnever evaluated
FALSEevaluated 216 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
)
0-216
1167 return;
never executed: return;
0
1168 d->hCenterOffset = offset;-
1169 if (d->centerIn
d->centerInDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 212 times by 4 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
)
4-212
1170 d->centerInChanged();
executed 4 times by 1 test: d->centerInChanged();
Executed by:
  • tst_qquickanchors
4
1171 else-
1172 d->updateHorizontalAnchors();
executed 212 times by 4 tests: d->updateHorizontalAnchors();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
212
1173 horizontalCenterOffsetChanged();-
1174}
executed 216 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
216
1175-
1176qreal QQuickAnchors::topMargin() const-
1177{-
1178 const QQuickAnchorsPrivate * const d = d_func();-
1179 return
executed 42 times by 3 tests: return d->topMargin;
Executed by:
  • tst_qquickanchors
  • tst_qquickdesignersupport
  • tst_qquickitem2
d->topMargin;
executed 42 times by 3 tests: return d->topMargin;
Executed by:
  • tst_qquickanchors
  • tst_qquickdesignersupport
  • tst_qquickitem2
42
1180}-
1181-
1182void QQuickAnchors::setTopMargin(qreal offset)-
1183{-
1184 QQuickAnchorsPrivate * const d = d_func();-
1185 d->topMarginExplicit = true;-
1186 if (d->topMargin == offset
d->topMargin == offsetDescription
TRUEnever evaluated
FALSEevaluated 560 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextinput
)
0-560
1187 return;
never executed: return;
0
1188 d->topMargin = offset;-
1189 if (d->fill
d->fillDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 552 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextinput
)
8-552
1190 d->fillChanged();
executed 8 times by 1 test: d->fillChanged();
Executed by:
  • tst_qquickanchors
8
1191 else-
1192 d->updateVerticalAnchors();
executed 552 times by 7 tests: d->updateVerticalAnchors();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextinput
552
1193 topMarginChanged();-
1194}
executed 560 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquicktextinput
560
1195-
1196void QQuickAnchors::resetTopMargin()-
1197{-
1198 QQuickAnchorsPrivate * const d = d_func();-
1199 d->topMarginExplicit = false;-
1200 if (d->topMargin == d->margins
d->topMargin == d->marginsDescription
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
0-4
1201 return;
never executed: return;
0
1202 d->topMargin = d->margins;-
1203 if (d->fill
d->fillDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
2
1204 d->fillChanged();
executed 2 times by 1 test: d->fillChanged();
Executed by:
  • tst_qquickanchors
2
1205 else-
1206 d->updateVerticalAnchors();
executed 2 times by 1 test: d->updateVerticalAnchors();
Executed by:
  • tst_qquickanchors
2
1207 topMarginChanged();-
1208}
executed 4 times by 1 test: end of block
Executed by:
  • tst_qquickanchors
4
1209-
1210qreal QQuickAnchors::bottomMargin() const-
1211{-
1212 const QQuickAnchorsPrivate * const d = d_func();-
1213 return
executed 40 times by 2 tests: return d->bottomMargin;
Executed by:
  • tst_qquickanchors
  • tst_qquickdesignersupport
d->bottomMargin;
executed 40 times by 2 tests: return d->bottomMargin;
Executed by:
  • tst_qquickanchors
  • tst_qquickdesignersupport
40
1214}-
1215-
1216void QQuickAnchors::setBottomMargin(qreal offset)-
1217{-
1218 QQuickAnchorsPrivate * const d = d_func();-
1219 d->bottomMarginExplicit = true;-
1220 if (d->bottomMargin == offset
d->bottomMargin == offsetDescription
TRUEnever evaluated
FALSEevaluated 302 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
)
0-302
1221 return;
never executed: return;
0
1222 d->bottomMargin = offset;-
1223 if (d->fill
d->fillDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 296 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
)
6-296
1224 d->fillChanged();
executed 6 times by 1 test: d->fillChanged();
Executed by:
  • tst_qquickanchors
6
1225 else-
1226 d->updateVerticalAnchors();
executed 296 times by 7 tests: d->updateVerticalAnchors();
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
296
1227 bottomMarginChanged();-
1228}
executed 302 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
302
1229-
1230void QQuickAnchors::resetBottomMargin()-
1231{-
1232 QQuickAnchorsPrivate * const d = d_func();-
1233 d->bottomMarginExplicit = false;-
1234 if (d->bottomMargin == d->margins
d->bottomMargin == d->marginsDescription
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
0-4
1235 return;
never executed: return;
0
1236 d->bottomMargin = d->margins;-
1237 if (d->fill
d->fillDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
2
1238 d->fillChanged();
executed 2 times by 1 test: d->fillChanged();
Executed by:
  • tst_qquickanchors
2
1239 else-
1240 d->updateVerticalAnchors();
executed 2 times by 1 test: d->updateVerticalAnchors();
Executed by:
  • tst_qquickanchors
2
1241 bottomMarginChanged();-
1242}
executed 4 times by 1 test: end of block
Executed by:
  • tst_qquickanchors
4
1243-
1244qreal QQuickAnchors::verticalCenterOffset() const-
1245{-
1246 const QQuickAnchorsPrivate * const d = d_func();-
1247 return
executed 8 times by 2 tests: return d->vCenterOffset;
Executed by:
  • tst_qquickanchors
  • tst_qquickdesignersupport
d->vCenterOffset;
executed 8 times by 2 tests: return d->vCenterOffset;
Executed by:
  • tst_qquickanchors
  • tst_qquickdesignersupport
8
1248}-
1249-
1250void QQuickAnchors::setVerticalCenterOffset(qreal offset)-
1251{-
1252 QQuickAnchorsPrivate * const d = d_func();-
1253 if (d->vCenterOffset == offset
d->vCenterOffset == offsetDescription
TRUEnever evaluated
FALSEevaluated 16 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
0-16
1254 return;
never executed: return;
0
1255 d->vCenterOffset = offset;-
1256 if (d->centerIn
d->centerInDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
4-12
1257 d->centerInChanged();
executed 4 times by 1 test: d->centerInChanged();
Executed by:
  • tst_qquickanchors
4
1258 else-
1259 d->updateVerticalAnchors();
executed 12 times by 1 test: d->updateVerticalAnchors();
Executed by:
  • tst_qquickanchors
12
1260 verticalCenterOffsetChanged();-
1261}
executed 16 times by 1 test: end of block
Executed by:
  • tst_qquickanchors
16
1262-
1263qreal QQuickAnchors::baselineOffset() const-
1264{-
1265 const QQuickAnchorsPrivate * const d = d_func();-
1266 return
executed 4 times by 1 test: return d->baselineOffset;
Executed by:
  • tst_qquickdesignersupport
d->baselineOffset;
executed 4 times by 1 test: return d->baselineOffset;
Executed by:
  • tst_qquickdesignersupport
4
1267}-
1268-
1269void QQuickAnchors::setBaselineOffset(qreal offset)-
1270{-
1271 QQuickAnchorsPrivate * const d = d_func();-
1272 if (d->baselineOffset == offset
d->baselineOffset == offsetDescription
TRUEnever evaluated
FALSEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickanchors
)
0-4
1273 return;
never executed: return;
0
1274 d->baselineOffset = offset;-
1275 d->updateVerticalAnchors();-
1276 baselineOffsetChanged();-
1277}
executed 4 times by 1 test: end of block
Executed by:
  • tst_qquickanchors
4
1278-
1279QQuickAnchors::Anchors QQuickAnchors::usedAnchors() const-
1280{-
1281 const QQuickAnchorsPrivate * const d = d_func();-
1282 return
executed 4233 times by 25 tests: return static_cast<QQuickAnchors::Anchors>(d->usedAnchors);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlbinding
  • tst_qqmlproperty
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_scenegraph
static_cast<QQuickAnchors::Anchors>(d->usedAnchors);
executed 4233 times by 25 tests: return static_cast<QQuickAnchors::Anchors>(d->usedAnchors);
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlbinding
  • tst_qqmlproperty
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_scenegraph
4233
1283}-
1284-
1285Qt::Orientations QQuickAnchors::activeDirections() const-
1286{-
1287 const QQuickAnchorsPrivate * const d = d_func();-
1288 if (d->fill
d->fillDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquicklayouts
FALSEevaluated 14 times by 1 test
Evaluated by:
  • tst_qquicklayouts
|| d->centerIn
d->centerInDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquicklayouts
FALSEevaluated 12 times by 1 test
Evaluated by:
  • tst_qquicklayouts
)
2-14
1289 return
executed 4 times by 1 test: return Qt::Horizontal | Qt::Vertical;
Executed by:
  • tst_qquicklayouts
Qt::Horizontal | Qt::Vertical;
executed 4 times by 1 test: return Qt::Horizontal | Qt::Vertical;
Executed by:
  • tst_qquicklayouts
4
1290 Qt::Orientations o;-
1291 if (d->usedAnchors & QQuickAnchors::Horizontal_Mask
d->usedAnchors...orizontal_MaskDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquicklayouts
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquicklayouts
)
6
1292 o |= Qt::Horizontal;
executed 6 times by 1 test: o |= Qt::Horizontal;
Executed by:
  • tst_qquicklayouts
6
1293 if (d->usedAnchors & QQuickAnchors::Vertical_Mask
d->usedAnchors...:Vertical_MaskDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquicklayouts
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquicklayouts
)
6
1294 o |= Qt::Vertical;
executed 6 times by 1 test: o |= Qt::Vertical;
Executed by:
  • tst_qquicklayouts
6
1295 return
executed 12 times by 1 test: return o;
Executed by:
  • tst_qquicklayouts
o;
executed 12 times by 1 test: return o;
Executed by:
  • tst_qquicklayouts
12
1296}-
1297-
1298bool QQuickAnchorsPrivate::checkHValid() const-
1299{-
1300 if (usedAnchors & QQuickAnchors::LeftAnchor
usedAnchors & ...rs::LeftAnchorDescription
TRUEevaluated 826 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 1838 times by 14 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_rendernode
&&
826-1838
1301 usedAnchors & QQuickAnchors::RightAnchor
usedAnchors & ...s::RightAnchorDescription
TRUEevaluated 250 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_touchmouse
FALSEevaluated 576 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
&&
250-576
1302 usedAnchors & QQuickAnchors::HCenterAnchor
usedAnchors & ...:HCenterAnchorDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 248 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickstates
  • tst_qquickvisualdatamodel
  • tst_touchmouse
) {
2-248
1303 qmlWarning(item) << QQuickAnchors::tr("Cannot specify left, right, and horizontalCenter anchors at the same time.");-
1304 return
executed 2 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
false;
executed 2 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
2
1305 }-
1306-
1307 return
executed 2662 times by 21 tests: return true;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
true;
executed 2662 times by 21 tests: return true;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
2662
1308}-
1309-
1310bool QQuickAnchorsPrivate::checkHAnchorValid(QQuickAnchorLine anchor) const-
1311{-
1312 if (!anchor.item
!anchor.itemDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 2676 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
) {
6-2676
1313 qmlWarning(item) << QQuickAnchors::tr("Cannot anchor to a null item.");-
1314 return
executed 6 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
false;
executed 6 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
6
1315 } else if (anchor.anchorLine & QQuickAnchors::Vertical_Mask
anchor.anchorL...:Vertical_MaskDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 2672 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
) {
4-2672
1316 qmlWarning(item) << QQuickAnchors::tr("Cannot anchor a horizontal edge to a vertical edge.");-
1317 return
executed 4 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
false;
executed 4 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
4
1318 } else if (anchor.item != readParentItem(item)
anchor.item !=...rentItem(item)Description
TRUEevaluated 356 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_touchmouse
FALSEevaluated 2316 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
356-2316
1319 && readParentItem(anchor.item) != readParentItem(item)
readParentItem...rentItem(item)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 352 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_touchmouse
) {
4-352
1320 qmlWarning(item) << QQuickAnchors::tr("Cannot anchor to an item that isn't a parent or sibling.");-
1321 return
executed 4 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
false;
executed 4 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
4
1322 } else if (anchor.item == item
anchor.item == itemDescription
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 2664 times by 21 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
) {
4-2664
1323 qmlWarning(item) << QQuickAnchors::tr("Cannot anchor item to self.");-
1324 return
executed 4 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
false;
executed 4 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
4
1325 }-
1326-
1327 return
executed 2664 times by 21 tests: return true;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
true;
executed 2664 times by 21 tests: return true;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
2664
1328}-
1329-
1330bool QQuickAnchorsPrivate::checkVValid() const-
1331{-
1332 if (usedAnchors & QQuickAnchors::TopAnchor
usedAnchors & ...ors::TopAnchorDescription
TRUEevaluated 1420 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
FALSEevaluated 1660 times by 17 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_rendernode
&&
1420-1660
1333 usedAnchors & QQuickAnchors::BottomAnchor
usedAnchors & ...::BottomAnchorDescription
TRUEevaluated 412 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquickvisualdatamodel
FALSEevaluated 1008 times by 20 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
&&
412-1008
1334 usedAnchors & QQuickAnchors::VCenterAnchor
usedAnchors & ...:VCenterAnchorDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 410 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquickvisualdatamodel
) {
2-410
1335 qmlWarning(item) << QQuickAnchors::tr("Cannot specify top, bottom, and verticalCenter anchors at the same time.");-
1336 return
executed 2 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
false;
executed 2 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
2
1337 } else if (usedAnchors & QQuickAnchors::BaselineAnchor
usedAnchors & ...BaselineAnchorDescription
TRUEevaluated 20 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
FALSEevaluated 3058 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
&&
20-3058
1338 (usedAnchors & QQuickAnchors::TopAnchor
usedAnchors & ...ors::TopAnchorDescription
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 18 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
||
2-18
1339 usedAnchors & QQuickAnchors::BottomAnchor
usedAnchors & ...::BottomAnchorDescription
TRUEnever evaluated
FALSEevaluated 18 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
||
0-18
1340 usedAnchors & QQuickAnchors::VCenterAnchor
usedAnchors & ...:VCenterAnchorDescription
TRUEnever evaluated
FALSEevaluated 18 times by 2 tests
Evaluated by:
  • tst_qquickanchors
  • tst_qquickstates
)) {
0-18
1341 qmlWarning(item) << QQuickAnchors::tr("Baseline anchor cannot be used in conjunction with top, bottom, or verticalCenter anchors.");-
1342 return
executed 2 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
false;
executed 2 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
2
1343 }-
1344-
1345 return
executed 3076 times by 23 tests: return true;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
true;
executed 3076 times by 23 tests: return true;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
3076
1346}-
1347-
1348bool QQuickAnchorsPrivate::checkVAnchorValid(QQuickAnchorLine anchor) const-
1349{-
1350 if (!anchor.item
!anchor.itemDescription
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 3100 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
) {
8-3100
1351 qmlWarning(item) << QQuickAnchors::tr("Cannot anchor to a null item.");-
1352 return
executed 8 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
false;
executed 8 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
8
1353 } else if (anchor.anchorLine & QQuickAnchors::Horizontal_Mask
anchor.anchorL...orizontal_MaskDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 3094 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
) {
6-3094
1354 qmlWarning(item) << QQuickAnchors::tr("Cannot anchor a vertical edge to a horizontal edge.");-
1355 return
executed 6 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
false;
executed 6 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
6
1356 } else if (anchor.item != readParentItem(item)
anchor.item !=...rentItem(item)Description
TRUEevaluated 306 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
FALSEevaluated 2788 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
306-2788
1357 && readParentItem(anchor.item) != readParentItem(item)
readParentItem...rentItem(item)Description
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 300 times by 11 tests
Evaluated by:
  • tst_examples
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
) {
6-300
1358 qmlWarning(item) << QQuickAnchors::tr("Cannot anchor to an item that isn't a parent or sibling.");-
1359 return
executed 6 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
false;
executed 6 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
6
1360 } else if (anchor.item == item
anchor.item == itemDescription
TRUEevaluated 6 times by 1 test
Evaluated by:
  • tst_qquickanchors
FALSEevaluated 3082 times by 23 tests
Evaluated by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
){
6-3082
1361 qmlWarning(item) << QQuickAnchors::tr("Cannot anchor item to self.");-
1362 return
executed 6 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
false;
executed 6 times by 1 test: return false;
Executed by:
  • tst_qquickanchors
6
1363 }-
1364-
1365 return
executed 3082 times by 23 tests: return true;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
true;
executed 3082 times by 23 tests: return true;
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickaccessible
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_rendernode
  • tst_touchmouse
3082
1366}-
1367-
1368-
1369-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0