OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQuickDesignerCustomObjectData
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
get
Name: QQuickDesignerCustomObjectData::get
Prototype: QQuickDesignerCustomObjectData *QQuickDesignerCustomObjectData::get(QObject *object)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 79-82
100.000% (1/1)
11
getResetBinding
Name: QQuickDesignerCustomObjectData::getResetBinding
Prototype: QQmlAbstractBinding *QQuickDesignerCustomObjectData::getResetBinding(const QQuickDesignerSupport::PropertyName &propertyName) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 237-240
100.000% (1/1)
11
getResetValue
Name: QQuickDesignerCustomObjectData::getResetValue
Prototype: QVariant QQuickDesignerCustomObjectData::getResetValue(const QQuickDesignerSupport::PropertyName &propertyName) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 181-184
100.000% (1/1)
11
hasValidResetBinding
Name: QQuickDesignerCustomObjectData::hasValidResetBinding
Prototype: bool QQuickDesignerCustomObjectData::hasValidResetBinding(const QQuickDesignerSupport::PropertyName &propertyName) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 232-235
100.000% (1/1)
11
object
Name: QQuickDesignerCustomObjectData::object
Prototype: QObject *QQuickDesignerCustomObjectData::object() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 176-179
100.000% (1/1)
11
registerData
Name: QQuickDesignerCustomObjectData::registerData
Prototype: void QQuickDesignerCustomObjectData::registerData(QObject *object)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 74-77
100.000% (1/1)
11
handleDestroyed
Name: QQuickDesignerCustomObjectData::handleDestroyed
Prototype: void QQuickDesignerCustomObjectData::handleDestroyed()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 298-302
100.000% (1/1)
21
keepBindingFromGettingDeleted
Name: QQuickDesignerCustomObjectData::keepBindingFromGettingDeleted
Prototype: void QQuickDesignerCustomObjectData::keepBindingFromGettingDeleted(QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 290-296
  0.000% (0/1)
21
doResetProperty
Name: QQuickDesignerCustomObjectData::doResetProperty
Prototype: void QQuickDesignerCustomObjectData::doResetProperty(QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 94-100
 75.000% (3/4)
32
keepBindingFromGettingDeleted
Name: QQuickDesignerCustomObjectData::keepBindingFromGettingDeleted
Prototype: void QQuickDesignerCustomObjectData::keepBindingFromGettingDeleted(QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 136-144
  0.000% (0/4)
32
setPropertyBinding
Name: QQuickDesignerCustomObjectData::setPropertyBinding
Prototype: void QQuickDesignerCustomObjectData::setPropertyBinding(QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName, const QString &expression)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 125-134
 75.000% (3/4)
32
getResetValue
Name: QQuickDesignerCustomObjectData::getResetValue
Prototype: QVariant QQuickDesignerCustomObjectData::getResetValue(QObject *object, const QQuickDesignerSupport::PropertyName &propertyName)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 84-92
100.000% (4/4)
42
hasBindingForProperty
Name: QQuickDesignerCustomObjectData::hasBindingForProperty
Prototype: bool QQuickDesignerCustomObjectData::hasBindingForProperty(QObject *object, QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName, bool *hasChanged)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 112-123
 50.000% (2/4)
42
hasValidResetBinding
Name: QQuickDesignerCustomObjectData::hasValidResetBinding
Prototype: bool QQuickDesignerCustomObjectData::hasValidResetBinding(QObject *object, const QQuickDesignerSupport::PropertyName &propertyName)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 102-110
 50.000% (2/4)
42
QQuickDesignerCustomObjectData
Name: QQuickDesignerCustomObjectData::QQuickDesignerCustomObjectData
Prototype: QQuickDesignerCustomObjectData::QQuickDesignerCustomObjectData(QObject *object)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 61-72
 75.000% (3/4)
62
hasBindingForProperty
Name: QQuickDesignerCustomObjectData::hasBindingForProperty
Prototype: bool QQuickDesignerCustomObjectData::hasBindingForProperty(QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName, bool *hasChanged) const
Coverage:  30.000% (3/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 242-260
 30.000% (3/10)
94
setPropertyBinding
Name: QQuickDesignerCustomObjectData::setPropertyBinding
Prototype: void QQuickDesignerCustomObjectData::setPropertyBinding(QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName, const QString &expression)
Coverage:  30.769% (4/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 262-288
 30.769% (4/13)
145
populateResetHashes
Name: QQuickDesignerCustomObjectData::populateResetHashes
Prototype: void QQuickDesignerCustomObjectData::populateResetHashes()
Coverage:  71.429% (10/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 146-174
 71.429% (10/14)
176
doResetProperty
Name: QQuickDesignerCustomObjectData::doResetProperty
Prototype: void QQuickDesignerCustomObjectData::doResetProperty(QQmlContext *context, const QQuickDesignerSupport::PropertyName &propertyName)
Coverage:  48.571% (17/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/designer/qquickdesignercustomobjectdata.cpp
Lines: 186-230
 48.571% (17/35)
2611

Generated by Squish Coco 4.2.0