OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::StringOrTranslation
Functionâ–ľCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
~StringOrTranslation
Name: StringOrTranslation::~StringOrTranslation
Prototype: StringOrTranslation::~StringOrTranslation()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 283-286
100.000% (1/1)
11
toString
Name: StringOrTranslation::toString
Prototype: QString StringOrTranslation::toString(const QQmlListModel *owner) const
Coverage:  60.000% (6/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 305-317
 60.000% (6/10)
94
setTranslation
Name: StringOrTranslation::setTranslation
Prototype: void StringOrTranslation::setTranslation(const QV4::CompiledData::Binding *binding)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 298-303
100.000% (1/1)
31
setString
Name: StringOrTranslation::setString
Prototype: void StringOrTranslation::setString(const QString &s)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 288-296
 75.000% (3/4)
62
isTranslation
Name: StringOrTranslation::isTranslation
Prototype: bool isTranslation() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel_p_p.h
Lines: 254-254
100.000% (1/1)
11
isSet
Name: StringOrTranslation::isSet
Prototype: bool isSet() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel_p_p.h
Lines: 253-253
100.000% (1/1)
11
clear
Name: StringOrTranslation::clear
Prototype: void StringOrTranslation::clear()
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 330-337
100.000% (9/9)
43
asString
Name: StringOrTranslation::asString
Prototype: QString StringOrTranslation::asString() const
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 319-328
 42.857% (3/7)
73
StringOrTranslation
Name: StringOrTranslation::StringOrTranslation
Prototype: StringOrTranslation::StringOrTranslation(const QString &s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 270-274
100.000% (1/1)
21
StringOrTranslation
Name: StringOrTranslation::StringOrTranslation
Prototype: StringOrTranslation::StringOrTranslation(const QV4::CompiledData::Binding *binding)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 276-281
  0.000% (0/1)
31

Generated by Squish Coco 4.2.0