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

Function Tree

Path:<top>::QTcpServer
FunctionCondition %eLOC - Effective Lines of Codeā–¾McCabe - Cyclomatic Complexity
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: 273-336
 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: 403-444
 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: 491-509
 66.667% (8/12)
114
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: 357-376
100.000% (5/5)
82
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: 540-550
100.000% (7/7)
63
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: 255-261
  0.000% (0/1)
51
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: 228-234
100.000% (1/1)
51
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: 387-392
 50.000% (2/4)
32
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: 452-457
100.000% (4/4)
32
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: 465-470
100.000% (4/4)
32
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: 344-349
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: 579-588
100.000% (1/1)
31
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: 695-699
100.000% (1/1)
21
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: 709-713
100.000% (1/1)
21
~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: 245-251
100.000% (1/1)
11
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: 621-624
100.000% (1/1)
11
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: 642-645
100.000% (1/1)
11
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: 677-680
  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: 665-668
  0.000% (0/1)
11
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: 632-635
100.000% (1/1)
11
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: 517-520
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: 653-656
100.000% (1/1)
11
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: 601-604
100.000% (1/1)
11

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