| Function | Condition %▴ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
QPagePreview| Name: | QPagePreview | | Coverage: | 15.789% (3/19) |
| | 50 | 9 |
QGLContextPrivate| Name: | QGLContextPrivate | | Coverage: | 15.865% (33/208) |
| | 236 | 67 |
QPrintDialogPrivate| Name: | QPrintDialogPrivate | | Coverage: | 16.102% (19/118) |
| | 156 | 44 |
QXcbKeyboard| Name: | QXcbKeyboard | | Coverage: | 16.728% (91/544) |
| | 584 | 169 |
fixedXmlName| Name: | fixedXmlName | | Prototype: | static QString fixedXmlName(const QString &_name, bool *ok, bool namespaces = false) | | Coverage: | 17.073% (7/41) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/xml/dom/qdom.cpp | | Lines: | 624-673 |
| | 33 | 12 |
operator<<| Name: | operator<< | | Prototype: | QDebug operator<<(QDebug debug, QAbstractSocket::SocketError error) | | Coverage: | 17.073% (7/41) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | | Lines: | 2916-2983 |
| | 44 | 21 |
QDomDocument| Name: | QDomDocument | | Coverage: | 17.204% (16/93) |
| | 87 | 53 |
QSpiAccessibleBridge| Name: | QSpiAccessibleBridge | | Coverage: | 17.391% (4/23) |
| | 21 | 11 |
QGL2PaintEngineEx| Name: | QGL2PaintEngineEx | | Coverage: | 17.578% (45/256) |
| | 340 | 78 |
QGLShader| Name: | QGLShader | | Coverage: | 17.949% (14/78) |
| | 74 | 28 |
qt_xcb_imageFormatForVisual| Name: | qt_xcb_imageFormatForVisual | | Prototype: | QImage::Format qt_xcb_imageFormatForVisual(QXcbConnection *connection, uint8_t depth, const xcb_visualtype_t *visual) | | Coverage: | 18.033% (11/61) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbimage.cpp | | Lines: | 51-80 |
| | 19 | 7 |
QGL2PaintEngineExPrivate| Name: | QGL2PaintEngineExPrivate | | Coverage: | 18.140% (119/656) |
| | 890 | 191 |
QGLTextureCache| Name: | QGLTextureCache | | Coverage: | 18.519% (5/27) |
| | 35 | 15 |
QPageSetupDialog| Name: | QPageSetupDialog | | Coverage: | 18.750% (3/16) |
| | 28 | 10 |
copyArgument| Name: | copyArgument | | Prototype: | static void copyArgument(void *to, int id, const QVariant &arg) | | Coverage: | 18.750% (9/48) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusinterface.cpp | | Lines: | 48-142 |
| | 45 | 20 |
QInternal| Name: | QInternal | | Coverage: | 19.048% (4/21) |
| | 19 | 7 |
QSqlIndex| Name: | QSqlIndex | | Coverage: | 19.231% (5/26) |
| | 27 | 14 |
QXcbNativeInterface| Name: | QXcbNativeInterface | | Coverage: | 19.549% (52/266) |
| | 279 | 125 |
QUrlInfo| Name: | QUrlInfo | | Coverage: | 19.760% (33/167) |
| | 145 | 74 |
operator<<| Name: | operator<< | | Prototype: | QDebug operator<<(QDebug dbg, const QJsonValue &o) | | Coverage: | 20.000% (3/15) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonvalue.cpp | | Lines: | 728-759 |
| | 21 | 8 |
q_resolveOpenSslSymbols| Name: | q_resolveOpenSslSymbols | | Prototype: | bool q_resolveOpenSslSymbols() | | Coverage: | 20.491% (192/937) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl_symbols.cpp | | Lines: | 724-991 |
| | 198 | 189 |
qDetectCpuFeatures| Name: | qDetectCpuFeatures | | Prototype: | void qDetectCpuFeatures() | | Coverage: | 21.739% (5/23) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qsimd.cpp | | Lines: | 649-709 |
| | 19 | 7 |
QDomTextPrivate| Name: | QDomTextPrivate | | Coverage: | 22.222% (2/9) |
| | 16 | 7 |
qt_u_strToCase| Name: | qt_u_strToCase | | Prototype: | static bool qt_u_strToCase(const QString &str, QString *out, const char *localeID, Ptr_u_strToCase caseFunc) | | Coverage: | 22.222% (4/18) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_icu.cpp | | Lines: | 48-86 |
| | 24 | 6 |
retrieveLabel| Name: | retrieveLabel | | Prototype: | static inline QString retrieveLabel(const QByteArray &device) | | Coverage: | 22.222% (2/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstorageinfo_unix.cpp | | Lines: | 471-504 |
| | 9 | 3 |
QIsciiCodec| Name: | QIsciiCodec | | Coverage: | 22.667% (17/75) |
| | 68 | 25 |
QJsonDocument| Name: | QJsonDocument | | Coverage: | 22.674% (39/172) |
| | 140 | 65 |
QDomDocumentPrivate| Name: | QDomDocumentPrivate | | Coverage: | 23.129% (34/147) |
| | 186 | 63 |
typeOfVariant| Name: | typeOfVariant | | Prototype: | static uint typeOfVariant(const QVariant &value) | | Coverage: | 23.529% (4/17) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp | | Lines: | 514-536 |
| | 4 | 15 |
Parser| Name: | Parser | | Coverage: | 23.681% (220/929) |
| | 762 | 305 |
check_and_warn_compat| Name: | check_and_warn_compat | | Prototype: | static inline void check_and_warn_compat(const QMetaObject *sender, const QMetaMethod &signal, const QMetaObject *receiver, const QMetaMethod &method) | | Coverage: | 25.000% (3/12) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp | | Lines: | 2543-2556 |
| | 9 | 4 |
check_signal_macro| Name: | check_signal_macro | | Prototype: | static bool check_signal_macro(const QObject *sender, const char *signal, const char *func, const char *op) | | Coverage: | 25.000% (2/8) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp | | Lines: | 2234-2248 |
| | 9 | 3 |
foldCase| Name: | foldCase | | Prototype: | static inline uint foldCase(const ushort *ch, const ushort *start) | | Coverage: | 25.000% (2/8) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qchar.cpp | | Lines: | 1507-1513 |
| | 4 | 2 |
next_proto_cb| Name: | next_proto_cb | | Prototype: | static int next_proto_cb(SSL *, unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg) | | Coverage: | 25.000% (3/12) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcontext_openssl.cpp | | Lines: | 371-400 |
| | 11 | 6 |
operator<<| Name: | operator<< | | Prototype: | QDebug operator<<(QDebug dbg, const QJsonDocument &o) | | Coverage: | 25.000% (2/8) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp | | Lines: | 563-579 |
| | 12 | 3 |
QJsonObject| Name: | QJsonObject | | Coverage: | 25.455% (56/220) |
| | 231 | 84 |
QUnixPrintWidgetPrivate| Name: | QUnixPrintWidgetPrivate | | Coverage: | 25.521% (49/192) |
| | 184 | 59 |
QGLEngineShaderManager| Name: | QGLEngineShaderManager | | Coverage: | 25.778% (58/225) |
| | 200 | 76 |
qt_hash_block_size| Name: | qt_hash_block_size | | Prototype: | static int qt_hash_block_size(QCryptographicHash::Algorithm method) | | Coverage: | 26.087% (6/23) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qmessageauthenticationcode.cpp | | Lines: | 79-106 |
| | 13 | 12 |
QPrintPreviewWidget| Name: | QPrintPreviewWidget | | Coverage: | 26.190% (11/42) |
| | 74 | 30 |
QDomNamedNodeMapPrivate| Name: | QDomNamedNodeMapPrivate | | Coverage: | 26.389% (19/72) |
| | 68 | 33 |
QXcbMime| Name: | QXcbMime | | Coverage: | 26.984% (51/189) |
| | 134 | 49 |
isValidNumerusRules| Name: | isValidNumerusRules | | Prototype: | static bool isValidNumerusRules(const uchar *rules, uint rulesSize) | | Coverage: | 27.273% (9/33) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qtranslator.cpp | | Lines: | 131-183 |
| | 24 | 12 |
operator<<| Name: | operator<< | | Prototype: | QDebug operator<<(QDebug debug, QLocalSocket::LocalSocketState state) | | Coverage: | 27.273% (3/11) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket.cpp | | Lines: | 530-552 |
| | 14 | 6 |
QDomNodePrivate| Name: | QDomNodePrivate | | Coverage: | 27.562% (78/283) |
| | 280 | 107 |
QGLPaintDevice| Name: | QGLPaintDevice | | Coverage: | 28.571% (12/42) |
| | 50 | 24 |
QXcbCursorCacheKey| Name: | QXcbCursorCacheKey | | Coverage: | 28.571% (2/7) |
| | 8 | 3 |
hash| Name: | hash | | Prototype: | static inline uint hash(const uchar *p, int len, uint seed) | | Coverage: | 28.571% (2/7) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 146-157 |
| | 6 | 3 |
hash| Name: | hash | | Prototype: | static inline uint hash(const QChar *p, int len, uint seed) | | Coverage: | 28.571% (2/7) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 164-175 |
| | 6 | 3 |
installCoverageTool| Name: | installCoverageTool | | Prototype: | static void installCoverageTool(QLibraryPrivate *libPrivate) | | Coverage: | 28.571% (2/7) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/plugin/qlibrary.cpp | | Lines: | 320-351 |
| | 8 | 3 |
toIntegral_helper| Name: | toIntegral_helper | | Prototype: | template <typename T> static inline T toIntegral_helper(const char *data, bool *ok, int base) | | Coverage: | 28.571% (2/7) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qbytearray.cpp | | Lines: | 3402-3424 |
| | 7 | 3 |
operator<<| Name: | operator<< | | Prototype: | QDebug operator<<(QDebug debug, QAbstractSocket::SocketState state) | | Coverage: | 29.412% (5/17) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | | Lines: | 2985-3016 |
| | 20 | 9 |
qt_xcb_pixmapFromXPixmap| Name: | qt_xcb_pixmapFromXPixmap | | Prototype: | QPixmap qt_xcb_pixmapFromXPixmap(QXcbConnection *connection, xcb_pixmap_t pixmap, int width, int height, int depth, const xcb_visualtype_t *visual) | | Coverage: | 29.412% (15/51) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbimage.cpp | | Lines: | 82-164 |
| | 49 | 17 |
parseTzLeapSeconds| Name: | parseTzLeapSeconds | | Prototype: | static void parseTzLeapSeconds(QDataStream &ds, int tzh_leapcnt, bool longTran) | | Coverage: | 30.000% (6/20) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp | | Lines: | 270-293 |
| | 11 | 6 |
QJsonArray| Name: | QJsonArray | | Coverage: | 30.435% (56/184) |
| | 172 | 70 |
QAbstractListModel| Name: | QAbstractListModel | | Coverage: | 30.769% (16/52) |
| | 47 | 18 |
parseXftHintStyle| Name: | parseXftHintStyle | | Prototype: | static QFontEngine::HintStyle parseXftHintStyle(const QByteArray& stringValue) | | Coverage: | 30.769% (4/13) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbscreen.cpp | | Lines: | 720-732 |
| | 9 | 5 |
QPageSetupWidget| Name: | QPageSetupWidget | | Coverage: | 31.313% (31/99) |
| | 201 | 46 |
QTsciiCodec| Name: | QTsciiCodec | | Coverage: | 31.579% (18/57) |
| | 54 | 20 |
QAbstractFileEngine| Name: | QAbstractFileEngine | | Coverage: | 31.746% (20/63) |
| | 103 | 49 |
QHttpNetworkRequestPrivate| Name: | QHttpNetworkRequestPrivate | | Coverage: | 32.653% (16/49) |
| | 57 | 8 |
QGLShaderPrivate| Name: | QGLShaderPrivate | | Coverage: | 32.692% (17/52) |
| | 58 | 18 |
ZoomFactorValidator| Name: | ZoomFactorValidator | | Coverage: | 33.333% (7/21) |
| | 16 | 7 |
detectDesktopEnvironment| Name: | detectDesktopEnvironment | | Prototype: | static inline QByteArray detectDesktopEnvironment() | | Coverage: | 33.333% (7/21) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/services/genericunix/qgenericunixservices.cpp | | Lines: | 47-67 |
| | 8 | 11 |
isJitEnabled| Name: | isJitEnabled | | Prototype: | static bool isJitEnabled() | | Coverage: | 33.333% (2/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregularexpression.cpp | | Lines: | 1113-1127 |
| | 6 | 2 |
pcre16SafeExec| Name: | pcre16SafeExec | | Prototype: | static int pcre16SafeExec(const pcre16 *code, const pcre16_extra *extra, const unsigned short *subject, int length, int startOffset, int options, int *ovector, int ovecsize) | | Coverage: | 33.333% (2/6) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregularexpression.cpp | | Lines: | 1208-1225 |
| | 8 | 2 |
registerComplexDBusType| Name: | registerComplexDBusType | | Prototype: | static int registerComplexDBusType(const char *typeName) | | Coverage: | 33.333% (1/3) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusmetaobject.cpp | | Lines: | 123-144 |
| | 9 | 3 |
requiresOpenType| Name: | requiresOpenType | | Prototype: | static inline bool requiresOpenType(int writingSystem) | | Coverage: | 33.333% (3/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp | | Lines: | 358-362 |
| | 2 | 1 |
statusCodeFromHttp| Name: | statusCodeFromHttp | | Prototype: | static QNetworkReply::NetworkError statusCodeFromHttp(int httpStatusCode, const QUrl &url) | | Coverage: | 33.333% (11/33) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpthreaddelegate.cpp | | Lines: | 50-118 |
| | 34 | 16 |
toIntegral_helper| Name: | toIntegral_helper | | Prototype: | template <typename T> static inline T toIntegral_helper(const QLocalePrivate *d, const QChar *data, int len, bool *ok) | | Coverage: | 33.333% (3/9) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | | Lines: | 1092-1112 |
| | 11 | 3 |
QGLContext| Name: | QGLContext | | Coverage: | 33.663% (68/202) |
| | 229 | 84 |
QXcbConnection| Name: | QXcbConnection | | Coverage: | 34.910% (583/1670) |
| | 1655 | 586 |
QAbstractTableModel| Name: | QAbstractTableModel | | Coverage: | 35.294% (18/51) |
| | 47 | 17 |
QNetworkRequestPrivate| Name: | QNetworkRequestPrivate | | Coverage: | 35.294% (6/17) |
| | 13 | 5 |
detectProcessorFeatures| Name: | detectProcessorFeatures | | Prototype: | static quint64 detectProcessorFeatures() | | Coverage: | 35.294% (6/17) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qsimd.cpp | | Lines: | 246-329 |
| | 23 | 6 |
QSysInfo| Name: | QSysInfo | | Coverage: | 35.366% (29/82) |
| | 50 | 38 |
QNetworkConfiguration| Name: | QNetworkConfiguration | | Coverage: | 35.593% (42/118) |
| | 72 | 70 |
QLocalSocketPrivate| Name: | QLocalSocketPrivate | | Coverage: | 35.849% (38/106) |
| | 151 | 54 |
QGLSignalProxy| Name: | QGLSignalProxy | | Coverage: | 36.364% (4/11) |
| | 5 | 3 |
propertyWriteReply| Name: | propertyWriteReply | | Prototype: | static QDBusMessage propertyWriteReply(const QDBusMessage &msg, const QString &interface_name, const QByteArray &property_name, int status) | | Coverage: | 36.364% (4/11) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusinternalfilters.cpp | | Lines: | 293-320 |
| | 17 | 6 |
_q_OpenSSL_to_QSslError| Name: | _q_OpenSSL_to_QSslError | | Prototype: | static QSslError _q_OpenSSL_to_QSslError(int errorCode, const QSslCertificate &cert) | | Coverage: | 36.585% (15/41) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp | | Lines: | 1044-1091 |
| | 23 | 21 |
encodeText| Name: | encodeText | | Prototype: | static QString encodeText(const QString &str, QTextStream &s, const bool encodeQuotes = true, const bool performAVN = false, const bool encodeEOLs = false) | | Coverage: | 36.585% (15/41) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/xml/dom/qdom.cpp | | Lines: | 4140-4205 |
| | 43 | 9 |
QIdentityProxyModelPrivate| Name: | QIdentityProxyModelPrivate | | Coverage: | 36.667% (11/30) |
| | 104 | 24 |
q_getTimeFromASN1| Name: | q_getTimeFromASN1 | | Prototype: | QDateTime q_getTimeFromASN1(const ASN1_TIME *aTime) | | Coverage: | 36.735% (18/49) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl_symbols.cpp | | Lines: | 1009-1100 |
| | 62 | 13 |
QDomAttrPrivate| Name: | QDomAttrPrivate | | Coverage: | 36.842% (7/19) |
| | 24 | 11 |
QLocale| Name: | QLocale | | Coverage: | 36.920% (199/539) |
| | 492 | 239 |
qDBusPropertySet| Name: | qDBusPropertySet | | Prototype: | QDBusMessage qDBusPropertySet(const QDBusConnectionPrivate::ObjectTreeNode &node, const QDBusMessage &msg) | | Coverage: | 37.500% (12/32) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusinternalfilters.cpp | | Lines: | 376-430 |
| | 42 | 10 |
ulp| Name: | ulp | | Prototype: | static double ulp(double x) | | Coverage: | 37.500% (3/8) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_tools.cpp | | Lines: | 1003-1033 |
| | 14 | 3 |
QXcbWMSupport| Name: | QXcbWMSupport | | Coverage: | 37.931% (11/29) |
| | 43 | 11 |
numerusHelper| Name: | numerusHelper | | Prototype: | static uint numerusHelper(int n, const uchar *rules, uint rulesSize) | | Coverage: | 37.931% (22/58) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qtranslator.cpp | | Lines: | 199-276 |
| | 49 | 18 |
QPrinterPagedPaintDevicePrivate| Name: | QPrinterPagedPaintDevicePrivate | | Coverage: | 38.095% (8/21) |
| | 24 | 9 |
QPrintDialog| Name: | QPrintDialog | | Coverage: | 38.462% (10/26) |
| | 38 | 16 |
qt_create_qhash_seed| Name: | qt_create_qhash_seed | | Prototype: | static uint qt_create_qhash_seed() | | Coverage: | 38.462% (5/13) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 221-266 |
| | 22 | 5 |
QJsonValue| Name: | QJsonValue | | Coverage: | 38.587% (71/184) |
| | 136 | 89 |
QJsonPrivate| Name: | QJsonPrivate | | Coverage: | 38.889% (91/234) |
| | 205 | 93 |
QPrintPreviewDialog| Name: | QPrintPreviewDialog | | Coverage: | 38.889% (7/18) |
| | 27 | 10 |
QNetworkProxyQuery| Name: | QNetworkProxyQuery | | Coverage: | 39.024% (16/41) |
| | 40 | 23 |
QNetworkReplyImpl| Name: | QNetworkReplyImpl | | Coverage: | 39.130% (36/92) |
| | 78 | 34 |
QFileDevicePrivate| Name: | QFileDevicePrivate | | Coverage: | 39.394% (13/33) |
| | 33 | 14 |
QXcbVirtualDesktop| Name: | QXcbVirtualDesktop | | Coverage: | 39.535% (17/43) |
| | 45 | 20 |