OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQuickWidget
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
QQuickWidget
Name: QQuickWidget::QQuickWidget
Prototype: QQuickWidget::QQuickWidget(QWidget *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 508-514
100.000% (1/1)
31
QQuickWidget
Name: QQuickWidget::QQuickWidget
Prototype: QQuickWidget::QQuickWidget(const QUrl &source, QWidget *parent)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 521-525
  0.000% (0/1)
11
QQuickWidget
Name: QQuickWidget::QQuickWidget
Prototype: QQuickWidget::QQuickWidget(QQmlEngine* engine, QWidget *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 536-542
100.000% (1/1)
31
continueExecute
Name: QQuickWidget::continueExecute
Prototype: void QQuickWidget::continueExecute()
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1034-1063
 66.667% (6/9)
195
createFramebufferObject
Name: QQuickWidget::createFramebufferObject
Prototype: void QQuickWidget::createFramebufferObject()
Coverage:  48.387% (15/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 913-1006
 48.387% (15/31)
399
d_func
Name: QQuickWidget::d_func
Prototype: inline QQuickWidgetPrivate* d_func()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.h
Lines: 150-150
100.000% (1/1)
11
d_func
Name: QQuickWidget::d_func
Prototype: inline const QQuickWidgetPrivate* d_func() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.h
Lines: 150-150
100.000% (1/1)
11
destroyFramebufferObject
Name: QQuickWidget::destroyFramebufferObject
Prototype: void QQuickWidget::destroyFramebufferObject()
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1008-1023
 50.000% (2/4)
82
dragEnterEvent
Name: QQuickWidget::dragEnterEvent
Prototype: void QQuickWidget::dragEnterEvent(QDragEnterEvent *e)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1531-1538
  0.000% (0/1)
31
dragLeaveEvent
Name: QQuickWidget::dragLeaveEvent
Prototype: void QQuickWidget::dragLeaveEvent(QDragLeaveEvent *e)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1550-1554
  0.000% (0/1)
21
dragMoveEvent
Name: QQuickWidget::dragMoveEvent
Prototype: void QQuickWidget::dragMoveEvent(QDragMoveEvent *e)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1541-1547
  0.000% (0/1)
21
dropEvent
Name: QQuickWidget::dropEvent
Prototype: void QQuickWidget::dropEvent(QDropEvent *e)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1557-1561
  0.000% (0/1)
21
engine
Name: QQuickWidget::engine
Prototype: QQmlEngine* QQuickWidget::engine() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 623-628
100.000% (1/1)
31
errors
Name: QQuickWidget::errors
Prototype: QList<QQmlError> QQuickWidget::errors() const
Coverage:  62.500% (10/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 704-724
 62.500% (10/16)
134
event
Name: QQuickWidget::event
Prototype: bool QQuickWidget::event(QEvent *e)
Coverage:  32.558% (14/43)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1444-1526
 32.558% (14/43)
3621
focusInEvent
Name: QQuickWidget::focusInEvent
Prototype: void QQuickWidget::focusInEvent(QFocusEvent * event)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1392-1396
  0.000% (0/1)
21
focusNextPrevChild
Name: QQuickWidget::focusNextPrevChild
Prototype: bool QQuickWidget::focusNextPrevChild(bool next)
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1231-1244
  0.000% (0/9)
103
focusOutEvent
Name: QQuickWidget::focusOutEvent
Prototype: void QQuickWidget::focusOutEvent(QFocusEvent * event)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1401-1405
  0.000% (0/1)
21
format
Name: QQuickWidget::format
Prototype: QSurfaceFormat QQuickWidget::format() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1624-1628
  0.000% (0/1)
21
grabFramebuffer
Name: QQuickWidget::grabFramebuffer
Prototype: QImage QQuickWidget::grabFramebuffer() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1635-1638
100.000% (1/1)
11
hideEvent
Name: QQuickWidget::hideEvent
Prototype: void QQuickWidget::hideEvent(QHideEvent *)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1335-1348
 50.000% (5/10)
104
initialSize
Name: QQuickWidget::initialSize
Prototype: QSize QQuickWidget::initialSize() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1154-1158
100.000% (1/1)
21
keyPressEvent
Name: QQuickWidget::keyPressEvent
Prototype: void QQuickWidget::keyPressEvent(QKeyEvent *e)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1247-1254
  0.000% (0/5)
42
keyReleaseEvent
Name: QQuickWidget::keyReleaseEvent
Prototype: void QQuickWidget::keyReleaseEvent(QKeyEvent *e)
Coverage:  60.000% (3/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1257-1264
 60.000% (3/5)
42
mouseDoubleClickEvent
Name: QQuickWidget::mouseDoubleClickEvent
Prototype: void QQuickWidget::mouseDoubleClickEvent(QMouseEvent *e)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1284-1299
  0.000% (0/5)
102
mouseMoveEvent
Name: QQuickWidget::mouseMoveEvent
Prototype: void QQuickWidget::mouseMoveEvent(QMouseEvent *e)
Coverage:  60.000% (3/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1267-1281
 60.000% (3/5)
72
mousePressEvent
Name: QQuickWidget::mousePressEvent
Prototype: void QQuickWidget::mousePressEvent(QMouseEvent *e)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1351-1361
  0.000% (0/5)
72
mouseReleaseEvent
Name: QQuickWidget::mouseReleaseEvent
Prototype: void QQuickWidget::mouseReleaseEvent(QMouseEvent *e)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1364-1374
  0.000% (0/5)
72
paintEvent
Name: QQuickWidget::paintEvent
Prototype: void QQuickWidget::paintEvent(QPaintEvent *event)
Coverage:  25.000% (2/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1678-1699
 25.000% (2/8)
134
quickWindow
Name: QQuickWidget::quickWindow
Prototype: QQuickWindow *QQuickWidget::quickWindow() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1669-1673
100.000% (1/1)
21
resizeEvent
Name: QQuickWidget::resizeEvent
Prototype: void QQuickWidget::resizeEvent(QResizeEvent *e)
Coverage:  58.824% (20/34)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1176-1228
 58.824% (20/34)
2710
resizeMode
Name: QQuickWidget::resizeMode
Prototype: QQuickWidget::ResizeMode QQuickWidget::resizeMode() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1025-1029
  0.000% (0/1)
21
rootContext
Name: QQuickWidget::rootContext
Prototype: QQmlContext* QQuickWidget::rootContext() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 637-642
100.000% (1/1)
31
rootObject
Name: QQuickWidget::rootObject
Prototype: QQuickItem *QQuickWidget::rootObject() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1165-1169
100.000% (1/1)
21
sceneGraphError
Name: QQuickWidget::sceneGraphError
Prototype: void QQuickWidget::sceneGraphError(QQuickWindow::SceneGraphError _t1, const QString & _t2)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/.moc/moc_qquickwidget.cpp
Lines: 260-264
  0.000% (0/1)
21
setClearColor
Name: QQuickWidget::setClearColor
Prototype: void QQuickWidget::setClearColor(const QColor &color)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1650-1654
  0.000% (0/1)
21
setContent
Name: QQuickWidget::setContent
Prototype: void QQuickWidget::setContent(const QUrl& url, QQmlComponent *component, QObject* item)
Coverage:  28.571% (2/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 588-606
 28.571% (2/7)
123
setFormat
Name: QQuickWidget::setFormat
Prototype: void QQuickWidget::setFormat(const QSurfaceFormat &format)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1598-1615
  0.000% (0/1)
91
setResizeMode
Name: QQuickWidget::setResizeMode
Prototype: void QQuickWidget::setResizeMode(ResizeMode mode)
Coverage: 100.000% (13/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 743-760
100.000% (13/13)
105
setSource
Name: QQuickWidget::setSource
Prototype: void QQuickWidget::setSource(const QUrl& url)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 576-581
100.000% (1/1)
31
showEvent
Name: QQuickWidget::showEvent
Prototype: void QQuickWidget::showEvent(QShowEvent *)
Coverage:  44.444% (8/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1302-1332
 44.444% (8/18)
166
sizeHint
Name: QQuickWidget::sizeHint
Prototype: QSize QQuickWidget::sizeHint() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1136-1145
100.000% (4/4)
52
source
Name: QQuickWidget::source
Prototype: QUrl QQuickWidget::source() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 613-617
  0.000% (0/1)
21
status
Name: QQuickWidget::status
Prototype: QQuickWidget::Status QQuickWidget::status() const
Coverage:  71.429% (10/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 683-696
 71.429% (10/14)
84
statusChanged
Name: QQuickWidget::statusChanged
Prototype: void QQuickWidget::statusChanged(QQuickWidget::Status _t1)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/.moc/moc_qquickwidget.cpp
Lines: 253-257
100.000% (1/1)
21
timerEvent
Name: QQuickWidget::timerEvent
Prototype: void QQuickWidget::timerEvent(QTimerEvent* e)
Coverage:  75.000% (9/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1118-1130
 75.000% (9/12)
94
triggerUpdate
Name: QQuickWidget::triggerUpdate
Prototype: void QQuickWidget::triggerUpdate()
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1568-1585
100.000% (4/4)
62
wheelEvent
Name: QQuickWidget::wheelEvent
Prototype: void QQuickWidget::wheelEvent(QWheelEvent *e)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1378-1386
  0.000% (0/5)
42
~QQuickWidget
Name: QQuickWidget::~QQuickWidget
Prototype: QQuickWidget::~QQuickWidget()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 547-554
100.000% (1/1)
31

Generated by Squish Coco 4.2.0