OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQuickWidgetPrivate
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
get
Name: QQuickWidgetPrivate::get
Prototype: static QQuickWidgetPrivate* get(QQuickWidget *view)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget_p.h
Lines: 83-83
  0.000% (0/1)
11
get
Name: QQuickWidgetPrivate::get
Prototype: static const QQuickWidgetPrivate* get(const QQuickWidget *view)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget_p.h
Lines: 84-84
  0.000% (0/1)
11
handleContextCreationFailure
Name: QQuickWidgetPrivate::handleContextCreationFailure
Prototype: void QQuickWidgetPrivate::handleContextCreationFailure(const QSurfaceFormat &format, bool isEs)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 832-851
  0.000% (0/7)
93
render
Name: QQuickWidgetPrivate::render
Prototype: void QQuickWidgetPrivate::render(bool needsSync)
Coverage:  37.037% (10/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 265-319
 37.037% (10/27)
299
execute
Name: QQuickWidgetPrivate::execute
Prototype: void QQuickWidgetPrivate::execute()
Coverage:  46.154% (6/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 229-252
 46.154% (6/13)
155
~QQuickWidgetPrivate
Name: QQuickWidgetPrivate::~QQuickWidgetPrivate
Prototype: QQuickWidgetPrivate::~QQuickWidgetPrivate()
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 208-227
 50.000% (2/4)
102
renderSceneGraph
Name: QQuickWidgetPrivate::renderSceneGraph
Prototype: void QQuickWidgetPrivate::renderSceneGraph()
Coverage:  52.381% (11/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 321-352
 52.381% (11/21)
177
handleWindowChange
Name: QQuickWidgetPrivate::handleWindowChange
Prototype: void QQuickWidgetPrivate::handleWindowChange()
Coverage:  55.556% (5/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 168-184
 55.556% (5/9)
53
grabFramebuffer
Name: QQuickWidgetPrivate::grabFramebuffer
Prototype: QImage QQuickWidgetPrivate::grabFramebuffer()
Coverage:  57.143% (4/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 354-365
 57.143% (4/7)
53
init
Name: QQuickWidgetPrivate::init
Prototype: void QQuickWidgetPrivate::init(QQmlEngine* e)
Coverage:  58.824% (10/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 92-128
 58.824% (10/17)
195
invalidateRenderControl
Name: QQuickWidgetPrivate::invalidateRenderControl
Prototype: void QQuickWidgetPrivate::invalidateRenderControl()
Coverage:  61.111% (11/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 140-166
 61.111% (11/18)
116
setRootObject
Name: QQuickWidgetPrivate::setRootObject
Prototype: void QQuickWidgetPrivate::setRootObject(QObject *obj)
Coverage:  61.905% (13/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1069-1098
 61.905% (13/21)
236
updateSize
Name: QQuickWidgetPrivate::updateSize
Prototype: void QQuickWidgetPrivate::updateSize()
Coverage:  65.385% (17/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 773-796
 65.385% (17/26)
178
itemGeometryChanged
Name: QQuickWidgetPrivate::itemGeometryChanged
Prototype: void QQuickWidgetPrivate::itemGeometryChanged(QQuickItem *resizeItem, QQuickGeometryChange change, const QRectF &oldGeometry)
Coverage:  66.667% (4/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 254-263
 66.667% (4/6)
42
textureId
Name: QQuickWidgetPrivate::textureId
Prototype: uint QQuickWidgetPrivate::textureId() const
Coverage:  66.667% (4/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 1101-1111
 66.667% (4/6)
72
createContext
Name: QQuickWidgetPrivate::createContext
Prototype: void QQuickWidgetPrivate::createContext()
Coverage:  69.231% (18/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 854-900
 69.231% (18/26)
278
updatePosition
Name: QQuickWidgetPrivate::updatePosition
Prototype: void QQuickWidgetPrivate::updatePosition()
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 803-812
 71.429% (5/7)
63
initResize
Name: QQuickWidgetPrivate::initResize
Prototype: void QQuickWidgetPrivate::initResize()
Coverage:  85.714% (6/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 762-771
 85.714% (6/7)
53
QQuickWidgetPrivate
Name: QQuickWidgetPrivate::QQuickWidgetPrivate
Prototype: QQuickWidgetPrivate::QQuickWidgetPrivate()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 186-206
100.000% (1/1)
21
destroyContext
Name: QQuickWidgetPrivate::destroyContext
Prototype: void QQuickWidgetPrivate::destroyContext()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 903-911
100.000% (1/1)
41
ensureEngine
Name: QQuickWidgetPrivate::ensureEngine
Prototype: void QQuickWidgetPrivate::ensureEngine() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 130-138
100.000% (4/4)
52
rootObjectSize
Name: QQuickWidgetPrivate::rootObjectSize
Prototype: QSize QQuickWidgetPrivate::rootObjectSize() const
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickwidgets/qquickwidget.cpp
Lines: 814-830
100.000% (10/10)
114

Generated by Squish Coco 4.2.0