QtBase - 8193340a44fd835cee029e63a31cfcab8ef6fd55

Function Tree

Path:<top>::QTcpServer
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
~QTcpServer
Name: QTcpServer::~QTcpServer
Prototype: QTcpServer::~QTcpServer()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 239-245
100.000% (1/1)
11
setProxy
Name: QTcpServer::setProxy
Prototype: void QTcpServer::setProxy(const QNetworkProxy &networkProxy)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 689-693
100.000% (1/1)
21
setMaxPendingConnections
Name: QTcpServer::setMaxPendingConnections
Prototype: void QTcpServer::setMaxPendingConnections(int numConnections)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 615-618
100.000% (1/1)
11
serverPort
Name: QTcpServer::serverPort
Prototype: quint16 QTcpServer::serverPort() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 446-451
100.000% (4/4)
32
serverError
Name: QTcpServer::serverError
Prototype: QAbstractSocket::SocketError QTcpServer::serverError() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 636-639
100.000% (1/1)
11
serverAddress
Name: QTcpServer::serverAddress
Prototype: QHostAddress QTcpServer::serverAddress() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 459-464
100.000% (4/4)
32
proxy
Name: QTcpServer::proxy
Prototype: QNetworkProxy QTcpServer::proxy() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 703-707
100.000% (1/1)
21
nextPendingConnection
Name: QTcpServer::nextPendingConnection
Prototype: QTcpSocket *QTcpServer::nextPendingConnection()
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 534-544
100.000% (7/7)
63
maxPendingConnections
Name: QTcpServer::maxPendingConnections
Prototype: int QTcpServer::maxPendingConnections() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 626-629
100.000% (1/1)
11
isListening
Name: QTcpServer::isListening
Prototype: bool QTcpServer::isListening() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 338-343
100.000% (4/4)
32
incomingConnection
Name: QTcpServer::incomingConnection
Prototype: void QTcpServer::incomingConnection(qintptr socketDescriptor)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 573-582
100.000% (1/1)
31
hasPendingConnections
Name: QTcpServer::hasPendingConnections
Prototype: bool QTcpServer::hasPendingConnections() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 511-514
100.000% (1/1)
11
errorString
Name: QTcpServer::errorString
Prototype: QString QTcpServer::errorString() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 647-650
100.000% (1/1)
11
close
Name: QTcpServer::close
Prototype: void QTcpServer::close()
Coverage: 100.000% (5/5)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 351-370
100.000% (5/5)
82
addPendingConnection
Name: QTcpServer::addPendingConnection
Prototype: void QTcpServer::addPendingConnection(QTcpSocket* socket)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 595-598
100.000% (1/1)
11
QTcpServer
Name: QTcpServer::QTcpServer
Prototype: QTcpServer::QTcpServer(QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 222-228
100.000% (1/1)
51
listen
Name: QTcpServer::listen
Prototype: bool QTcpServer::listen(const QHostAddress &address, quint16 port)
Coverage:  71.429% (15/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 267-330
 71.429% (15/21)
367
setSocketDescriptor
Name: QTcpServer::setSocketDescriptor
Prototype: bool QTcpServer::setSocketDescriptor(qintptr socketDescriptor)
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 397-438
 69.231% (9/13)
225
waitForNewConnection
Name: QTcpServer::waitForNewConnection
Prototype: bool QTcpServer::waitForNewConnection(int msec, bool *timedOut)
Coverage:  66.667% (8/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 485-503
 66.667% (8/12)
114
socketDescriptor
Name: QTcpServer::socketDescriptor
Prototype: qintptr QTcpServer::socketDescriptor() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 381-386
 50.000% (2/4)
32
resumeAccepting
Name: QTcpServer::resumeAccepting
Prototype: void QTcpServer::resumeAccepting()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 671-674
  0.000% (0/1)
11
pauseAccepting
Name: QTcpServer::pauseAccepting
Prototype: void QTcpServer::pauseAccepting()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 659-662
  0.000% (0/1)
11
QTcpServer
Name: QTcpServer::QTcpServer
Prototype: QTcpServer::QTcpServer(QTcpServerPrivate &dd, QObject *parent)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 249-255
  0.000% (0/1)
51

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