Function | Condition % | Modifications | eLOC - Effective Lines of Codeā“ | McCabe - Cyclomatic Complexity |
compareName: | 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 |
toDoubleName: | 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 |
toIntegral_helperName: | 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_helperName: | 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 |
replaceName: | 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 |
compareName: | 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 |
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 |
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 |
compare_helperName: | 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: | 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 |
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 |
resizeName: | 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 |
expandName: | 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 |
compare_helperName: | 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 |
insertName: | 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 |
insertName: | 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 |
insertName: | 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 |
reallocDataName: | 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 |
argName: | 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 |
replaceName: | 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 |
vasprintfName: | 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 |