QtBase - 2016-12-13 07:58:44 +0000

Function Tree

Page:<>12
Function: normalized
Path:<top>::QString
Functionâ–ľCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
vsprintf
Name: QString::vsprintf
Prototype: QString &QString::vsprintf(const char *cformat, va_list ap)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5978-5981
  0.000% (0/1)
11
vasprintf
Name: QString::vasprintf
Prototype: QString QString::vasprintf(const char *cformat, va_list ap)
Coverage:  59.412% (101/170)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6063-6303
 59.412% (101/170)
15076
utf16
Name: QString::utf16
Prototype: const ushort *QString::utf16() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5672-5679
 50.000% (2/4)
32
truncate
Name: QString::truncate
Prototype: void QString::truncate(int pos)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5060-5064
100.000% (4/4)
22
trimmed_helper
Name: QString::trimmed_helper
Prototype: QString QString::trimmed_helper(const QString &str)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4985-4988
100.000% (1/1)
11
trimmed_helper
Name: QString::trimmed_helper
Prototype: QString QString::trimmed_helper(QString &str)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4990-4993
100.000% (1/1)
11
trimmed
Name: QString::trimmed
Prototype: QString QString::trimmed() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring_compat.cpp
Lines: 51-54
  0.000% (0/1)
11
toUtf8_helper
Name: QString::toUtf8_helper
Prototype: QByteArray QString::toUtf8_helper(const QString &str)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4647-4653
100.000% (4/4)
32
toUtf8
Name: QString::toUtf8
Prototype: QByteArray QString::toUtf8() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring_compat.cpp
Lines: 86-89
  0.000% (0/1)
11
toUpper_helper
Name: QString::toUpper_helper
Prototype: QString QString::toUpper_helper(const QString &str)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5905-5908
100.000% (1/1)
11
toUpper_helper
Name: QString::toUpper_helper
Prototype: QString QString::toUpper_helper(QString &str)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5910-5913
100.000% (1/1)
11
toUpper
Name: QString::toUpper
Prototype: QString QString::toUpper() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring_compat.cpp
Lines: 71-74
  0.000% (0/1)
11
toUcs4_helper
Name: QString::toUcs4_helper
Prototype: int QString::toUcs4_helper(const ushort *uc, int length, uint *out)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1454-1463
100.000% (4/4)
52
toUcs4
Name: QString::toUcs4
Prototype: QVector<uint> QString::toUcs4() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4669-4676
100.000% (1/1)
51
toUShort
Name: QString::toUShort
Prototype: ushort QString::toUShort(bool *ok, int base) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6547-6550
100.000% (1/1)
11
toULongLong
Name: QString::toULongLong
Prototype: quint64 QString::toULongLong(bool *ok, int base) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6367-6370
100.000% (1/1)
11
toULong
Name: QString::toULong
Prototype: ulong QString::toULong(bool *ok, int base) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6438-6441
100.000% (1/1)
11
toUInt
Name: QString::toUInt
Prototype: uint QString::toUInt(bool *ok, int base) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6493-6496
100.000% (1/1)
11
toShort
Name: QString::toShort
Prototype: short QString::toShort(bool *ok, int base) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6520-6523
100.000% (1/1)
11
toLower_helper
Name: QString::toLower_helper
Prototype: QString QString::toLower_helper(const QString &str)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5865-5868
100.000% (1/1)
11
toLower_helper
Name: QString::toLower_helper
Prototype: QString QString::toLower_helper(QString &str)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5870-5873
100.000% (1/1)
11
toLower
Name: QString::toLower
Prototype: QString QString::toLower() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring_compat.cpp
Lines: 61-64
  0.000% (0/1)
11
toLongLong
Name: QString::toLongLong
Prototype: qint64 QString::toLongLong(bool *ok, int base) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6327-6330
100.000% (1/1)
11
toLong
Name: QString::toLong
Prototype: long QString::toLong(bool *ok, int base) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6409-6412
100.000% (1/1)
11
toLocal8Bit_helper
Name: QString::toLocal8Bit_helper
Prototype: QByteArray QString::toLocal8Bit_helper(const QChar *data, int size)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4625-4633
100.000% (4/4)
42
toLocal8Bit
Name: QString::toLocal8Bit
Prototype: QByteArray QString::toLocal8Bit() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring_compat.cpp
Lines: 81-84
  0.000% (0/1)
11
toLatin1_helper_inplace
Name: QString::toLatin1_helper_inplace
Prototype: QByteArray QString::toLatin1_helper_inplace(QString &s)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4552-4579
100.000% (4/4)
122
toLatin1_helper
Name: QString::toLatin1_helper
Prototype: QByteArray QString::toLatin1_helper(const QString &string)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4533-4539
100.000% (4/4)
32
toLatin1_helper
Name: QString::toLatin1_helper
Prototype: QByteArray QString::toLatin1_helper(const QChar *data, int length)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4541-4550
100.000% (1/1)
41
toLatin1
Name: QString::toLatin1
Prototype: QByteArray QString::toLatin1() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring_compat.cpp
Lines: 76-79
  0.000% (0/1)
11
toIntegral_helper
Name: QString::toIntegral_helper
Prototype: qlonglong QString::toIntegral_helper(const QChar *data, int len, bool *ok, int base)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6332-6342
100.000% (1/1)
11
toIntegral_helper
Name: QString::toIntegral_helper
Prototype: qulonglong QString::toIntegral_helper(const QChar *data, uint len, bool *ok, int base)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6372-6383
100.000% (1/1)
21
toInt
Name: QString::toInt
Prototype: int QString::toInt(bool *ok, int base) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6466-6469
100.000% (1/1)
11
toHtmlEscaped
Name: QString::toHtmlEscaped
Prototype: QString QString::toHtmlEscaped() const
Coverage: 100.000% (16/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 10667-10686
100.000% (16/16)
156
toFloat
Name: QString::toFloat
Prototype: float QString::toFloat(bool *ok) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6602-6605
100.000% (1/1)
11
toDouble
Name: QString::toDouble
Prototype: double QString::toDouble(bool *ok) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6581-6584
100.000% (1/1)
11
toCaseFolded_helper
Name: QString::toCaseFolded_helper
Prototype: QString QString::toCaseFolded_helper(const QString &str)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5882-5885
100.000% (1/1)
11
toCaseFolded_helper
Name: QString::toCaseFolded_helper
Prototype: QString QString::toCaseFolded_helper(QString &str)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5887-5890
100.000% (1/1)
11
toCaseFolded
Name: QString::toCaseFolded
Prototype: QString QString::toCaseFolded() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring_compat.cpp
Lines: 66-69
  0.000% (0/1)
11
startsWith
Name: QString::startsWith
Prototype: bool QString::startsWith(const QString& s, Qt::CaseSensitivity cs) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4431-4435
100.000% (1/1)
21
startsWith
Name: QString::startsWith
Prototype: bool QString::startsWith(QLatin1String s, Qt::CaseSensitivity cs) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4440-4443
100.000% (1/1)
11
startsWith
Name: QString::startsWith
Prototype: bool QString::startsWith(QChar c, Qt::CaseSensitivity cs) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4451-4457
100.000% (1/1)
41
startsWith
Name: QString::startsWith
Prototype: bool QString::startsWith(const QStringRef &s, Qt::CaseSensitivity cs) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4470-4474
100.000% (1/1)
21
sprintf
Name: QString::sprintf
Prototype: QString &QString::sprintf(const char *cformat, ...)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5920-5927
100.000% (1/1)
51
splitRef
Name: QString::splitRef
Prototype: QVector<QStringRef> QString::splitRef(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6881-6884
100.000% (1/1)
11
splitRef
Name: QString::splitRef
Prototype: QVector<QStringRef> QString::splitRef(QChar sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6897-6900
100.000% (1/1)
11
splitRef
Name: QString::splitRef
Prototype: QVector<QStringRef> QString::splitRef(const QRegExp &rx, SplitBehavior behavior) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 7001-7004
100.000% (1/1)
11
splitRef
Name: QString::splitRef
Prototype: QVector<QStringRef> QString::splitRef(const QRegularExpression &re, SplitBehavior behavior) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 7084-7087
100.000% (1/1)
11
split
Name: QString::split
Prototype: QStringList QString::split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6858-6861
100.000% (1/1)
11
split
Name: QString::split
Prototype: QStringList QString::split(QChar sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6888-6891
100.000% (1/1)
11
split
Name: QString::split
Prototype: QStringList QString::split(const QRegExp &rx, SplitBehavior behavior) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6982-6985
100.000% (1/1)
11
split
Name: QString::split
Prototype: QStringList QString::split(const QRegularExpression &re, SplitBehavior behavior) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 7065-7068
100.000% (1/1)
11
simplified_helper
Name: QString::simplified_helper
Prototype: QString QString::simplified_helper(const QString &str)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4957-4960
100.000% (1/1)
11
simplified_helper
Name: QString::simplified_helper
Prototype: QString QString::simplified_helper(QString &str)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4962-4965
100.000% (1/1)
11
simplified
Name: QString::simplified
Prototype: QString QString::simplified() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring_compat.cpp
Lines: 56-59
  0.000% (0/1)
11
setUnicode
Name: QString::setUnicode
Prototype: QString& QString::setUnicode(const QChar *unicode, int size)
Coverage:  83.333% (5/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4917-4923
 83.333% (5/6)
42
setRawData
Name: QString::setRawData
Prototype: QString &QString::setRawData(const QChar *unicode, int size)
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 8236-8250
 80.000% (8/10)
83
setNum
Name: QString::setNum
Prototype: QString &QString::setNum(qlonglong n, int base)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6640-6643
100.000% (1/1)
11
setNum
Name: QString::setNum
Prototype: QString &QString::setNum(qulonglong n, int base)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6648-6651
100.000% (1/1)
11
setNum
Name: QString::setNum
Prototype: QString &QString::setNum(double n, char f, int prec)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6679-6682
100.000% (1/1)
11
section
Name: QString::section
Prototype: QString QString::section(const QString &sep, int start, int end, SectionFlags flags) const
Coverage:  98.333% (59/60)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4141-4187
 98.333% (59/60)
3817
section
Name: QString::section
Prototype: QString QString::section(const QRegExp &reg, int start, int end, SectionFlags flags) const
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4275-4296
 71.429% (5/7)
153
section
Name: QString::section
Prototype: QString QString::section(const QRegularExpression &re, int start, int end, SectionFlags flags) const
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4315-4343
 69.231% (9/13)
205
rightRef
Name: QString::rightRef
Prototype: QStringRef QString::rightRef(int n) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 9581-9586
100.000% (4/4)
32
rightJustified
Name: QString::rightJustified
Prototype: QString QString::rightJustified(int width, QChar fill, bool truncate) const
Coverage: 100.000% (14/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5738-5757
100.000% (14/14)
145
right
Name: QString::right
Prototype: QString QString::right(int n) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4376-4381
100.000% (4/4)
32
resize
Name: QString::resize
Prototype: void QString::resize(int size)
Coverage:  89.474% (17/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1673-1689
 89.474% (17/19)
105
resize
Name: QString::resize
Prototype: void QString::resize(int size, QChar fillChar)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1701-1708
100.000% (4/4)
52
replace_helper
Name: QString::replace_helper
Prototype: void QString::replace_helper(uint *indices, int nIndices, int blen, const QChar *after, int alen)
Coverage:  96.970% (32/33)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2432-2493
 96.970% (32/33)
4312
replace
Name: QString::replace
Prototype: QString &QString::replace(int pos, int len, const QString &after)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2353-2356
100.000% (1/1)
11
replace
Name: QString::replace
Prototype: QString &QString::replace(int pos, int len, const QChar *unicode, int size)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2365-2375
 71.429% (5/7)
73
replace
Name: QString::replace
Prototype: QString &QString::replace(int pos, int len, QChar after)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2384-2387
100.000% (1/1)
11
replace
Name: QString::replace
Prototype: QString &QString::replace(const QString &before, const QString &after, Qt::CaseSensitivity cs)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2407-2410
100.000% (1/1)
11
replace
Name: QString::replace
Prototype: QString &QString::replace(const QChar *before, int blen, const QChar *after, int alen, Qt::CaseSensitivity cs)
Coverage:  89.796% (44/49)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2506-2565
 89.796% (44/49)
3514
replace
Name: QString::replace
Prototype: QString& QString::replace(QChar ch, const QString &after, Qt::CaseSensitivity cs)
Coverage:  84.615% (33/39)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2575-2616
 84.615% (33/39)
2612
replace
Name: QString::replace
Prototype: QString& QString::replace(QChar before, QChar after, Qt::CaseSensitivity cs)
Coverage: 100.000% (17/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2626-2646
100.000% (17/17)
157
replace
Name: QString::replace
Prototype: QString &QString::replace(QLatin1String before, QLatin1String after, Qt::CaseSensitivity cs)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2660-2669
100.000% (1/1)
71
replace
Name: QString::replace
Prototype: QString &QString::replace(QLatin1String before, const QString &after, Qt::CaseSensitivity cs)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2683-2689
100.000% (1/1)
41
replace
Name: QString::replace
Prototype: QString &QString::replace(const QString &before, QLatin1String after, Qt::CaseSensitivity cs)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2703-2709
  0.000% (0/1)
41
replace
Name: QString::replace
Prototype: QString &QString::replace(QChar c, QLatin1String after, Qt::CaseSensitivity cs)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2723-2729
100.000% (1/1)
41
replace
Name: QString::replace
Prototype: QString& QString::replace(const QRegExp &rx, const QString &after)
Coverage:  92.000% (69/75)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3404-3539
 92.000% (69/75)
8723
replace
Name: QString::replace
Prototype: QString &QString::replace(const QRegularExpression &re, const QString &after)
Coverage: 100.000% (46/46)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3562-3670
100.000% (46/46)
6316
repeated
Name: QString::repeated
Prototype: QString QString::repeated(int times) const
Coverage:  87.500% (14/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 7119-7152
 87.500% (14/16)
236
remove
Name: QString::remove
Prototype: QString &QString::remove(int pos, int len)
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2240-2255
 69.231% (9/13)
115
remove
Name: QString::remove
Prototype: QString &QString::remove(const QString &str, Qt::CaseSensitivity cs)
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2268-2276
100.000% (7/7)
53
remove
Name: QString::remove
Prototype: QString &QString::remove(QChar ch, Qt::CaseSensitivity cs)
Coverage: 100.000% (17/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2293-2312
100.000% (17/17)
136
reallocData
Name: QString::reallocData
Prototype: void QString::reallocData(uint alloc, bool grow)
Coverage:  78.947% (15/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1760-1788
 78.947% (15/19)
216
operator>
Name: QString::operator>
Prototype: bool QString::operator>(QLatin1String other) const noexcept
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2921-2928
100.000% (6/6)
42
operator==
Name: QString::operator==
Prototype: bool QString::operator==(QLatin1String other) const noexcept
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2755-2764
100.000% (7/7)
53
operator=
Name: QString::operator=
Prototype: QString &QString::operator=(const QString &other) noexcept
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1810-1817
100.000% (4/4)
52
operator=
Name: QString::operator=
Prototype: QString &QString::operator=(QLatin1String other)
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1833-1843
100.000% (7/7)
62
operator=
Name: QString::operator=
Prototype: QString &QString::operator=(QChar ch)
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1892-1904
100.000% (7/7)
72
operator<
Name: QString::operator<
Prototype: bool QString::operator<(QLatin1String other) const noexcept
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2816-2823
100.000% (6/6)
42
number
Name: QString::number
Prototype: QString QString::number(long n, int base)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6717-6720
100.000% (1/1)
11
number
Name: QString::number
Prototype: QString QString::number(ulong n, int base)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6727-6730
100.000% (1/1)
11
number
Name: QString::number
Prototype: QString QString::number(int n, int base)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6735-6738
100.000% (1/1)
11
number
Name: QString::number
Prototype: QString QString::number(uint n, int base)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6743-6746
100.000% (1/1)
11
number
Name: QString::number
Prototype: QString QString::number(qlonglong n, int base)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6751-6760
100.000% (1/1)
11
number
Name: QString::number
Prototype: QString QString::number(qulonglong n, int base)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6765-6774
100.000% (1/1)
11
number
Name: QString::number
Prototype: QString QString::number(double n, char f, int prec)
Coverage:  66.667% (8/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6789-6816
 66.667% (8/12)
146
Page:<>12
Function: normalized

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9