OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQuickFontMetrics
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
QQuickFontMetrics
Name: QQuickFontMetrics::QQuickFontMetrics
Prototype: QQuickFontMetrics::QQuickFontMetrics(QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 74-78
100.000% (1/1)
21
advanceWidth
Name: QQuickFontMetrics::advanceWidth
Prototype: qreal QQuickFontMetrics::advanceWidth(const QString &text) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 288-291
100.000% (1/1)
11
ascent
Name: QQuickFontMetrics::ascent
Prototype: qreal QQuickFontMetrics::ascent() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 110-113
100.000% (1/1)
11
averageCharacterWidth
Name: QQuickFontMetrics::averageCharacterWidth
Prototype: qreal QQuickFontMetrics::averageCharacterWidth() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 218-221
100.000% (1/1)
11
boundingRect
Name: QQuickFontMetrics::boundingRect
Prototype: QRectF QQuickFontMetrics::boundingRect(const QString &text) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 305-308
100.000% (1/1)
11
descent
Name: QQuickFontMetrics::descent
Prototype: qreal QQuickFontMetrics::descent() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 122-125
100.000% (1/1)
11
elidedText
Name: QQuickFontMetrics::elidedText
Prototype: QString QQuickFontMetrics::elidedText(const QString &text, Qt::TextElideMode mode, qreal width, int flags) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 343-346
100.000% (1/1)
11
font
Name: QQuickFontMetrics::font
Prototype: QFont QQuickFontMetrics::font() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 89-92
  0.000% (0/1)
11
fontChanged
Name: QQuickFontMetrics::fontChanged
Prototype: void QQuickFontMetrics::fontChanged(const QFont & _t1)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickfontmetrics_p.cpp
Lines: 265-269
100.000% (1/1)
21
height
Name: QQuickFontMetrics::height
Prototype: qreal QQuickFontMetrics::height() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 134-137
100.000% (1/1)
11
leading
Name: QQuickFontMetrics::leading
Prototype: qreal QQuickFontMetrics::leading() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 146-149
100.000% (1/1)
11
lineSpacing
Name: QQuickFontMetrics::lineSpacing
Prototype: qreal QQuickFontMetrics::lineSpacing() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 158-161
100.000% (1/1)
11
lineWidth
Name: QQuickFontMetrics::lineWidth
Prototype: qreal QQuickFontMetrics::lineWidth() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 270-273
100.000% (1/1)
11
maximumCharacterWidth
Name: QQuickFontMetrics::maximumCharacterWidth
Prototype: qreal QQuickFontMetrics::maximumCharacterWidth() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 194-197
100.000% (1/1)
11
minimumLeftBearing
Name: QQuickFontMetrics::minimumLeftBearing
Prototype: qreal QQuickFontMetrics::minimumLeftBearing() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 170-173
100.000% (1/1)
11
minimumRightBearing
Name: QQuickFontMetrics::minimumRightBearing
Prototype: qreal QQuickFontMetrics::minimumRightBearing() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 182-185
100.000% (1/1)
11
overlinePosition
Name: QQuickFontMetrics::overlinePosition
Prototype: qreal QQuickFontMetrics::overlinePosition() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 244-247
100.000% (1/1)
11
setFont
Name: QQuickFontMetrics::setFont
Prototype: void QQuickFontMetrics::setFont(const QFont &font)
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 94-101
 75.000% (3/4)
42
strikeOutPosition
Name: QQuickFontMetrics::strikeOutPosition
Prototype: qreal QQuickFontMetrics::strikeOutPosition() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 257-260
100.000% (1/1)
11
tightBoundingRect
Name: QQuickFontMetrics::tightBoundingRect
Prototype: QRectF QQuickFontMetrics::tightBoundingRect(const QString &text) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 322-325
100.000% (1/1)
11
underlinePosition
Name: QQuickFontMetrics::underlinePosition
Prototype: qreal QQuickFontMetrics::underlinePosition() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 231-234
100.000% (1/1)
11
xHeight
Name: QQuickFontMetrics::xHeight
Prototype: qreal QQuickFontMetrics::xHeight() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickfontmetrics.cpp
Lines: 206-209
100.000% (1/1)
11

Generated by Squish Coco 4.2.0