Function | Condition % | eLOC - Effective Lines of Codeā“ | McCabe - Cyclomatic Complexity |
bcp47NameName: | QLocalePrivate::bcp47Name | Coverage: | 0.000% (0/1) |
| | 0 | 1 |
scriptToCodeName: | QLocalePrivate::scriptToCode | Prototype: | QString QLocalePrivate::scriptToCode(QLocale::Script script) | Coverage: | 0.000% (0/6) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | Lines: | 190-196 |
| | 4 | 2 |
bcp47NameName: | QLocalePrivate::bcp47Name | Prototype: | QByteArray QLocalePrivate::bcp47Name(char separator) const | Coverage: | 37.500% (3/8) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | Lines: | 327-336 |
| | 5 | 4 |
measurementSystemName: | QLocalePrivate::measurementSystem | Prototype: | QLocale::MeasurementSystem QLocalePrivate::measurementSystem() const | Coverage: | 44.444% (4/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | Lines: | 2330-2339 |
| | 5 | 3 |
countryToCodeName: | QLocalePrivate::countryToCode | Prototype: | QString QLocalePrivate::countryToCode(QLocale::Country country) | Coverage: | 42.857% (3/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | Lines: | 198-213 |
| | 9 | 3 |
codeToCountryName: | QLocalePrivate::codeToCountry | Prototype: | QLocale::Country QLocalePrivate::codeToCountry(const QChar *code, int len) noexcept | Coverage: | 72.222% (13/18) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | Lines: | 154-169 |
| | 10 | 4 |
codeToScriptName: | QLocalePrivate::codeToScript | Prototype: | QLocale::Script QLocalePrivate::codeToScript(const QChar *code, int len) noexcept | Coverage: | 12.500% (2/16) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | Lines: | 135-152 |
| | 11 | 4 |
languageToCodeName: | QLocalePrivate::languageToCode | Prototype: | QString QLocalePrivate::languageToCode(QLocale::Language language) | Coverage: | 60.000% (6/10) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | Lines: | 171-188 |
| | 11 | 4 |
getLangAndCountryName: | QLocalePrivate::getLangAndCountry | Prototype: | void QLocalePrivate::getLangAndCountry(const QString &name, QLocale::Language &lang, QLocale::Script &script, QLocale::Country &cntry) | Coverage: | 71.429% (5/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | Lines: | 460-478 |
| | 13 | 3 |
codeToLanguageName: | QLocalePrivate::codeToLanguage | Prototype: | QLocale::Language QLocalePrivate::codeToLanguage(const QChar *code, int len) noexcept | Coverage: | 23.881% (16/67) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | Lines: | 93-133 |
| | 28 | 11 |
updateSystemPrivateName: | QLocalePrivate::updateSystemPrivate | Prototype: | void QLocalePrivate::updateSystemPrivate() | Coverage: | 57.143% (16/28) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | Lines: | 590-634 |
| | 31 | 10 |
dateTimeToStringName: | QLocalePrivate::dateTimeToString | Prototype: | QString QLocalePrivate::dateTimeToString(const QString &format, const QDateTime &datetime, const QDate &dateOnly, const QTime &timeOnly, const QLocale *q) const | Coverage: | 93.130% (122/131) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | Lines: | 2517-2742 |
| | 142 | 52 |