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

Function Tree

Path:<top>::QHostAddress
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
toString
Name: QHostAddress::toString
Prototype: QString QHostAddress::toString() const
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 736-750
100.000% (15/15)
115
toIPv6Address
Name: QHostAddress::toIPv6Address
Prototype: Q_IPV6ADDR QHostAddress::toIPv6Address() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 720-724
100.000% (4/4)
22
toIPv4Address
Name: QHostAddress::toIPv4Address
Prototype: quint32 QHostAddress::toIPv4Address() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 667-670
100.000% (1/1)
11
setAddress
Name: QHostAddress::setAddress
Prototype: void QHostAddress::setAddress(quint32 ip4Addr)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 576-579
100.000% (1/1)
11
setAddress
Name: QHostAddress::setAddress
Prototype: void QHostAddress::setAddress(quint8 *ip6Addr)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 589-592
100.000% (1/1)
11
setAddress
Name: QHostAddress::setAddress
Prototype: void QHostAddress::setAddress(const Q_IPV6ADDR &ip6Addr)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 613-616
100.000% (1/1)
11
setAddress
Name: QHostAddress::setAddress
Prototype: bool QHostAddress::setAddress(const QString &address)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 626-630
100.000% (1/1)
21
scopeId
Name: QHostAddress::scopeId
Prototype: QString QHostAddress::scopeId() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 788-792
100.000% (4/4)
22
protocol
Name: QHostAddress::protocol
Prototype: QAbstractSocket::NetworkLayerProtocol QHostAddress::protocol() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 700-704
100.000% (4/4)
22
operator=
Name: QHostAddress::operator=
Prototype: QHostAddress &QHostAddress::operator=(const QHostAddress &address)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 532-536
100.000% (1/1)
21
operator=
Name: QHostAddress::operator=
Prototype: QHostAddress &QHostAddress::operator=(const QString &address)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 544-548
100.000% (1/1)
21
operator ==
Name: QHostAddress::operator ==
Prototype: bool QHostAddress::operator ==(SpecialAddress other) const
Coverage: 100.000% (20/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 835-868
100.000% (20/20)
1510
isNull
Name: QHostAddress::isNull
Prototype: bool QHostAddress::isNull() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 875-879
100.000% (4/4)
22
isMulticast
Name: QHostAddress::isMulticast
Prototype: bool QHostAddress::isMulticast() const
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 1109-1117
100.000% (10/10)
64
isLoopback
Name: QHostAddress::isLoopback
Prototype: bool QHostAddress::isLoopback() const
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 1083-1101
100.000% (10/10)
94
isInSubnet
Name: QHostAddress::isInSubnet
Prototype: bool QHostAddress::isInSubnet(const QPair<QHostAddress, int> &subnet) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 949-952
100.000% (1/1)
11
clear
Name: QHostAddress::clear
Prototype: void QHostAddress::clear()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 568-571
100.000% (1/1)
11
QHostAddress
Name: QHostAddress::QHostAddress
Prototype: QHostAddress::QHostAddress()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 392-395
100.000% (1/1)
21
QHostAddress
Name: QHostAddress::QHostAddress
Prototype: QHostAddress::QHostAddress(quint32 ip4Addr)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 400-404
100.000% (1/1)
11
QHostAddress
Name: QHostAddress::QHostAddress
Prototype: QHostAddress::QHostAddress(quint8 *ip6Addr)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 412-416
100.000% (1/1)
11
QHostAddress
Name: QHostAddress::QHostAddress
Prototype: QHostAddress::QHostAddress(const Q_IPV6ADDR &ip6Addr)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 434-438
100.000% (1/1)
11
QHostAddress
Name: QHostAddress::QHostAddress
Prototype: QHostAddress::QHostAddress(const QString &address)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 446-451
100.000% (1/1)
21
QHostAddress
Name: QHostAddress::QHostAddress
Prototype: QHostAddress::QHostAddress(const QHostAddress &address)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 477-480
100.000% (1/1)
21
QHostAddress
Name: QHostAddress::QHostAddress
Prototype: QHostAddress::QHostAddress(SpecialAddress address)
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 485-519
100.000% (15/15)
168
parseSubnet
Name: QHostAddress::parseSubnet
Prototype: QPair<QHostAddress, int> QHostAddress::parseSubnet(const QString &subnet)
Coverage:  96.721% (59/61)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 979-1075
 96.721% (59/61)
5319
toIPv4Address
Name: QHostAddress::toIPv4Address
Prototype: quint32 QHostAddress::toIPv4Address(bool *ok) const
Coverage:  86.667% (13/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 687-695
 86.667% (13/15)
63
isInSubnet
Name: QHostAddress::isInSubnet
Prototype: bool QHostAddress::isInSubnet(const QHostAddress &subnet, int netmask) const
Coverage:  86.667% (26/30)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 900-938
 86.667% (26/30)
269
operator==
Name: QHostAddress::operator==
Prototype: bool QHostAddress::operator==(const QHostAddress &other) const
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 817-829
 84.615% (11/13)
85
setScopeId
Name: QHostAddress::setScopeId
Prototype: void QHostAddress::setScopeId(const QString &id)
Coverage:  57.143% (4/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 806-811
 57.143% (4/7)
33
setAddress
Name: QHostAddress::setAddress
Prototype: void QHostAddress::setAddress(const struct sockaddr *sockaddr)
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 640-651
 42.857% (3/7)
53
setAddress
Name: QHostAddress::setAddress
Prototype: void QHostAddress::setAddress(const quint8 *ip6Addr)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 603-606
  0.000% (0/1)
11
QHostAddress
Name: QHostAddress::QHostAddress
Prototype: QHostAddress::QHostAddress(const quint8 *ip6Addr)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 425-429
  0.000% (0/1)
11
QHostAddress
Name: QHostAddress::QHostAddress
Prototype: QHostAddress::QHostAddress(const struct sockaddr *sockaddr)
Coverage:  0.000% (0/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostaddress.cpp
Lines: 461-472
  0.000% (0/7)
43

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