OpenCoverage

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

Function Tree

Path:<top>::QIPAddressUtils
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
toString
Name: QIPAddressUtils::toString
Prototype: void toString(QString &appendTo, IPv4Address address)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qipaddress.cpp
Lines: 129-140
100.000% (1/1)
71
toHex
Name: QIPAddressUtils::toHex
Prototype: static inline QChar toHex(uchar c)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qipaddress.cpp
Lines: 251-254
100.000% (1/1)
11
parseIp4
Name: QIPAddressUtils::parseIp4
Prototype: bool parseIp4(IPv4Address &address, const QChar *begin, const QChar *end)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qipaddress.cpp
Lines: 74-83
100.000% (4/4)
62
number
Name: QIPAddressUtils::number
Prototype: static QString number(quint8 val, int base = 10)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qipaddress.cpp
Lines: 48-52
100.000% (1/1)
21
checkedToAscii
Name: QIPAddressUtils::checkedToAscii
Prototype: static const QChar *checkedToAscii(Buffer &buffer, const QChar *begin, const QChar *end)
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qipaddress.cpp
Lines: 55-71
100.000% (7/7)
113
parseIp6
Name: QIPAddressUtils::parseIp6
Prototype: const QChar *parseIp6(IPv6Address &address, const QChar *begin, const QChar *end)
Coverage:  97.500% (78/80)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qipaddress.cpp
Lines: 152-249
 97.500% (78/80)
6721
parseIp4Internal
Name: QIPAddressUtils::parseIp4Internal
Prototype: static bool parseIp4Internal(IPv4Address &address, const char *ptr, bool acceptLeadingZero)
Coverage:  94.340% (50/53)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qipaddress.cpp
Lines: 85-127
 94.340% (50/53)
3413
toString
Name: QIPAddressUtils::toString
Prototype: void toString(QString &appendTo, IPv6Address address)
Coverage:  92.105% (70/76)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qipaddress.cpp
Lines: 256-355
 92.105% (70/76)
5821

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