| Function | Condition %▾ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
write| Name: | QHttpSocketEngine::write | | Prototype: | qint64 QHttpSocketEngine::write(const char *data, qint64 len) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 237-241 |
| | 2 | 1 |
slotSocketStateChanged| Name: | QHttpSocketEngine::slotSocketStateChanged | | Prototype: | void QHttpSocketEngine::slotSocketStateChanged(QAbstractSocket::SocketState state) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 743-746 |
| | 1 | 1 |
slotSocketConnected| Name: | QHttpSocketEngine::slotSocketConnected | | Prototype: | void QHttpSocketEngine::slotSocketConnected() | | Coverage: | 100.000% (12/12) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 476-510 |
| | 24 | 4 |
slotSocketBytesWritten| Name: | QHttpSocketEngine::slotSocketBytesWritten | | Prototype: | void QHttpSocketEngine::slotSocketBytesWritten() | | Coverage: | 100.000% (6/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 704-709 |
| | 3 | 2 |
setProxy| Name: | QHttpSocketEngine::setProxy | | Prototype: | void QHttpSocketEngine::setProxy(const QNetworkProxy &proxy) | | Coverage: | 100.000% (7/7) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 105-115 |
| | 8 | 3 |
setExceptionNotificationEnabled| Name: | QHttpSocketEngine::setExceptionNotificationEnabled | | Prototype: | void QHttpSocketEngine::setExceptionNotificationEnabled(bool enable) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 470-474 |
| | 2 | 1 |
isWriteNotificationEnabled| Name: | QHttpSocketEngine::isWriteNotificationEnabled | | Prototype: | bool QHttpSocketEngine::isWriteNotificationEnabled() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 450-454 |
| | 2 | 1 |
isValid| Name: | QHttpSocketEngine::isValid | | Prototype: | bool QHttpSocketEngine::isValid() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 123-127 |
| | 2 | 1 |
isReadNotificationEnabled| Name: | QHttpSocketEngine::isReadNotificationEnabled | | Prototype: | bool QHttpSocketEngine::isReadNotificationEnabled() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 427-431 |
| | 2 | 1 |
isExceptionNotificationEnabled| Name: | QHttpSocketEngine::isExceptionNotificationEnabled | | Prototype: | bool QHttpSocketEngine::isExceptionNotificationEnabled() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 464-468 |
| | 2 | 1 |
hasPendingDatagrams| Name: | QHttpSocketEngine::hasPendingDatagrams | | Prototype: | bool QHttpSocketEngine::hasPendingDatagrams() const | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 284-287 |
| | 1 | 1 |
emitReadNotification| Name: | QHttpSocketEngine::emitReadNotification | | Prototype: | void QHttpSocketEngine::emitReadNotification() | | Coverage: | 100.000% (8/8) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 771-782 |
| | 5 | 2 |
emitPendingWriteNotification| Name: | QHttpSocketEngine::emitPendingWriteNotification | | Prototype: | void QHttpSocketEngine::emitPendingWriteNotification() | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 756-762 |
| | 4 | 2 |
emitPendingReadNotification| Name: | QHttpSocketEngine::emitPendingReadNotification | | Prototype: | void QHttpSocketEngine::emitPendingReadNotification() | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 748-754 |
| | 4 | 2 |
emitPendingConnectionNotification| Name: | QHttpSocketEngine::emitPendingConnectionNotification | | Prototype: | void QHttpSocketEngine::emitPendingConnectionNotification() | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 764-769 |
| | 3 | 1 |
connectToHostByName| Name: | QHttpSocketEngine::connectToHostByName | | Prototype: | bool QHttpSocketEngine::connectToHostByName(const QString &hostname, quint16 port) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 172-181 |
| | 5 | 1 |
connectToHost| Name: | QHttpSocketEngine::connectToHost | | Prototype: | bool QHttpSocketEngine::connectToHost(const QHostAddress &address, quint16 port) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 161-170 |
| | 5 | 1 |
close| Name: | QHttpSocketEngine::close | | Prototype: | void QHttpSocketEngine::close() | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 198-206 |
| | 5 | 2 |
QHttpSocketEngine| Name: | QHttpSocketEngine::QHttpSocketEngine | | Prototype: | QHttpSocketEngine::QHttpSocketEngine(QObject *parent) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 50-53 |
| | 2 | 1 |
setReadNotificationEnabled| Name: | QHttpSocketEngine::setReadNotificationEnabled | | Prototype: | void QHttpSocketEngine::setReadNotificationEnabled(bool enable) | | Coverage: | 93.333% (14/15) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 433-448 |
| | 9 | 5 |
slotSocketReadNotification| Name: | QHttpSocketEngine::slotSocketReadNotification | | Prototype: | void QHttpSocketEngine::slotSocketReadNotification() | | Coverage: | 89.362% (84/94) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 516-669 |
| | 96 | 29 |
read| Name: | QHttpSocketEngine::read | | Prototype: | qint64 QHttpSocketEngine::read(char *data, qint64 maxlen) | | Coverage: | 88.889% (8/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 214-235 |
| | 12 | 3 |
setWriteNotificationEnabled| Name: | QHttpSocketEngine::setWriteNotificationEnabled | | Prototype: | void QHttpSocketEngine::setWriteNotificationEnabled(bool enable) | | Coverage: | 87.500% (7/8) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 456-462 |
| | 4 | 2 |
emitWriteNotification| Name: | QHttpSocketEngine::emitWriteNotification | | Prototype: | void QHttpSocketEngine::emitWriteNotification() | | Coverage: | 83.333% (5/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 784-792 |
| | 5 | 2 |
slotSocketError| Name: | QHttpSocketEngine::slotSocketError | | Prototype: | void QHttpSocketEngine::slotSocketError(QAbstractSocket::SocketError error) | | Coverage: | 82.609% (19/23) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 711-741 |
| | 20 | 8 |
waitForReadOrWrite| Name: | QHttpSocketEngine::waitForReadOrWrite | | Prototype: | bool QHttpSocketEngine::waitForReadOrWrite(bool *readyToRead, bool *readyToWrite, bool checkRead, bool checkWrite, int msecs, bool *timedOut) | | Coverage: | 80.000% (8/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 406-425 |
| | 10 | 4 |
waitForWrite| Name: | QHttpSocketEngine::waitForWrite | | Prototype: | bool QHttpSocketEngine::waitForWrite(int msecs, bool *timedOut) | | Coverage: | 75.000% (21/28) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 370-404 |
| | 15 | 8 |
emitConnectionNotification| Name: | QHttpSocketEngine::emitConnectionNotification | | Prototype: | void QHttpSocketEngine::emitConnectionNotification() | | Coverage: | 75.000% (3/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 794-801 |
| | 4 | 2 |
socketDescriptor| Name: | QHttpSocketEngine::socketDescriptor | | Prototype: | qintptr QHttpSocketEngine::socketDescriptor() const | | Coverage: | 66.667% (2/3) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 117-121 |
| | 2 | 1 |
readHttpHeader| Name: | QHttpSocketEngine::readHttpHeader | | Prototype: | bool QHttpSocketEngine::readHttpHeader() | | Coverage: | 66.667% (22/33) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 671-702 |
| | 22 | 9 |
bytesAvailable| Name: | QHttpSocketEngine::bytesAvailable | | Prototype: | qint64 QHttpSocketEngine::bytesAvailable() const | | Coverage: | 66.667% (2/3) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 208-212 |
| | 2 | 1 |
setOption| Name: | QHttpSocketEngine::setOption | | Prototype: | bool QHttpSocketEngine::setOption(SocketOption option, int value) | | Coverage: | 50.000% (5/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 318-330 |
| | 8 | 4 |
initialize| Name: | QHttpSocketEngine::initialize | | Prototype: | bool QHttpSocketEngine::initialize(QAbstractSocket::SocketType type, QAbstractSocket::NetworkLayerProtocol protocol) | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 59-98 |
| | 28 | 2 |
bytesToWrite| Name: | QHttpSocketEngine::bytesToWrite | | Prototype: | qint64 QHttpSocketEngine::bytesToWrite() const | | Coverage: | 50.000% (2/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 295-303 |
| | 4 | 2 |
waitForRead| Name: | QHttpSocketEngine::waitForRead | | Prototype: | bool QHttpSocketEngine::waitForRead(int msecs, bool *timedOut) | | Coverage: | 45.455% (15/33) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 332-368 |
| | 20 | 9 |
connectInternal| Name: | QHttpSocketEngine::connectInternal | | Prototype: | bool QHttpSocketEngine::connectInternal() | | Coverage: | 41.176% (7/17) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 129-159 |
| | 15 | 5 |
writeDatagram| Name: | QHttpSocketEngine::writeDatagram | | Prototype: | qint64 QHttpSocketEngine::writeDatagram(const char *, qint64, const QIpPacketHeader &) | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 279-282 |
| | 1 | 1 |
setMulticastInterface| Name: | QHttpSocketEngine::setMulticastInterface | | Prototype: | bool QHttpSocketEngine::setMulticastInterface(const QNetworkInterface &) | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 266-271 |
| | 3 | 1 |
readDatagram| Name: | QHttpSocketEngine::readDatagram | | Prototype: | qint64 QHttpSocketEngine::readDatagram(char *, qint64, QIpPacketHeader *, PacketHeaderOptions) | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 274-277 |
| | 1 | 1 |
pendingDatagramSize| Name: | QHttpSocketEngine::pendingDatagramSize | | Prototype: | qint64 QHttpSocketEngine::pendingDatagramSize() const | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 289-292 |
| | 1 | 1 |
option| Name: | QHttpSocketEngine::option | | Prototype: | int QHttpSocketEngine::option(SocketOption option) const | | Coverage: | 0.000% (0/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 305-316 |
| | 7 | 4 |
multicastInterface| Name: | QHttpSocketEngine::multicastInterface | | Prototype: | QNetworkInterface QHttpSocketEngine::multicastInterface() const | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 261-264 |
| | 1 | 1 |
listen| Name: | QHttpSocketEngine::listen | | Prototype: | bool QHttpSocketEngine::listen() | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 188-191 |
| | 1 | 1 |
leaveMulticastGroup| Name: | QHttpSocketEngine::leaveMulticastGroup | | Prototype: | bool QHttpSocketEngine::leaveMulticastGroup(const QHostAddress &, const QNetworkInterface &) | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 253-259 |
| | 3 | 1 |
joinMulticastGroup| Name: | QHttpSocketEngine::joinMulticastGroup | | Prototype: | bool QHttpSocketEngine::joinMulticastGroup(const QHostAddress &, const QNetworkInterface &) | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 245-251 |
| | 3 | 1 |
initialize| Name: | QHttpSocketEngine::initialize | | Prototype: | bool QHttpSocketEngine::initialize(qintptr, QAbstractSocket::SocketState) | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 100-103 |
| | 1 | 1 |
bind| Name: | QHttpSocketEngine::bind | | Prototype: | bool QHttpSocketEngine::bind(const QHostAddress &, quint16) | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 183-186 |
| | 1 | 1 |
accept| Name: | QHttpSocketEngine::accept | | Prototype: | int QHttpSocketEngine::accept() | | Coverage: | 0.000% (0/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp | | Lines: | 193-196 |
| | 1 | 1 |