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

Function Tree

Page:<>1
Condition %:  0.000% (0/1)
2
Path:<top>::QString
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
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
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
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% (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: 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
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
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, 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(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(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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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_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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Page:<>1
Condition %:  0.000% (0/1)
2

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