OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQuickSinglePointHandler
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
currentPoint
Name: QQuickSinglePointHandler::currentPoint
Prototype: QQuickEventPoint *currentPoint(QQuickPointerEvent *ev)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicksinglepointhandler_p.h
Lines: 78-78
  0.000% (0/1)
11
point
Name: QQuickSinglePointHandler::point
Prototype: QQuickHandlerPoint point() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicksinglepointhandler_p.h
Lines: 67-67
100.000% (1/1)
11
pointChanged
Name: QQuickSinglePointHandler::pointChanged
Prototype: void QQuickSinglePointHandler::pointChanged()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicksinglepointhandler_p.cpp
Lines: 175-178
100.000% (1/1)
11
setIgnoreAdditionalPoints
Name: QQuickSinglePointHandler::setIgnoreAdditionalPoints
Prototype: void QQuickSinglePointHandler::setIgnoreAdditionalPoints(bool v)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicksinglepointhandler.cpp
Lines: 175-178
  0.000% (0/1)
11
setPointId
Name: QQuickSinglePointHandler::setPointId
Prototype: void QQuickSinglePointHandler::setPointId(int id)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicksinglepointhandler.cpp
Lines: 187-190
100.000% (1/1)
11
singlePointGrabChanged
Name: QQuickSinglePointHandler::singlePointGrabChanged
Prototype: void QQuickSinglePointHandler::singlePointGrabChanged()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicksinglepointhandler_p.cpp
Lines: 181-184
100.000% (1/1)
11
QQuickSinglePointHandler
Name: QQuickSinglePointHandler::QQuickSinglePointHandler
Prototype: QQuickSinglePointHandler::QQuickSinglePointHandler(QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicksinglepointhandler.cpp
Lines: 62-66
100.000% (1/1)
21
reset
Name: QQuickSinglePointHandler::reset
Prototype: void QQuickSinglePointHandler::reset()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicksinglepointhandler.cpp
Lines: 192-196
100.000% (1/1)
21
moveTarget
Name: QQuickSinglePointHandler::moveTarget
Prototype: void QQuickSinglePointHandler::moveTarget(QPointF pos, QQuickEventPoint *point)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicksinglepointhandler.cpp
Lines: 180-185
100.000% (1/1)
31
handlePointerEventImpl
Name: QQuickSinglePointHandler::handlePointerEventImpl
Prototype: void QQuickSinglePointHandler::handlePointerEventImpl(QQuickPointerEvent *event)
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicksinglepointhandler.cpp
Lines: 129-145
 66.667% (6/9)
113
onGrabChanged
Name: QQuickSinglePointHandler::onGrabChanged
Prototype: void QQuickSinglePointHandler::onGrabChanged(QQuickPointerHandler *grabber, QQuickEventPoint::GrabState stateChange, QQuickEventPoint *point)
Coverage:  93.333% (14/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicksinglepointhandler.cpp
Lines: 147-173
 93.333% (14/15)
159
wantsPointerEvent
Name: QQuickSinglePointHandler::wantsPointerEvent
Prototype: bool QQuickSinglePointHandler::wantsPointerEvent(QQuickPointerEvent *event)
Coverage:  82.759% (48/58)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquicksinglepointhandler.cpp
Lines: 68-127
 82.759% (48/58)
4116

Generated by Squish Coco 4.2.0