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

Function Tree

Path:<top>::QLocaleData
Functionâ–ľCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
validateChars
Name: QLocaleData::validateChars
Prototype: bool QLocaleData::validateChars(const QString &str, NumberMode numMode, QByteArray *buff, int decDigits, QLocale::NumberOptions number_options) const
Coverage:  86.111% (62/72)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 3153-3252
 86.111% (62/72)
4821
unsLongLongToString
Name: QLocaleData::unsLongLongToString
Prototype: QString QLocaleData::unsLongLongToString(qulonglong l, int precision, int base, int width, unsigned flags) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 2959-2965
100.000% (1/1)
21
unsLongLongToString
Name: QLocaleData::unsLongLongToString
Prototype: QString QLocaleData::unsLongLongToString(const QChar zero, const QChar group, const QChar plus, qulonglong l, int precision, int base, int width, unsigned flags)
Coverage:  78.873% (56/71)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 2967-3032
 78.873% (56/71)
3815
stringToUnsLongLong
Name: QLocaleData::stringToUnsLongLong
Prototype: qulonglong QLocaleData::stringToUnsLongLong(const QChar *begin, int len, int base, bool *ok, QLocale::NumberOptions number_options) const
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 3284-3295
100.000% (7/7)
63
stringToLongLong
Name: QLocaleData::stringToLongLong
Prototype: qlonglong QLocaleData::stringToLongLong(const QChar *begin, int len, int base, bool *ok, QLocale::NumberOptions number_options) const
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 3271-3282
100.000% (7/7)
63
stringToDouble
Name: QLocaleData::stringToDouble
Prototype: double QLocaleData::stringToDouble(const QChar *begin, int len, bool *ok, QLocale::NumberOptions number_options) const
Coverage:  90.000% (9/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 3254-3269
 90.000% (9/10)
114
numberToCLocale
Name: QLocaleData::numberToCLocale
Prototype: bool QLocaleData::numberToCLocale(const QChar *str, int len, QLocale::NumberOptions number_options, CharBuff *result) const
Coverage:  72.650% (85/117)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 3042-3151
 72.650% (85/117)
6729
longLongToString
Name: QLocaleData::longLongToString
Prototype: QString QLocaleData::longLongToString(qlonglong l, int precision, int base, int width, unsigned flags) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 2864-2870
100.000% (1/1)
21
longLongToString
Name: QLocaleData::longLongToString
Prototype: QString QLocaleData::longLongToString(const QChar zero, const QChar group, const QChar plus, const QChar minus, qlonglong l, int precision, int base, int width, unsigned flags)
Coverage:  65.217% (60/92)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 2872-2957
 65.217% (60/92)
5219
findLocaleData
Name: QLocaleData::findLocaleData
Prototype: const QLocaleData *QLocaleData::findLocaleData(QLocale::Language language, QLocale::Script script, QLocale::Country country)
Coverage:  30.000% (12/40)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 338-383
 30.000% (12/40)
2712
doubleToString
Name: QLocaleData::doubleToString
Prototype: QString QLocaleData::doubleToString(double d, int precision, DoubleForm form, int width, unsigned flags) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 2744-2749
100.000% (1/1)
21
doubleToString
Name: QLocaleData::doubleToString
Prototype: QString QLocaleData::doubleToString(const QChar _zero, const QChar plus, const QChar minus, const QChar exponential, const QChar group, const QChar decimal, double d, int precision, DoubleForm form, int width, unsigned flags)
Coverage:  94.000% (94/100)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 2751-2862
 94.000% (94/100)
7123
c
Name: QLocaleData::c
Prototype: const QLocaleData *QLocaleData::c()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 657-661
100.000% (1/1)
21
bytearrayToUnsLongLong
Name: QLocaleData::bytearrayToUnsLongLong
Prototype: qulonglong QLocaleData::bytearrayToUnsLongLong(const char *num, int base, bool *ok)
Coverage: 100.000% (12/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 3353-3368
100.000% (12/12)
104
bytearrayToLongLong
Name: QLocaleData::bytearrayToLongLong
Prototype: qlonglong QLocaleData::bytearrayToLongLong(const char *num, int base, bool *ok, bool *overflow)
Coverage:  94.118% (32/34)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 3311-3351
 94.118% (32/34)
2612
bytearrayToDouble
Name: QLocaleData::bytearrayToDouble
Prototype: double QLocaleData::bytearrayToDouble(const char *num, bool *ok, bool *overflow)
Coverage:  0.000% (0/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 3297-3309
  0.000% (0/7)
103

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