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

Function Tree

Path:<top>::QLocalePrivate
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
bcp47Name
Name: QLocalePrivate::bcp47Name
Coverage:  0.000% (0/1)
  0.000% (0/1)
01
bcp47Name
Name: 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
 37.500% (3/8)
54
codeToCountry
Name: 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
 72.222% (13/18)
104
codeToLanguage
Name: 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
 23.881% (16/67)
2811
codeToScript
Name: 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
 12.500% (2/16)
114
countryToCode
Name: 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
 42.857% (3/7)
93
dateTimeToString
Name: 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
 93.130% (122/131)
14252
getLangAndCountry
Name: 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
 71.429% (5/7)
133
languageToCode
Name: 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
 60.000% (6/10)
114
measurementSystem
Name: 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
 44.444% (4/9)
53
scriptToCode
Name: 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
  0.000% (0/6)
42
updateSystemPrivate
Name: 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
 57.143% (16/28)
3110

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