OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQuickGridView
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–´
QQuickGridView
Name: QQuickGridView::QQuickGridView
Prototype: QQuickGridView::QQuickGridView(QQuickItem *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 1240-1243
100.000% (1/1)
21
cellHeight
Name: QQuickGridView::cellHeight
Prototype: qreal QQuickGridView::cellHeight() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 1657-1661
100.000% (1/1)
21
cellHeightChanged
Name: QQuickGridView::cellHeightChanged
Prototype: void QQuickGridView::cellHeightChanged()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickgridview_p.cpp
Lines: 284-287
100.000% (1/1)
11
cellWidth
Name: QQuickGridView::cellWidth
Prototype: qreal QQuickGridView::cellWidth() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 1640-1644
100.000% (1/1)
21
cellWidthChanged
Name: QQuickGridView::cellWidthChanged
Prototype: void QQuickGridView::cellWidthChanged()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickgridview_p.cpp
Lines: 278-281
100.000% (1/1)
11
d_func
Name: QQuickGridView::d_func
Prototype: inline QQuickGridViewPrivate* d_func()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview_p.h
Lines: 67-67
100.000% (1/1)
11
d_func
Name: QQuickGridView::d_func
Prototype: inline const QQuickGridViewPrivate* d_func() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview_p.h
Lines: 67-67
100.000% (1/1)
11
flow
Name: QQuickGridView::flow
Prototype: QQuickGridView::Flow QQuickGridView::flow() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 1606-1610
100.000% (1/1)
21
flowChanged
Name: QQuickGridView::flowChanged
Prototype: void QQuickGridView::flowChanged()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickgridview_p.cpp
Lines: 296-299
100.000% (1/1)
11
highlightMoveDurationChanged
Name: QQuickGridView::highlightMoveDurationChanged
Prototype: void QQuickGridView::highlightMoveDurationChanged()
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickgridview_p.cpp
Lines: 290-293
  0.000% (0/1)
11
qmlAttachedProperties
Name: QQuickGridView::qmlAttachedProperties
Prototype: QQuickGridViewAttached *QQuickGridView::qmlAttachedProperties(QObject *obj)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 2652-2655
100.000% (1/1)
11
snapMode
Name: QQuickGridView::snapMode
Prototype: QQuickGridView::SnapMode QQuickGridView::snapMode() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 1689-1693
100.000% (1/1)
21
snapModeChanged
Name: QQuickGridView::snapModeChanged
Prototype: void QQuickGridView::snapModeChanged()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickgridview_p.cpp
Lines: 302-305
100.000% (1/1)
11
setCellHeight
Name: QQuickGridView::setCellHeight
Prototype: void QQuickGridView::setCellHeight(qreal cellHeight)
Coverage:  83.333% (5/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 1663-1672
 83.333% (5/6)
62
setCellWidth
Name: QQuickGridView::setCellWidth
Prototype: void QQuickGridView::setCellWidth(qreal cellWidth)
Coverage:  83.333% (5/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 1646-1655
 83.333% (5/6)
62
setSnapMode
Name: QQuickGridView::setSnapMode
Prototype: void QQuickGridView::setSnapMode(SnapMode mode)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 1695-1702
 75.000% (3/4)
42
initItem
Name: QQuickGridView::initItem
Prototype: void QQuickGridView::initItem(int index, QObject *obj)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 2149-2162
 71.429% (5/7)
73
setFlow
Name: QQuickGridView::setFlow
Prototype: void QQuickGridView::setFlow(Flow flow)
Coverage: 100.000% (8/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 1612-1629
100.000% (8/8)
123
setHighlightFollowsCurrentItem
Name: QQuickGridView::setHighlightFollowsCurrentItem
Prototype: void QQuickGridView::setHighlightFollowsCurrentItem(bool autoHighlight)
Coverage:  77.778% (7/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 1249-1259
 77.778% (7/9)
63
setHighlightMoveDuration
Name: QQuickGridView::setHighlightMoveDuration
Prototype: void QQuickGridView::setHighlightMoveDuration(int duration)
Coverage:  85.714% (6/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 1583-1593
 85.714% (6/7)
63
geometryChanged
Name: QQuickGridView::geometryChanged
Prototype: void QQuickGridView::geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 2132-2147
100.000% (12/12)
104
keyPressEvent
Name: QQuickGridView::keyPressEvent
Prototype: void QQuickGridView::keyPressEvent(QKeyEvent *event)
Coverage:  48.148% (13/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 2100-2130
 48.148% (13/27)
208
moveCurrentIndexDown
Name: QQuickGridView::moveCurrentIndexDown
Prototype: void QQuickGridView::moveCurrentIndexDown()
Coverage:  20.000% (7/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 2217-2249
 20.000% (7/35)
199
moveCurrentIndexLeft
Name: QQuickGridView::moveCurrentIndexLeft
Prototype: void QQuickGridView::moveCurrentIndexLeft()
Coverage:  0.000% (0/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 2260-2291
  0.000% (0/35)
199
moveCurrentIndexRight
Name: QQuickGridView::moveCurrentIndexRight
Prototype: void QQuickGridView::moveCurrentIndexRight()
Coverage:  20.000% (7/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 2303-2334
 20.000% (7/35)
199
moveCurrentIndexUp
Name: QQuickGridView::moveCurrentIndexUp
Prototype: void QQuickGridView::moveCurrentIndexUp()
Coverage:  0.000% (0/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 2175-2206
  0.000% (0/35)
199
viewportMoved
Name: QQuickGridView::viewportMoved
Prototype: void QQuickGridView::viewportMoved(Qt::Orientations orient)
Coverage:  83.544% (66/79)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickgridview.cpp
Lines: 2027-2098
 83.544% (66/79)
4617

Generated by Squish Coco 4.2.0