OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQuickEventPoint
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
QQuickEventPoint
Name: QQuickEventPoint::QQuickEventPoint
Prototype: QQuickEventPoint::QQuickEventPoint(QQuickPointerEvent *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 1469-1474
100.000% (1/1)
11
clearPassiveGrabbers [qquickevents_p_p.h #1]
Name: QQuickEventPoint::clearPassiveGrabbers [qquickevents_p_p.h #1]
Prototype: void clearPassiveGrabbers()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents_p_p.h #1
Lines: 327-327
100.000% (1/1)
11
exclusiveGrabber
Name: QQuickEventPoint::exclusiveGrabber
Prototype: QObject *QQuickEventPoint::exclusiveGrabber() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 809-812
100.000% (1/1)
11
grabberItem
Name: QQuickEventPoint::grabberItem
Prototype: QQuickItem *QQuickEventPoint::grabberItem() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 836-839
100.000% (1/1)
11
grabberPointerHandler
Name: QQuickEventPoint::grabberPointerHandler
Prototype: QQuickPointerHandler *QQuickEventPoint::grabberPointerHandler() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 877-880
100.000% (1/1)
11
isAccepted [qquickevents_p_p.h #1]
Name: QQuickEventPoint::isAccepted [qquickevents_p_p.h #1]
Prototype: bool isAccepted() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents_p_p.h #1
Lines: 309-309
100.000% (1/1)
11
passiveGrabbers [qquickevents_p_p.h #1]
Name: QQuickEventPoint::passiveGrabbers [qquickevents_p_p.h #1]
Prototype: QVector<QPointer <QQuickPointerHandler> > passiveGrabbers() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents_p_p.h #1
Lines: 325-325
100.000% (1/1)
11
pointId [qquickevents_p_p.h #1]
Name: QQuickEventPoint::pointId [qquickevents_p_p.h #1]
Prototype: int pointId() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents_p_p.h #1
Lines: 307-307
100.000% (1/1)
11
pointerEvent
Name: QQuickEventPoint::pointerEvent
Prototype: QQuickPointerEvent *QQuickEventPoint::pointerEvent() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 1476-1479
100.000% (1/1)
11
position [qquickevents_p_p.h #1]
Name: QQuickEventPoint::position [qquickevents_p_p.h #1]
Prototype: QPointF position() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents_p_p.h #1
Lines: 301-301
100.000% (1/1)
11
removePassiveGrabber
Name: QQuickEventPoint::removePassiveGrabber
Prototype: bool QQuickEventPoint::removePassiveGrabber(QQuickPointerHandler *handler)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 988-991
100.000% (1/1)
11
sceneGrabPosition [qquickevents_p_p.h #1]
Name: QQuickEventPoint::sceneGrabPosition [qquickevents_p_p.h #1]
Prototype: QPointF sceneGrabPosition() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents_p_p.h #1
Lines: 304-304
100.000% (1/1)
11
scenePosition [qquickevents_p_p.h #1]
Name: QQuickEventPoint::scenePosition [qquickevents_p_p.h #1]
Prototype: QPointF scenePosition() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents_p_p.h #1
Lines: 302-302
100.000% (1/1)
11
scenePressPosition [qquickevents_p_p.h #1]
Name: QQuickEventPoint::scenePressPosition [qquickevents_p_p.h #1]
Prototype: QPointF scenePressPosition() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents_p_p.h #1
Lines: 303-303
100.000% (1/1)
11
setPassiveGrabbers [qquickevents_p_p.h #1]
Name: QQuickEventPoint::setPassiveGrabbers [qquickevents_p_p.h #1]
Prototype: void setPassiveGrabbers(const QVector<QPointer <QQuickPointerHandler> > &grabbers)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents_p_p.h #1
Lines: 326-326
  0.000% (0/1)
11
state [qquickevents_p_p.h #1]
Name: QQuickEventPoint::state [qquickevents_p_p.h #1]
Prototype: State state() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents_p_p.h #1
Lines: 306-306
100.000% (1/1)
11
timeHeld [qquickevents_p_p.h #1]
Name: QQuickEventPoint::timeHeld [qquickevents_p_p.h #1]
Prototype: qreal timeHeld() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents_p_p.h #1
Lines: 308-308
100.000% (1/1)
11
velocity [qquickevents_p_p.h #1]
Name: QQuickEventPoint::velocity [qquickevents_p_p.h #1]
Prototype: QVector2D velocity() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents_p_p.h #1
Lines: 305-305
100.000% (1/1)
11
cancelExclusiveGrab
Name: QQuickEventPoint::cancelExclusiveGrab
Prototype: void QQuickEventPoint::cancelExclusiveGrab()
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 941-947
 50.000% (2/4)
32
localizePosition
Name: QQuickEventPoint::localizePosition
Prototype: void QQuickEventPoint::localizePosition(QQuickItem *target)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 796-802
 50.000% (2/4)
32
setAccepted
Name: QQuickEventPoint::setAccepted
Prototype: void QQuickEventPoint::setAccepted(bool accepted)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 1024-1030
 71.429% (5/7)
33
setExclusiveGrabber
Name: QQuickEventPoint::setExclusiveGrabber
Prototype: void QQuickEventPoint::setExclusiveGrabber(QObject *grabber)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 823-829
 50.000% (2/4)
32
cancelAllGrabs
Name: QQuickEventPoint::cancelAllGrabs
Prototype: void QQuickEventPoint::cancelAllGrabs(QQuickPointerHandler *handler)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 1004-1011
 50.000% (2/4)
42
cancelPassiveGrab
Name: QQuickEventPoint::cancelPassiveGrab
Prototype: void QQuickEventPoint::cancelPassiveGrab(QQuickPointerHandler *handler)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 973-982
 40.000% (4/10)
54
reset
Name: QQuickEventPoint::reset
Prototype: void QQuickEventPoint::reset(Qt::TouchPointState state, const QPointF &scenePos, int pointId, ulong timestamp, const QVector2D &velocity)
Coverage:  83.333% (5/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 782-794
 83.333% (5/6)
92
cancelExclusiveGrabImpl
Name: QQuickEventPoint::cancelExclusiveGrabImpl
Prototype: void QQuickEventPoint::cancelExclusiveGrabImpl(QTouchEvent *cancelEvent)
Coverage:  47.368% (9/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 949-966
 47.368% (9/19)
127
setGrabberItem
Name: QQuickEventPoint::setGrabberItem
Prototype: void QQuickEventPoint::setGrabberItem(QQuickItem *grabber)
Coverage:  67.857% (19/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 847-870
 67.857% (19/28)
188
estimatedVelocity
Name: QQuickEventPoint::estimatedVelocity
Prototype: QVector2D QQuickEventPoint::estimatedVelocity() const
Coverage: 100.000% (16/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 1147-1186
100.000% (16/16)
256
setGrabberPointerHandler
Name: QQuickEventPoint::setGrabberPointerHandler
Prototype: void QQuickEventPoint::setGrabberPointerHandler(QQuickPointerHandler *grabber, bool exclusive)
Coverage:  59.091% (26/44)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickevents.cpp
Lines: 887-934
 59.091% (26/44)
3315

Generated by Squish Coco 4.2.0