OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQuickMultiPointHandler
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
PointData
Name: QQuickMultiPointHandler::PointData
Coverage:  50.000% (1/2)
 50.000% (1/2)
22
QQuickMultiPointHandler
Name: QQuickMultiPointHandler::QQuickMultiPointHandler
Prototype: QQuickMultiPointHandler::QQuickMultiPointHandler(QObject *parent, int minimumPointCount)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler.cpp
Lines: 62-67
100.000% (1/1)
21
acceptPoints
Name: QQuickMultiPointHandler::acceptPoints
Prototype: void QQuickMultiPointHandler::acceptPoints(const QVector<QQuickEventPoint *> &points)
Coverage: 100.000% (2/2)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler.cpp
Lines: 262-266
100.000% (2/2)
22
angles
Name: QQuickMultiPointHandler::angles
Prototype: QVector<QQuickMultiPointHandler::PointData> QQuickMultiPointHandler::angles(const QPointF &ref) const
Coverage: 100.000% (2/2)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler.cpp
Lines: 219-228
100.000% (2/2)
62
averageAngleDelta
Name: QQuickMultiPointHandler::averageAngleDelta
Coverage: 100.000% (1/1)
100.000% (1/1)
11
averageAngleDelta
Name: QQuickMultiPointHandler::averageAngleDelta
Prototype: qreal QQuickMultiPointHandler::averageAngleDelta(const QVector<PointData> &old, const QVector<PointData> &newAngles)
Coverage:  75.000% (9/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler.cpp
Lines: 230-260
 75.000% (9/12)
176
averageStartingDistance
Name: QQuickMultiPointHandler::averageStartingDistance
Prototype: qreal QQuickMultiPointHandler::averageStartingDistance(const QPointF &ref)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler.cpp
Lines: 208-217
  0.000% (0/5)
63
averageTouchPointDistance
Name: QQuickMultiPointHandler::averageTouchPointDistance
Prototype: qreal QQuickMultiPointHandler::averageTouchPointDistance(const QPointF &ref)
Coverage:  60.000% (3/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler.cpp
Lines: 198-206
 60.000% (3/5)
63
centroid
Name: QQuickMultiPointHandler::centroid
Prototype: QQuickHandlerPoint centroid() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler_p.h
Lines: 78-78
  0.000% (0/1)
11
centroidChanged
Name: QQuickMultiPointHandler::centroidChanged
Prototype: void QQuickMultiPointHandler::centroidChanged()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickmultipointhandler_p.cpp
Lines: 235-238
100.000% (1/1)
11
eligiblePoints
Name: QQuickMultiPointHandler::eligiblePoints
Prototype: QVector<QQuickEventPoint *> QQuickMultiPointHandler::eligiblePoints(QQuickPointerEvent *event)
Coverage:  95.238% (20/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler.cpp
Lines: 107-126
 95.238% (20/21)
125
grabPoints
Name: QQuickMultiPointHandler::grabPoints
Prototype: bool QQuickMultiPointHandler::grabPoints(QVector<QQuickEventPoint *> points)
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler.cpp
Lines: 268-282
 66.667% (6/9)
95
handlePointerEventImpl
Name: QQuickMultiPointHandler::handlePointerEventImpl
Prototype: void QQuickMultiPointHandler::handlePointerEventImpl(QQuickPointerEvent *event)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler.cpp
Lines: 93-98
100.000% (1/1)
31
hasCurrentPoints
Name: QQuickMultiPointHandler::hasCurrentPoints
Prototype: bool QQuickMultiPointHandler::hasCurrentPoints(QQuickPointerEvent *event)
Coverage:  95.000% (19/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler.cpp
Lines: 176-196
 95.000% (19/20)
157
maximumPointCount
Name: QQuickMultiPointHandler::maximumPointCount
Prototype: int maximumPointCount() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler_p.h
Lines: 75-75
100.000% (1/1)
11
maximumPointCountChanged
Name: QQuickMultiPointHandler::maximumPointCountChanged
Prototype: void QQuickMultiPointHandler::maximumPointCountChanged()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickmultipointhandler_p.cpp
Lines: 223-226
100.000% (1/1)
11
minimumPointCount
Name: QQuickMultiPointHandler::minimumPointCount
Prototype: int minimumPointCount() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler_p.h
Lines: 72-72
100.000% (1/1)
11
minimumPointCountChanged
Name: QQuickMultiPointHandler::minimumPointCountChanged
Prototype: void QQuickMultiPointHandler::minimumPointCountChanged()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickmultipointhandler_p.cpp
Lines: 217-220
100.000% (1/1)
11
onActiveChanged
Name: QQuickMultiPointHandler::onActiveChanged
Prototype: void QQuickMultiPointHandler::onActiveChanged()
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler.cpp
Lines: 100-105
100.000% (4/4)
22
pointDistanceThresholdChanged
Name: QQuickMultiPointHandler::pointDistanceThresholdChanged
Prototype: void QQuickMultiPointHandler::pointDistanceThresholdChanged()
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickmultipointhandler_p.cpp
Lines: 229-232
  0.000% (0/1)
11
setMaximumPointCount
Name: QQuickMultiPointHandler::setMaximumPointCount
Prototype: void QQuickMultiPointHandler::setMaximumPointCount(int maximumPointCount)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler.cpp
Lines: 167-174
  0.000% (0/4)
42
setMinimumPointCount
Name: QQuickMultiPointHandler::setMinimumPointCount
Prototype: void QQuickMultiPointHandler::setMinimumPointCount(int c)
Coverage:  57.143% (4/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler.cpp
Lines: 141-150
 57.143% (4/7)
63
wantsPointerEvent
Name: QQuickMultiPointHandler::wantsPointerEvent
Prototype: bool QQuickMultiPointHandler::wantsPointerEvent(QQuickPointerEvent *event)
Coverage:  76.471% (13/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickmultipointhandler.cpp
Lines: 73-91
 76.471% (13/17)
115

Generated by Squish Coco 4.2.0