OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QSGBasicInternalImageNode
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
QSGBasicInternalImageNode
Name: QSGBasicInternalImageNode::QSGBasicInternalImageNode
Prototype: QSGBasicInternalImageNode::QSGBasicInternalImageNode()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgbasicinternalimagenode.cpp
Lines: 68-82
100.000% (1/1)
21
update
Name: QSGBasicInternalImageNode::update
Prototype: void QSGBasicInternalImageNode::update()
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgbasicinternalimagenode.cpp
Lines: 154-158
100.000% (4/4)
22
setInnerSourceRect
Name: QSGBasicInternalImageNode::setInnerSourceRect
Prototype: void QSGBasicInternalImageNode::setInnerSourceRect(const QRectF &rect)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgbasicinternalimagenode.cpp
Lines: 100-106
 50.000% (2/4)
42
setInnerTargetRect
Name: QSGBasicInternalImageNode::setInnerTargetRect
Prototype: void QSGBasicInternalImageNode::setInnerTargetRect(const QRectF &rect)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgbasicinternalimagenode.cpp
Lines: 92-98
100.000% (4/4)
42
setMirror
Name: QSGBasicInternalImageNode::setMirror
Prototype: void QSGBasicInternalImageNode::setMirror(bool mirror)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgbasicinternalimagenode.cpp
Lines: 145-151
100.000% (4/4)
42
setSubSourceRect
Name: QSGBasicInternalImageNode::setSubSourceRect
Prototype: void QSGBasicInternalImageNode::setSubSourceRect(const QRectF &rect)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgbasicinternalimagenode.cpp
Lines: 108-114
100.000% (4/4)
42
setTargetRect
Name: QSGBasicInternalImageNode::setTargetRect
Prototype: void QSGBasicInternalImageNode::setTargetRect(const QRectF &rect)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgbasicinternalimagenode.cpp
Lines: 84-90
100.000% (4/4)
42
setTexture
Name: QSGBasicInternalImageNode::setTexture
Prototype: void QSGBasicInternalImageNode::setTexture(QSGTexture *texture)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgbasicinternalimagenode.cpp
Lines: 116-127
100.000% (1/1)
51
setAntialiasing
Name: QSGBasicInternalImageNode::setAntialiasing
Prototype: void QSGBasicInternalImageNode::setAntialiasing(bool antialiasing)
Coverage:  25.000% (2/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgbasicinternalimagenode.cpp
Lines: 129-143
 25.000% (2/8)
103
preprocess
Name: QSGBasicInternalImageNode::preprocess
Prototype: void QSGBasicInternalImageNode::preprocess()
Coverage:  60.000% (12/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgbasicinternalimagenode.cpp
Lines: 160-185
 60.000% (12/20)
166
updateGeometry
Name: QSGBasicInternalImageNode::updateGeometry
Prototype: void QSGBasicInternalImageNode::updateGeometry()
Coverage:  48.936% (23/47)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgbasicinternalimagenode.cpp
Lines: 461-557
 48.936% (23/47)
679
updateGeometry
Name: QSGBasicInternalImageNode::updateGeometry
Prototype: QSGGeometry *QSGBasicInternalImageNode::updateGeometry(const QRectF &targetRect, const QRectF &innerTargetRect, const QRectF &sourceRect, const QRectF &innerSourceRect, const QRectF &subSourceRect, QSGGeometry *geometry, bool mirror, bool antialiasing)
Coverage:  50.476% (53/105)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/scenegraph/qsgbasicinternalimagenode.cpp
Lines: 203-459
 50.476% (53/105)
19235

Generated by Squish Coco 4.2.0