OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQmlStringConverters
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
colorFromString
Name: QQmlStringConverters::colorFromString
Prototype: QVariant QQmlStringConverters::colorFromString(const QString &s, bool *ok)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlstringconverters.cpp
Lines: 99-102
100.000% (1/1)
11
rgbaFromString
Name: QQmlStringConverters::rgbaFromString
Prototype: unsigned QQmlStringConverters::rgbaFromString(const QString &s, bool *ok)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlstringconverters.cpp
Lines: 104-107
100.000% (1/1)
11
dateFromString
Name: QQmlStringConverters::dateFromString
Prototype: QDate QQmlStringConverters::dateFromString(const QString &s, bool *ok)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlstringconverters.cpp
Lines: 110-115
 75.000% (3/4)
32
timeFromString
Name: QQmlStringConverters::timeFromString
Prototype: QTime QQmlStringConverters::timeFromString(const QString &s, bool *ok)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlstringconverters.cpp
Lines: 117-122
 75.000% (3/4)
32
dateTimeFromString
Name: QQmlStringConverters::dateTimeFromString
Prototype: QDateTime QQmlStringConverters::dateTimeFromString(const QString &s, bool *ok)
Coverage:  85.714% (6/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlstringconverters.cpp
Lines: 124-132
 85.714% (6/7)
53
variantFromString
Name: QQmlStringConverters::variantFromString
Prototype: QVariant QQmlStringConverters::variantFromString(const QString &s)
Coverage:  53.846% (7/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlstringconverters.cpp
Lines: 51-65
 53.846% (7/13)
105
variantFromString
Name: QQmlStringConverters::variantFromString
Prototype: QVariant QQmlStringConverters::variantFromString(const QString &s, int preferredType, bool *ok)
Coverage: 100.000% (24/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlstringconverters.cpp
Lines: 67-97
100.000% (24/24)
1313
pointFFromString
Name: QQmlStringConverters::pointFFromString
Prototype: QPointF QQmlStringConverters::pointFFromString(const QString &s, bool *ok)
Coverage:  55.556% (10/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlstringconverters.cpp
Lines: 136-157
 55.556% (10/18)
156
sizeFFromString
Name: QQmlStringConverters::sizeFFromString
Prototype: QSizeF QQmlStringConverters::sizeFFromString(const QString &s, bool *ok)
Coverage:  55.556% (10/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlstringconverters.cpp
Lines: 160-181
 55.556% (10/18)
156
rectFFromString
Name: QQmlStringConverters::rectFFromString
Prototype: QRectF QQmlStringConverters::rectFFromString(const QString &s, bool *ok)
Coverage:  54.167% (13/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlstringconverters.cpp
Lines: 184-209
 54.167% (13/24)
196
createFromString
Name: QQmlStringConverters::createFromString
Prototype: bool QQmlStringConverters::createFromString(int type, const QString &s, void *data, size_t n)
Coverage:  0.000% (0/24)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/qqmlstringconverters.cpp
Lines: 211-300
  0.000% (0/24)
4813

Generated by Squish Coco 4.2.0