OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQuickTapHandler
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
gesturePolicy
Name: QQuickTapHandler::gesturePolicy
Prototype: GesturePolicy gesturePolicy() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler_p.h
Lines: 89-89
  0.000% (0/1)
11
tapCount
Name: QQuickTapHandler::tapCount
Prototype: int tapCount() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler_p.h
Lines: 83-83
  0.000% (0/1)
11
setLongPressThreshold
Name: QQuickTapHandler::setLongPressThreshold
Prototype: void QQuickTapHandler::setLongPressThreshold(qreal longPressThreshold)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler.cpp
Lines: 187-195
 50.000% (2/4)
52
timerEvent
Name: QQuickTapHandler::timerEvent
Prototype: void QQuickTapHandler::timerEvent(QTimerEvent *event)
Coverage:  57.143% (4/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler.cpp
Lines: 202-209
 57.143% (4/7)
43
setPressed
Name: QQuickTapHandler::setPressed
Prototype: void QQuickTapHandler::setPressed(bool press, bool cancel, QQuickEventPoint *point)
Coverage:  84.906% (45/53)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler.cpp
Lines: 278-331
 84.906% (45/53)
3815
handleEventPoint
Name: QQuickTapHandler::handleEventPoint
Prototype: void QQuickTapHandler::handleEventPoint(QQuickEventPoint *point)
Coverage:  88.889% (8/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler.cpp
Lines: 158-171
 88.889% (8/9)
75
QQuickTapHandler
Name: QQuickTapHandler::QQuickTapHandler
Prototype: QQuickTapHandler::QQuickTapHandler(QObject *parent)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler.cpp
Lines: 87-104
100.000% (4/4)
82
connectPreRenderSignal
Name: QQuickTapHandler::connectPreRenderSignal
Prototype: void QQuickTapHandler::connectPreRenderSignal(bool conn)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler.cpp
Lines: 341-347
100.000% (4/4)
32
doubleTapped
Name: QQuickTapHandler::doubleTapped
Prototype: void QQuickTapHandler::doubleTapped()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicktaphandler_p.cpp
Lines: 334-337
100.000% (1/1)
11
gesturePolicyChanged
Name: QQuickTapHandler::gesturePolicyChanged
Prototype: void QQuickTapHandler::gesturePolicyChanged()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicktaphandler_p.cpp
Lines: 316-319
100.000% (1/1)
11
isPressed
Name: QQuickTapHandler::isPressed
Prototype: bool isPressed() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler_p.h
Lines: 81-81
100.000% (1/1)
11
longPressThreshold
Name: QQuickTapHandler::longPressThreshold
Prototype: qreal QQuickTapHandler::longPressThreshold() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler.cpp
Lines: 182-185
100.000% (1/1)
11
longPressThresholdChanged
Name: QQuickTapHandler::longPressThresholdChanged
Prototype: void QQuickTapHandler::longPressThresholdChanged()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicktaphandler_p.cpp
Lines: 310-313
100.000% (1/1)
11
longPressThresholdMilliseconds
Name: QQuickTapHandler::longPressThresholdMilliseconds
Prototype: int QQuickTapHandler::longPressThresholdMilliseconds() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler.cpp
Lines: 197-200
100.000% (1/1)
11
longPressed
Name: QQuickTapHandler::longPressed
Prototype: void QQuickTapHandler::longPressed()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicktaphandler_p.cpp
Lines: 340-343
100.000% (1/1)
11
onGrabChanged
Name: QQuickTapHandler::onGrabChanged
Prototype: void QQuickTapHandler::onGrabChanged(QQuickPointerHandler *grabber, QQuickEventPoint::GrabState stateChange, QQuickEventPoint *point)
Coverage: 100.000% (12/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler.cpp
Lines: 333-339
100.000% (12/12)
42
pressedChanged
Name: QQuickTapHandler::pressedChanged
Prototype: void QQuickTapHandler::pressedChanged()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicktaphandler_p.cpp
Lines: 292-295
100.000% (1/1)
11
setGesturePolicy
Name: QQuickTapHandler::setGesturePolicy
Prototype: void QQuickTapHandler::setGesturePolicy(QQuickTapHandler::GesturePolicy gesturePolicy)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler.cpp
Lines: 260-267
100.000% (4/4)
42
singleTapped
Name: QQuickTapHandler::singleTapped
Prototype: void QQuickTapHandler::singleTapped()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicktaphandler_p.cpp
Lines: 328-331
100.000% (1/1)
11
tapCountChanged
Name: QQuickTapHandler::tapCountChanged
Prototype: void QQuickTapHandler::tapCountChanged()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicktaphandler_p.cpp
Lines: 298-301
100.000% (1/1)
11
tapped
Name: QQuickTapHandler::tapped
Prototype: void QQuickTapHandler::tapped()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicktaphandler_p.cpp
Lines: 322-325
100.000% (1/1)
11
timeHeld
Name: QQuickTapHandler::timeHeld
Prototype: qreal timeHeld() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler_p.h
Lines: 84-84
100.000% (1/1)
11
timeHeldChanged
Name: QQuickTapHandler::timeHeldChanged
Prototype: void QQuickTapHandler::timeHeldChanged()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicktaphandler_p.cpp
Lines: 304-307
100.000% (1/1)
11
updateTimeHeld
Name: QQuickTapHandler::updateTimeHeld
Prototype: void QQuickTapHandler::updateTimeHeld()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler.cpp
Lines: 349-352
100.000% (1/1)
11
wantsEventPoint
Name: QQuickTapHandler::wantsEventPoint
Prototype: bool QQuickTapHandler::wantsEventPoint(QQuickEventPoint *point)
Coverage: 100.000% (21/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicktaphandler.cpp
Lines: 117-156
100.000% (21/21)
169

Generated by Squish Coco 4.2.0