OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQuickAnchorsPrivate
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–´
QQuickAnchorsPrivate [qquickanchors_p_p.h #1]
Name: QQuickAnchorsPrivate::QQuickAnchorsPrivate [qquickanchors_p_p.h #1]
Prototype: QQuickAnchorsPrivate(QQuickItem *i)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors_p_p.h #1
Lines: 83-123
100.000% (1/1)
21
anchorPrivate [qquickanchors_p_p.h #1]
Name: QQuickAnchorsPrivate::anchorPrivate [qquickanchors_p_p.h #1]
Prototype: QQuickAnchorsPrivate *anchorPrivate() override
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors_p_p.h #1
Lines: 145-145
100.000% (1/1)
11
get [qquickanchors_p_p.h #1]
Name: QQuickAnchorsPrivate::get [qquickanchors_p_p.h #1]
Prototype: static inline QQuickAnchorsPrivate *get(QQuickAnchors *o)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors_p_p.h #1
Lines: 212-214
100.000% (1/1)
11
isItemComplete
Name: QQuickAnchorsPrivate::isItemComplete
Prototype: bool QQuickAnchorsPrivate::isItemComplete() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 380-383
100.000% (1/1)
11
setItemHeight
Name: QQuickAnchorsPrivate::setItemHeight
Prototype: void QQuickAnchorsPrivate::setItemHeight(qreal v)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 397-402
100.000% (1/1)
31
setItemPos
Name: QQuickAnchorsPrivate::setItemPos
Prototype: void QQuickAnchorsPrivate::setItemPos(const QPointF &v)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 425-430
100.000% (1/1)
31
setItemSize
Name: QQuickAnchorsPrivate::setItemSize
Prototype: void QQuickAnchorsPrivate::setItemSize(const QSizeF &v)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 432-437
100.000% (1/1)
31
setItemWidth
Name: QQuickAnchorsPrivate::setItemWidth
Prototype: void QQuickAnchorsPrivate::setItemWidth(qreal v)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 404-409
100.000% (1/1)
31
setItemX
Name: QQuickAnchorsPrivate::setItemX
Prototype: void QQuickAnchorsPrivate::setItemX(qreal v)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 411-416
100.000% (1/1)
31
setItemY
Name: QQuickAnchorsPrivate::setItemY
Prototype: void QQuickAnchorsPrivate::setItemY(qreal v)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 418-423
100.000% (1/1)
31
addDepend
Name: QQuickAnchorsPrivate::addDepend
Prototype: void QQuickAnchorsPrivate::addDepend(QQuickItem *item)
Coverage:  83.333% (5/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 333-340
 83.333% (5/6)
42
checkHValid
Name: QQuickAnchorsPrivate::checkHValid
Prototype: bool QQuickAnchorsPrivate::checkHValid() const
Coverage: 100.000% (8/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 1340-1350
100.000% (8/8)
62
remDepend
Name: QQuickAnchorsPrivate::remDepend
Prototype: void QQuickAnchorsPrivate::remDepend(QQuickItem *item)
Coverage:  83.333% (5/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 342-349
 83.333% (5/6)
42
updateMe
Name: QQuickAnchorsPrivate::updateMe
Prototype: void QQuickAnchorsPrivate::updateMe()
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 439-447
100.000% (4/4)
42
checkVValid
Name: QQuickAnchorsPrivate::checkVValid
Prototype: bool QQuickAnchorsPrivate::checkVValid() const
Coverage:  88.235% (15/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 1372-1388
 88.235% (15/17)
123
updateOnComplete
Name: QQuickAnchorsPrivate::updateOnComplete
Prototype: void QQuickAnchorsPrivate::updateOnComplete()
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 449-475
100.000% (7/7)
183
calcStretch
Name: QQuickAnchorsPrivate::calcStretch
Prototype: bool QQuickAnchorsPrivate::calcStretch(QQuickItem *edge1Item, QQuickAnchors::Anchor edge1Line, QQuickItem *edge2Item, QQuickAnchors::Anchor edge2Line, qreal offset1, qreal offset2, QQuickAnchors::Anchor line, qreal &stretch) const
Coverage:  80.952% (17/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 584-613
 80.952% (17/21)
174
centerInChanged
Name: QQuickAnchorsPrivate::centerInChanged
Prototype: void QQuickAnchorsPrivate::centerInChanged()
Coverage:  78.947% (15/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 222-248
 78.947% (15/19)
165
checkHAnchorValid
Name: QQuickAnchorsPrivate::checkHAnchorValid
Prototype: bool QQuickAnchorsPrivate::checkHAnchorValid(QQuickAnchorLine anchor) const
Coverage: 100.000% (15/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 1352-1370
100.000% (15/15)
145
checkVAnchorValid
Name: QQuickAnchorsPrivate::checkVAnchorValid
Prototype: bool QQuickAnchorsPrivate::checkVAnchorValid(QQuickAnchorLine anchor) const
Coverage: 100.000% (15/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 1390-1408
100.000% (15/15)
145
fillChanged
Name: QQuickAnchorsPrivate::fillChanged
Prototype: void QQuickAnchorsPrivate::fillChanged()
Coverage:  82.353% (14/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 195-220
 82.353% (14/17)
145
itemGeometryChanged
Name: QQuickAnchorsPrivate::itemGeometryChanged
Prototype: void QQuickAnchorsPrivate::itemGeometryChanged(QQuickItem *, QQuickGeometryChange change, const QRectF &)
Coverage:  90.000% (18/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 495-510
 90.000% (18/20)
106
update
Name: QQuickAnchorsPrivate::update
Prototype: void QQuickAnchorsPrivate::update()
Coverage: 100.000% (16/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 478-493
100.000% (16/16)
106
calculateDependency
Name: QQuickAnchorsPrivate::calculateDependency
Prototype: QQuickGeometryChange QQuickAnchorsPrivate::calculateDependency(QQuickItem *controlItem) const
Coverage:  96.429% (54/56)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 288-331
 96.429% (54/56)
2710
clearItem
Name: QQuickAnchorsPrivate::clearItem
Prototype: void QQuickAnchorsPrivate::clearItem(QQuickItem *item)
Coverage:  93.548% (29/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 250-286
 93.548% (29/31)
2711
updateHorizontalAnchors
Name: QQuickAnchorsPrivate::updateHorizontalAnchors
Prototype: void QQuickAnchorsPrivate::updateHorizontalAnchors()
Coverage:  92.982% (53/57)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 702-799
 92.982% (53/57)
7518
updateVerticalAnchors
Name: QQuickAnchorsPrivate::updateVerticalAnchors
Prototype: void QQuickAnchorsPrivate::updateVerticalAnchors()
Coverage:  88.710% (55/62)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickanchors.cpp
Lines: 615-689
 88.710% (55/62)
5120

Generated by Squish Coco 4.2.0