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

Function Tree

Path:<top>::QSslSocketPrivate
Functionâ–ľCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
verifyErrorsHaveBeenIgnored
Name: QSslSocketPrivate::verifyErrorsHaveBeenIgnored
Prototype: bool QSslSocketPrivate::verifyErrorsHaveBeenIgnored()
Coverage: 100.000% (11/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2549-2570
100.000% (11/11)
94
unixRootCertDirectories
Name: QSslSocketPrivate::unixRootCertDirectories
Prototype: QList<QByteArray> QSslSocketPrivate::unixRootCertDirectories()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2634-2645
100.000% (1/1)
91
systemCaCertificates
Name: QSslSocketPrivate::systemCaCertificates
Prototype: QList<QSslCertificate> QSslSocketPrivate::systemCaCertificates()
Coverage: 100.000% (8/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 683-764
100.000% (8/8)
224
supportsSsl
Name: QSslSocketPrivate::supportsSsl
Prototype: bool QSslSocketPrivate::supportsSsl()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 472-475
100.000% (1/1)
11
supportedEllipticCurves
Name: QSslSocketPrivate::supportedEllipticCurves
Prototype: QVector<QSslEllipticCurve> QSslSocketPrivate::supportedEllipticCurves()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2110-2115
100.000% (1/1)
31
supportedCiphers
Name: QSslSocketPrivate::supportedCiphers
Prototype: QList<QSslCipher> QSslSocketPrivate::supportedCiphers()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2080-2085
100.000% (1/1)
31
sslLibraryVersionString
Name: QSslSocketPrivate::sslLibraryVersionString
Prototype: QString QSslSocketPrivate::sslLibraryVersionString()
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 592-602
 42.857% (3/7)
63
sslLibraryVersionNumber
Name: QSslSocketPrivate::sslLibraryVersionNumber
Prototype: long QSslSocketPrivate::sslLibraryVersionNumber()
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 584-590
 50.000% (2/4)
32
sslLibraryBuildVersionString
Name: QSslSocketPrivate::sslLibraryBuildVersionString
Coverage:  0.000% (0/1)
  0.000% (0/1)
01
sslLibraryBuildVersionString
Name: QSslSocketPrivate::sslLibraryBuildVersionString
Prototype: QString QSslSocketPrivate::sslLibraryBuildVersionString()
Coverage:  0.000% (0/2)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 609-615
  0.000% (0/2)
02
sslLibraryBuildVersionNumber
Name: QSslSocketPrivate::sslLibraryBuildVersionNumber
Prototype: long QSslSocketPrivate::sslLibraryBuildVersionNumber()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 604-607
  0.000% (0/1)
11
sslContext
Name: QSslSocketPrivate::sslContext
Prototype: QSharedPointer<QSslContext> QSslSocketPrivate::sslContext(QSslSocket *socket)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2659-2662
100.000% (1/1)
11
setDefaultSupportedEllipticCurves
Name: QSslSocketPrivate::setDefaultSupportedEllipticCurves
Prototype: void QSslSocketPrivate::setDefaultSupportedEllipticCurves(const QVector<QSslEllipticCurve> &curves)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2120-2125
100.000% (1/1)
31
setDefaultSupportedCiphers
Name: QSslSocketPrivate::setDefaultSupportedCiphers
Prototype: void QSslSocketPrivate::setDefaultSupportedCiphers(const QList<QSslCipher> &ciphers)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2100-2105
100.000% (1/1)
31
setDefaultCiphers
Name: QSslSocketPrivate::setDefaultCiphers
Prototype: void QSslSocketPrivate::setDefaultCiphers(const QList<QSslCipher> &ciphers)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2090-2095
100.000% (1/1)
31
setDefaultCaCertificates
Name: QSslSocketPrivate::setDefaultCaCertificates
Prototype: void QSslSocketPrivate::setDefaultCaCertificates(const QList<QSslCertificate> &certs)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2140-2149
100.000% (1/1)
51
rootCertOnDemandLoadingSupported
Name: QSslSocketPrivate::rootCertOnDemandLoadingSupported
Prototype: bool QSslSocketPrivate::rootCertOnDemandLoadingSupported()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2626-2629
100.000% (1/1)
11
resumeSocketNotifiers
Name: QSslSocketPrivate::resumeSocketNotifiers
Prototype: void QSslSocketPrivate::resumeSocketNotifiers(QSslSocket *socket)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2309-2314
 50.000% (2/4)
32
resetDefaultEllipticCurves
Name: QSslSocketPrivate::resetDefaultEllipticCurves
Prototype: void QSslSocketPrivate::resetDefaultEllipticCurves()
Coverage:  85.714% (6/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 656-680
 85.714% (6/7)
103
resetDefaultCiphers
Name: QSslSocketPrivate::resetDefaultCiphers
Prototype: void QSslSocketPrivate::resetDefaultCiphers()
Coverage:  75.000% (15/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 623-654
 75.000% (15/20)
196
peek
Name: QSslSocketPrivate::peek
Prototype: qint64 QSslSocketPrivate::peek(char *data, qint64 maxSize)
Coverage:  66.667% (10/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2575-2597
 66.667% (10/15)
125
peek
Name: QSslSocketPrivate::peek
Prototype: QByteArray QSslSocketPrivate::peek(qint64 maxSize)
Coverage:  91.667% (11/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2602-2621
 91.667% (11/12)
104
pauseSocketNotifiers
Name: QSslSocketPrivate::pauseSocketNotifiers
Prototype: void QSslSocketPrivate::pauseSocketNotifiers(QSslSocket *socket)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2302-2307
 50.000% (2/4)
32
isPaused
Name: QSslSocketPrivate::isPaused
Prototype: bool QSslSocketPrivate::isPaused() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2316-2319
  0.000% (0/1)
11
isMatchingHostname
Name: QSslSocketPrivate::isMatchingHostname
Prototype: bool QSslSocketPrivate::isMatchingHostname(const QSslCertificate &cert, const QString &peerName)
Coverage:  54.545% (6/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2664-2682
 54.545% (6/11)
115
isMatchingHostname
Name: QSslSocketPrivate::isMatchingHostname
Prototype: bool QSslSocketPrivate::isMatchingHostname(const QString &cn, const QString &hostname)
Coverage:  92.308% (24/26)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2684-2722
 92.308% (24/26)
198
init
Name: QSslSocketPrivate::init
Prototype: void QSslSocketPrivate::init()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2048-2065
100.000% (1/1)
101
ensureLibraryLoaded
Name: QSslSocketPrivate::ensureLibraryLoaded
Prototype: bool QSslSocketPrivate::ensureLibraryLoaded()
Coverage:  56.250% (9/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 477-508
 56.250% (9/16)
176
ensureInitialized
Name: QSslSocketPrivate::ensureInitialized
Prototype: void QSslSocketPrivate::ensureInitialized()
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 576-582
 50.000% (2/4)
32
ensureCiphersAndCertsLoaded
Name: QSslSocketPrivate::ensureCiphersAndCertsLoaded
Prototype: void QSslSocketPrivate::ensureCiphersAndCertsLoaded()
Coverage:  61.538% (8/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 510-567
 61.538% (8/13)
165
deinitialize
Name: QSslSocketPrivate::deinitialize
Prototype: void QSslSocketPrivate::deinitialize()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 458-463
100.000% (1/1)
31
defaultCiphers
Name: QSslSocketPrivate::defaultCiphers
Prototype: QList<QSslCipher> QSslSocketPrivate::defaultCiphers()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2070-2075
100.000% (1/1)
31
defaultCaCertificates
Name: QSslSocketPrivate::defaultCaCertificates
Prototype: QList<QSslCertificate> QSslSocketPrivate::defaultCaCertificates()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2130-2135
100.000% (1/1)
31
createPlainSocket
Name: QSslSocketPrivate::createPlainSocket
Prototype: void QSslSocketPrivate::createPlainSocket(QIODevice::OpenMode openMode)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2244-2300
100.000% (1/1)
471
checkSettingSslContext
Name: QSslSocketPrivate::checkSettingSslContext
Prototype: void QSslSocketPrivate::checkSettingSslContext(QSslSocket* socket, QSharedPointer<QSslContext> sslContext)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2650-2654
 75.000% (3/4)
22
bind
Name: QSslSocketPrivate::bind
Prototype: bool QSslSocketPrivate::bind(const QHostAddress &address, quint16 port, QAbstractSocket::BindMode mode)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2321-2343
 71.429% (5/7)
113
addDefaultCaCertificates
Name: QSslSocketPrivate::addDefaultCaCertificates
Prototype: bool QSslSocketPrivate::addDefaultCaCertificates(const QString &path, QSsl::EncodingFormat format, QRegExp::PatternSyntax syntax)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2154-2166
  0.000% (0/4)
82
addDefaultCaCertificates
Name: QSslSocketPrivate::addDefaultCaCertificates
Prototype: void QSslSocketPrivate::addDefaultCaCertificates(const QList<QSslCertificate> &certs)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2182-2188
  0.000% (0/1)
41
addDefaultCaCertificate
Name: QSslSocketPrivate::addDefaultCaCertificate
Prototype: void QSslSocketPrivate::addDefaultCaCertificate(const QSslCertificate &cert)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2171-2177
100.000% (1/1)
41
_q_stateChangedSlot
Name: QSslSocketPrivate::_q_stateChangedSlot
Prototype: void QSslSocketPrivate::_q_stateChangedSlot(QAbstractSocket::SocketState state)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2416-2424
100.000% (1/1)
31
_q_resumeImplementation
Name: QSslSocketPrivate::_q_resumeImplementation
Prototype: void QSslSocketPrivate::_q_resumeImplementation()
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2529-2544
 80.000% (8/10)
104
_q_readyReadSlot
Name: QSslSocketPrivate::_q_readyReadSlot
Prototype: void QSslSocketPrivate::_q_readyReadSlot()
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2452-2466
 71.429% (5/7)
73
_q_hostFoundSlot
Name: QSslSocketPrivate::_q_hostFoundSlot
Prototype: void QSslSocketPrivate::_q_hostFoundSlot()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2382-2390
100.000% (1/1)
21
_q_flushWriteBuffer
Name: QSslSocketPrivate::_q_flushWriteBuffer
Prototype: void QSslSocketPrivate::_q_flushWriteBuffer()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2509-2514
100.000% (4/4)
32
_q_flushReadBuffer
Name: QSslSocketPrivate::_q_flushReadBuffer
Prototype: void QSslSocketPrivate::_q_flushReadBuffer()
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2519-2524
 75.000% (3/4)
22
_q_errorSlot
Name: QSslSocketPrivate::_q_errorSlot
Prototype: void QSslSocketPrivate::_q_errorSlot(QAbstractSocket::SocketError error)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2429-2447
100.000% (4/4)
72
_q_disconnectedSlot
Name: QSslSocketPrivate::_q_disconnectedSlot
Prototype: void QSslSocketPrivate::_q_disconnectedSlot()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2395-2411
100.000% (1/1)
91
_q_connectedSlot
Name: QSslSocketPrivate::_q_connectedSlot
Prototype: void QSslSocketPrivate::_q_connectedSlot()
Coverage:  77.778% (7/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2348-2377
 77.778% (7/9)
153
_q_channelReadyReadSlot
Name: QSslSocketPrivate::_q_channelReadyReadSlot
Prototype: void QSslSocketPrivate::_q_channelReadyReadSlot(int channel)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2471-2476
100.000% (4/4)
32
_q_channelBytesWrittenSlot
Name: QSslSocketPrivate::_q_channelBytesWrittenSlot
Prototype: void QSslSocketPrivate::_q_channelBytesWrittenSlot(int channel, qint64 written)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2499-2504
100.000% (4/4)
32
_q_bytesWrittenSlot
Name: QSslSocketPrivate::_q_bytesWrittenSlot
Prototype: void QSslSocketPrivate::_q_bytesWrittenSlot(qint64 written)
Coverage:  90.000% (9/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2481-2494
 90.000% (9/10)
63
QSslSocketPrivate
Name: QSslSocketPrivate::QSslSocketPrivate
Prototype: QSslSocketPrivate::QSslSocketPrivate()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2023-2036
100.000% (1/1)
11

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