| Function | Condition % | Modifications | 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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines (reference): | 5967-6284 | | Comparison: | Different |
| | Different | 195 | 97 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines (reference): | 3532-3640 | | Comparison: | Different |
| | Different | 63 | 16 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines (reference): | 7766-7815 | | Comparison: | Different |
| | Different | 29 | 11 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines (reference): | 1736-1761 | | Comparison: | Different |
| | Different | 19 | 7 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines (reference): | 1973-1994 | | Comparison: | Different |
| | Different | 14 | 4 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines (reference): | 2003-2013 | | Comparison: | Different |
| | Different | 8 | 3 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines (reference): | 1952-1964 | | Comparison: | Different |
| | Different | 8 | 2 |
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 | | Comparison: | New |
| | New | 8 | 3 |
expand| Name: | QString::expand | | Prototype: | void QString::expand(int i) | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines: | 1791-1794 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines (reference): | 1763-1773 | | Comparison: | Different |
| | Different | 7 | 3 |
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 | | Comparison: | New |
| | New | 5 | 2 |
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 | | Comparison: | New |
| | New | 5 | 3 |
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 | | Comparison: | New |
| | New | 5 | 2 |
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 | | Comparison: | New |
| | New | 5 | 2 |
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 | | Comparison: | New |
| | New | 4 | 2 |
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 | | Comparison: | New |
| | New | 4 | 2 |
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 | | Comparison: | New |
| | New | 3 | 2 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines (reference): | 2322-2326 | | Comparison: | Different |
| | Different | 2 | 1 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines (reference): | 6313-6323 | | Comparison: | Different |
| | Different | 1 | 1 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines (reference): | 6353-6363 | | Comparison: | Different |
| | Different | 1 | 1 |
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 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines (reference): | 6561-6564 | | Comparison: | Different |
| | Different | 1 | 1 |
compare| Name: | QString::compare | | Prototype: | int QString::compare(QLatin1String other, Qt::CaseSensitivity cs) const noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines: | 5466-5469 | | Comparison: | New |
| | New | 1 | 1 |