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

Function Tree

Page:<>12
eLOC - Effective Lines of Code: 2
Path:<top>::QString
FunctionCondition %eLOC - Effective Lines of Codeā–¾McCabe - Cyclomatic Complexity
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
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
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
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
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
arg
Name: QString::arg
Prototype: QString QString::arg(double a, int fieldWidth, char fmt, int prec, QChar fillChar) const
Coverage:  63.333% (19/30)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 7786-7837
 63.333% (19/30)
3112
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
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
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
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
arg
Name: QString::arg
Prototype: QString QString::arg(qulonglong a, int fieldWidth, int base, QChar fillChar) const
Coverage:  50.000% (8/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 7674-7700
 50.000% (8/16)
176
arg
Name: QString::arg
Prototype: QString QString::arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const
Coverage: 100.000% (16/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 7630-7656
100.000% (16/16)
176
lastIndexOf
Name: QString::lastIndexOf
Prototype: int QString::lastIndexOf(QLatin1String str, int from, Qt::CaseSensitivity cs) const
Coverage:  40.000% (8/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3304-3325
 40.000% (8/20)
166
insert
Name: QString::insert
Prototype: QString& QString::insert(int i, const QChar *unicode, int size)
Coverage:  83.333% (15/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1998-2022
 83.333% (15/18)
165
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
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
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
multiArg
Name: QString::multiArg
Prototype: QString QString::multiArg(int numArgs, const QString **args) const
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 7986-8015
 84.615% (11/13)
155
lastIndexOf
Name: QString::lastIndexOf
Prototype: int QString::lastIndexOf(const QStringRef &str, int from, Qt::CaseSensitivity cs) const
Coverage: 100.000% (20/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3353-3372
100.000% (20/20)
156
lastIndexOf
Name: QString::lastIndexOf
Prototype: int QString::lastIndexOf(const QRegularExpression &re, int from, QRegularExpressionMatch *rmatch) const
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3973-3996
100.000% (15/15)
155
isRightToLeft
Name: QString::isRightToLeft
Prototype: bool QString::isRightToLeft() const
Coverage:  89.474% (17/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 8075-8101
 89.474% (17/19)
158
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
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
leftJustified
Name: QString::leftJustified
Prototype: QString QString::leftJustified(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: 5699-5718
100.000% (14/14)
145
lastIndexOf
Name: QString::lastIndexOf
Prototype: int QString::lastIndexOf(const QString &str, int from, Qt::CaseSensitivity cs) const
Coverage: 100.000% (20/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3265-3283
100.000% (20/20)
146
fromLatin1_helper
Name: QString::fromLatin1_helper
Prototype: QString::Data *QString::fromLatin1_helper(const char *str, int size)
Coverage:  72.222% (13/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4678-4697
 72.222% (13/18)
145
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
count
Name: QString::count
Prototype: int QString::count(const QRegularExpression &re) const
Coverage:  90.000% (9/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4048-4065
 90.000% (9/10)
134
QString
Name: QString::QString
Prototype: QString::QString(const QChar *unicode, int size)
Coverage:  87.500% (14/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1511-1531
 87.500% (14/16)
136
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
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
fromLocal8Bit_helper
Name: QString::fromLocal8Bit_helper
Prototype: QString QString::fromLocal8Bit_helper(const char *str, int size)
Coverage:  82.353% (14/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4743-4759
 82.353% (14/17)
115
QString
Name: QString::QString
Prototype: QString::QString(int size, QChar ch)
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1539-1554
 80.000% (8/10)
114
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
insert
Name: QString::insert
Prototype: QString& QString::insert(int i, QChar ch)
Coverage:  63.636% (7/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2031-2044
 63.636% (7/11)
104
insert
Name: QString::insert
Prototype: QString &QString::insert(int i, QLatin1String str)
Coverage:  75.000% (9/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1974-1989
 75.000% (9/12)
103
indexOf
Name: QString::indexOf
Prototype: int QString::indexOf(const QRegularExpression &re, int from, QRegularExpressionMatch *rmatch) const
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3922-3938
100.000% (10/10)
104
count
Name: QString::count
Prototype: int QString::count(const QRegExp& rx) const
Coverage:  85.714% (6/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3871-3884
 85.714% (6/7)
103
append
Name: QString::append
Prototype: QString &QString::append(QLatin1String str)
Coverage: 100.000% (9/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2103-2116
100.000% (9/9)
103
mid
Name: QString::mid
Prototype: QString QString::mid(int position, int n) const
Coverage:  88.889% (8/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4400-4418
 88.889% (8/9)
95
fromRawData
Name: QString::fromRawData
Prototype: QString QString::fromRawData(const QChar *unicode, int size)
Coverage:  81.818% (9/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 8207-8220
 81.818% (9/11)
94
append
Name: QString::append
Prototype: QString &QString::append(const QString &str)
Coverage: 100.000% (12/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2064-2078
100.000% (12/12)
94
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
midRef
Name: QString::midRef
Prototype: QStringRef QString::midRef(int position, int n) const
Coverage:  88.889% (8/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 9642-9657
 88.889% (8/9)
85
isSimpleText
Name: QString::isSimpleText
Prototype: bool QString::isSimpleText() const
Coverage:  0.000% (0/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 8055-8069
  0.000% (0/11)
83
contains
Name: QString::contains
Prototype: bool QString::contains(const QRegularExpression &re, QRegularExpressionMatch *match) const
Coverage: 100.000% (9/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4023-4034
100.000% (9/9)
83
compare_helper
Name: QString::compare_helper
Prototype: int QString::compare_helper(const QChar *data1, int length1, QLatin1String s2, Qt::CaseSensitivity cs) noexcept
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5501-5516
 71.429% (5/7)
83
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(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
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
fromUtf16
Name: QString::fromUtf16
Prototype: QString QString::fromUtf16(const ushort *unicode, int size)
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4839-4849
 80.000% (8/10)
74
fromUcs4
Name: QString::fromUcs4
Prototype: QString QString::fromUcs4(const uint *unicode, int size)
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4896-4906
100.000% (10/10)
74
fill
Name: QString::fill
Prototype: QString& QString::fill(QChar ch, int size)
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5099-5109
100.000% (7/7)
73
append
Name: QString::append
Prototype: QString &QString::append(const QStringRef &str)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 9498-9508
 71.429% (5/7)
73
append
Name: QString::append
Prototype: QString &QString::append(const QChar *str, int len)
Coverage: 100.000% (11/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2086-2096
100.000% (11/11)
73
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
arg
Name: QString::arg
Prototype: QString QString::arg(const QString &a, int fieldWidth, QChar fillChar) const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 7426-7436
 50.000% (2/4)
62
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
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
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
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
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
localeAwareCompare_helper
Name: QString::localeAwareCompare_helper
Prototype: int QString::localeAwareCompare_helper(const QChar *data1, int length1, const QChar *data2, int length2)
Coverage:  88.889% (8/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5598-5649
 88.889% (8/9)
53
compare_helper
Name: QString::compare_helper
Prototype: int QString::compare_helper(const QChar *data1, int length1, const QChar *data2, int length2, Qt::CaseSensitivity cs) noexcept
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5450-5458
100.000% (4/4)
52
asprintf
Name: QString::asprintf
Prototype: QString QString::asprintf(const char *cformat, ...)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5964-5971
100.000% (1/1)
51
append
Name: QString::append
Prototype: QString &QString::append(QChar ch)
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2149-2156
100.000% (6/6)
52
QString
Name: QString::QString
Prototype: QString::QString(QChar ch)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1580-1587
 50.000% (2/4)
52
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
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
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
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
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(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(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
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% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2816-2823
100.000% (6/6)
42
fromUtf8_helper
Name: QString::fromUtf8_helper
Prototype: QString QString::fromUtf8_helper(const char *str, int size)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4813-4820
100.000% (4/4)
42
endsWith
Name: QString::endsWith
Prototype: bool QString::endsWith(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: 4525-4531
100.000% (1/1)
41
QString
Name: QString::QString
Prototype: QString::QString(int size, Qt::Initialization)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1562-1568
 50.000% (2/4)
42
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
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
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
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
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
normalized
Name: QString::normalized
Prototype: QString QString::normalized(QString::NormalizationForm mode, QChar::UnicodeVersion version) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 7224-7229
100.000% (1/1)
31
leftRef
Name: QString::leftRef
Prototype: QStringRef QString::leftRef(int n) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 9542-9547
100.000% (4/4)
32
left
Name: QString::left
Prototype: QString QString::left(int n) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4358-4363
100.000% (4/4)
32
fromAscii_helper
Name: QString::fromAscii_helper
Prototype: QString::Data *QString::fromAscii_helper(const char *str, int size)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4699-4704
100.000% (1/1)
31
compare
Name: QString::compare
Prototype: int QString::compare(const QString &other, Qt::CaseSensitivity cs) const noexcept
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5439-5444
100.000% (4/4)
32
arg
Name: QString::arg
Prototype: QString QString::arg(QChar a, int fieldWidth, QChar fillChar) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 7742-7747
100.000% (1/1)
31
arg
Name: QString::arg
Prototype: QString QString::arg(char a, int fieldWidth, QChar fillChar) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 7754-7759
100.000% (1/1)
31
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
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
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(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
lastIndexOf
Name: QString::lastIndexOf
Prototype: int QString::lastIndexOf(const QRegExp& rx, int from) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3833-3837
100.000% (1/1)
21
indexOf
Name: QString::indexOf
Prototype: int QString::indexOf(const QRegExp& rx, int from) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3796-3800
100.000% (1/1)
21
Page:<>12
eLOC - Effective Lines of Code: 2

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