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

Function Tree

Path:<top>::QSslSocketBackendPrivate
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
QSslCipher_from_SSL_CIPHER
Name: QSslSocketBackendPrivate::QSslCipher_from_SSL_CIPHER
Prototype: QSslCipher QSslSocketBackendPrivate::QSslCipher_from_SSL_CIPHER(SSL_CIPHER *cipher)
Coverage:  62.500% (20/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 222-260
 62.500% (20/32)
2910
QSslSocketBackendPrivate
Name: QSslSocketBackendPrivate::QSslSocketBackendPrivate
Prototype: QSslSocketBackendPrivate::QSslSocketBackendPrivate()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 207-215
100.000% (1/1)
11
STACKOFX509_to_QSslCertificates
Name: QSslSocketBackendPrivate::STACKOFX509_to_QSslCertificates
Prototype: QList<QSslCertificate> QSslSocketBackendPrivate::STACKOFX509_to_QSslCertificates(struct stack_st_X509 *x509)
Coverage:  85.714% (6/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 1606-1615
 85.714% (6/7)
63
checkSslErrors
Name: QSslSocketBackendPrivate::checkSslErrors
Prototype: bool QSslSocketBackendPrivate::checkSslErrors()
Coverage:  89.474% (17/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 1224-1248
 89.474% (17/19)
164
continueHandshake
Name: QSslSocketBackendPrivate::continueHandshake
Coverage:  0.000% (0/1)
  0.000% (0/1)
01
continueHandshake
Name: QSslSocketBackendPrivate::continueHandshake
Prototype: void QSslSocketBackendPrivate::continueHandshake()
Coverage:  81.250% (26/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 1515-1604
 81.250% (26/32)
2511
destroySslContext
Name: QSslSocketBackendPrivate::destroySslContext
Prototype: void QSslSocketBackendPrivate::destroySslContext()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 446-453
100.000% (4/4)
42
disconnectFromHost
Name: QSslSocketBackendPrivate::disconnectFromHost
Prototype: void QSslSocketBackendPrivate::disconnectFromHost()
Coverage:  85.714% (6/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 1451-1461
 85.714% (6/7)
63
disconnected
Name: QSslSocketBackendPrivate::disconnected
Prototype: void QSslSocketBackendPrivate::disconnected()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 1463-1476
100.000% (4/4)
62
getErrorsFromOpenSsl
Name: QSslSocketBackendPrivate::getErrorsFromOpenSsl
Prototype: QString QSslSocketBackendPrivate::getErrorsFromOpenSsl()
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 165-176
100.000% (7/7)
83
importPkcs12
Name: QSslSocketBackendPrivate::importPkcs12
Prototype: bool QSslSocketBackendPrivate::importPkcs12(QIODevice *device, QSslKey *key, QSslCertificate *cert, QList<QSslCertificate> *caCertificates, const QByteArray &passPhrase)
Coverage:  28.571% (8/28)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 1741-1806
 28.571% (8/28)
3910
initSslContext
Name: QSslSocketBackendPrivate::initSslContext
Prototype: bool QSslSocketBackendPrivate::initSslContext()
Coverage:  65.517% (38/58)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 363-444
 65.517% (38/58)
4414
sessionCipher
Name: QSslSocketBackendPrivate::sessionCipher
Prototype: QSslCipher QSslSocketBackendPrivate::sessionCipher() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 1478-1491
100.000% (4/4)
42
sessionProtocol
Name: QSslSocketBackendPrivate::sessionProtocol
Prototype: QSsl::SslProtocol QSslSocketBackendPrivate::sessionProtocol() const
Coverage:  50.000% (7/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 1493-1513
 50.000% (7/14)
107
setupOpenSslOptions
Name: QSslSocketBackendPrivate::setupOpenSslOptions
Prototype: long QSslSocketBackendPrivate::setupOpenSslOptions(QSsl::SslProtocol protocol, QSsl::SslOptions sslOptions)
Coverage:  82.353% (28/34)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 313-361
 82.353% (28/34)
2511
startClientEncryption
Name: QSslSocketBackendPrivate::startClientEncryption
Prototype: void QSslSocketBackendPrivate::startClientEncryption()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 767-779
100.000% (4/4)
62
startHandshake
Name: QSslSocketBackendPrivate::startHandshake
Prototype: bool QSslSocketBackendPrivate::startHandshake()
Coverage:  83.333% (55/66)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 1051-1206
 83.333% (55/66)
6322
startServerEncryption
Name: QSslSocketBackendPrivate::startServerEncryption
Prototype: void QSslSocketBackendPrivate::startServerEncryption()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 781-793
100.000% (4/4)
62
storePeerCertificates
Name: QSslSocketBackendPrivate::storePeerCertificates
Prototype: void QSslSocketBackendPrivate::storePeerCertificates()
Coverage: 100.000% (9/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 1208-1222
100.000% (9/9)
73
tlsPskClientCallback
Name: QSslSocketBackendPrivate::tlsPskClientCallback
Prototype: unsigned int QSslSocketBackendPrivate::tlsPskClientCallback(const char *hint, char *identity, unsigned int max_identity_len, unsigned char *psk, unsigned int max_psk_len)
Coverage:  0.000% (0/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 1250-1279
  0.000% (0/7)
153
transmit
Name: QSslSocketBackendPrivate::transmit
Prototype: void QSslSocketBackendPrivate::transmit()
Coverage:  74.725% (68/91)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 800-1000
 74.725% (68/91)
9030
verify
Name: QSslSocketBackendPrivate::verify
Prototype: QList<QSslError> QSslSocketBackendPrivate::verify(const QList<QSslCertificate> &certificateChain, const QString &hostName)
Coverage:  73.810% (31/42)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 1617-1739
 73.810% (31/42)
5816
~QSslSocketBackendPrivate
Name: QSslSocketBackendPrivate::~QSslSocketBackendPrivate
Prototype: QSslSocketBackendPrivate::~QSslSocketBackendPrivate()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 217-220
100.000% (1/1)
11

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