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

Function Tree

Path:<top>::QUnicodeTools
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
getWhiteSpaces
Name: QUnicodeTools::getWhiteSpaces
Prototype: static void getWhiteSpaces(const ushort *string, quint32 len, QCharAttributes *attributes)
Coverage:  86.667% (13/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qunicodetools.cpp
Lines: 600-615
 86.667% (13/15)
95
LB
Name: QUnicodeTools::LB
Coverage: 100.000% (22/22)
100.000% (22/22)
1113
getGraphemeBreaks
Name: QUnicodeTools::getGraphemeBreaks
Prototype: static void getGraphemeBreaks(const ushort *string, quint32 len, QCharAttributes *attributes)
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qunicodetools.cpp
Lines: 83-107
100.000% (15/15)
155
initScripts
Name: QUnicodeTools::initScripts
Prototype: void initScripts(const ushort *string, int length, uchar *scripts)
Coverage: 100.000% (21/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qunicodetools.cpp
Lines: 685-734
100.000% (21/21)
277
getSentenceBreaks
Name: QUnicodeTools::getSentenceBreaks
Prototype: static void getSentenceBreaks(const ushort *string, quint32 len, QCharAttributes *attributes)
Coverage:  67.500% (27/40)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qunicodetools.cpp
Lines: 288-346
 67.500% (27/40)
3517
initCharAttributes
Name: QUnicodeTools::initCharAttributes
Prototype: void initCharAttributes(const ushort *string, int length, const ScriptItem *items, int numItems, QCharAttributes *attributes, CharAttributeOptions options)
Coverage:  85.714% (36/42)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qunicodetools.cpp
Lines: 618-676
 85.714% (36/42)
4714
getWordBreaks
Name: QUnicodeTools::getWordBreaks
Prototype: static void getWordBreaks(const ushort *string, quint32 len, QCharAttributes *attributes)
Coverage:  94.286% (66/70)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qunicodetools.cpp
Lines: 141-246
 94.286% (66/70)
6027
getLineBreaks
Name: QUnicodeTools::getLineBreaks
Prototype: static void getLineBreaks(const ushort *string, quint32 len, QCharAttributes *attributes)
Coverage:  93.258% (83/89)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qunicodetools.cpp
Lines: 484-597
 93.258% (83/89)
6434

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