Function | Condition %▾ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
parsePosixTimeName: | parsePosixTime | Prototype: | static int parsePosixTime(const char *begin, const char *end) | Coverage: | 44.828% (13/29) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp | Lines: | 382-418 |
| | 18 | 7 |
QSocks5BindStoreName: | QSocks5BindStore | Coverage: | 44.737% (17/38) |
| | 31 | 15 |
QHostInfoName: | QHostInfo | Coverage: | 44.737% (34/76) |
| | 89 | 36 |
QXcbSystemTrayTrackerName: | QXcbSystemTrayTracker | Coverage: | 44.643% (25/56) |
| | 74 | 26 |
updateCursorThemeName: | updateCursorTheme | Prototype: | bool updateCursorTheme(void *dpy, const QByteArray &theme) | Coverage: | 44.444% (4/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbcursor.cpp | Lines: | 511-521 |
| | 8 | 3 |
setNativeLocksName: | setNativeLocks | Prototype: | static bool setNativeLocks(const QString &fileName, int fd) | Coverage: | 44.444% (4/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile_unix.cpp | Lines: | 162-179 |
| | 12 | 3 |
formatBacktraceForLogMessageName: | formatBacktraceForLogMessage | Prototype: | static QString formatBacktraceForLogMessage(const QMessagePattern::BacktraceParams backtraceParams, const char *function) | Coverage: | 44.444% (4/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qlogging.cpp | Lines: | 1268-1283 |
| | 8 | 3 |
QXcbSoftwareOpenGLEnforcerName: | QXcbSoftwareOpenGLEnforcer | Coverage: | 44.444% (8/18) |
| | 8 | 8 |
QXcbConnectionGrabberName: | QXcbConnectionGrabber | Coverage: | 44.444% (4/9) |
| | 6 | 5 |
QRowsRemovalName: | QRowsRemoval | Coverage: | 44.444% (4/9) |
| | 10 | 5 |
QSslErrorName: | QSslError | Coverage: | 44.068% (26/59) |
| | 69 | 34 |
QDomHandlerName: | QDomHandler | Coverage: | 43.860% (25/57) |
| | 86 | 29 |
ucalTimeZoneDisplayNameName: | ucalTimeZoneDisplayName | Prototype: | static QString ucalTimeZoneDisplayName(UCalendar *ucal, QTimeZone::TimeType timeType, QTimeZone::NameType nameType, const QString &localeCode) | Coverage: | 42.857% (3/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_icu.cpp | Lines: | 108-143 |
| | 22 | 3 |
ucalDefaultTimeZoneIdName: | ucalDefaultTimeZoneId | Prototype: | static QByteArray ucalDefaultTimeZoneId() | Coverage: | 42.857% (3/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_icu.cpp | Lines: | 82-105 |
| | 12 | 3 |
qNtlmDecodePhase2Name: | qNtlmDecodePhase2 | Prototype: | static bool qNtlmDecodePhase2(const QByteArray& data, QNtlmPhase2Block& ch) | Coverage: | 42.857% (12/28) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qauthenticator.cpp | Lines: | 1333-1373 |
| | 27 | 10 |
qDBusAddTimeoutName: | qDBusAddTimeout | Prototype: | static dbus_bool_t qDBusAddTimeout(DBusTimeout *timeout, void *data) | Coverage: | 42.857% (3/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintegrator.cpp | Lines: | 139-163 |
| | 14 | 3 |
operator<<Name: | operator<< | Prototype: | static QDataStream& operator<<(QDataStream& s, const QNtlmPhase1Block& b) | Coverage: | 42.857% (3/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qauthenticator.cpp | Lines: | 1026-1039 |
| | 11 | 3 |
getEtcFileContentName: | getEtcFileContent | Prototype: | static QByteArray getEtcFileContent(const char *filename) | Coverage: | 42.857% (3/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp | Lines: | 2222-2239 |
| | 11 | 3 |
QSystemErrorName: | QSystemError | Coverage: | 42.857% (3/7) |
| | 4 | 5 |
QSqlRecordPrivateName: | QSqlRecordPrivate | Coverage: | 42.857% (3/7) |
| | 10 | 5 |
QPrinterPrivateName: | QPrinterPrivate | Coverage: | 42.857% (24/56) |
| | 64 | 23 |
QItemSelectionRangeName: | QItemSelectionRange | Coverage: | 42.857% (9/21) |
| | 28 | 9 |
QPrinterInfoName: | QPrinterInfo | Coverage: | 42.593% (23/54) |
| | 89 | 39 |
QNetworkReplyImplName: | QNetworkReplyImpl | Coverage: | 42.500% (34/80) |
| | 72 | 32 |
QXcbXSettingsPrivateName: | QXcbXSettingsPrivate | Coverage: | 42.105% (32/76) |
| | 82 | 22 |
resolveLibraryInternalName: | resolveLibraryInternal | Prototype: | static bool resolveLibraryInternal() | Coverage: | 41.667% (10/24) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostinfo_unix.cpp | Lines: | 94-129 |
| | 19 | 9 |
QIdentityProxyModelName: | QIdentityProxyModel | Coverage: | 41.509% (22/53) |
| | 163 | 29 |
QNetworkReplyImplPrivateName: | QNetworkReplyImplPrivate | Coverage: | 41.256% (184/446) |
| | 422 | 150 |
loadCursorName: | loadCursor | Prototype: | static xcb_cursor_t loadCursor(void *dpy, int cshape) | Coverage: | 41.176% (7/17) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbcursor.cpp | Lines: | 531-553 |
| | 14 | 7 |
QDBusServiceWatcherName: | QDBusServiceWatcher | Coverage: | 40.909% (9/22) |
| | 26 | 14 |
QCollatorName: | QCollator | Coverage: | 40.278% (29/72) |
| | 68 | 34 |
QXmlSimpleReaderName: | QXmlSimpleReader | Coverage: | 40.217% (37/92) |
| | 92 | 38 |
qt_create_pipeName: | qt_create_pipe | Prototype: | static int qt_create_pipe(int *pipe) | Coverage: | 40.000% (4/10) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp | Lines: | 173-185 |
| | 9 | 4 |
operator<<Name: | operator<< | Prototype: | QDebug operator<<(QDebug dbg, const QDateTime &date) | Coverage: | 40.000% (4/10) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | Lines: | 4986-5008 |
| | 13 | 5 |
operator<<Name: | operator<< | Prototype: | QDebug operator<<(QDebug debug, const QNetworkProxy &proxy) | Coverage: | 40.000% (14/35) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qnetworkproxy.cpp | Lines: | 1576-1619 |
| | 28 | 18 |
defaultHintStyleFromMatchName: | defaultHintStyleFromMatch | Prototype: | QFontEngine::HintStyle defaultHintStyleFromMatch(QFont::HintingPreference hintingPreference, FcPattern *match, bool useXftConf) | Coverage: | 40.000% (12/30) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp | Lines: | 583-626 |
| | 24 | 14 |
QGLShaderProgramPrivateName: | QGLShaderProgramPrivate | Coverage: | 40.000% (4/10) |
| | 9 | 6 |
QXcbVirtualDesktopName: | QXcbVirtualDesktop | Coverage: | 39.535% (17/43) |
| | 46 | 20 |
QFileDevicePrivateName: | QFileDevicePrivate | Coverage: | 39.394% (13/33) |
| | 32 | 14 |
QNetworkProxyQueryName: | QNetworkProxyQuery | Coverage: | 39.130% (9/23) |
| | 40 | 23 |
QJsonValueName: | QJsonValue | Coverage: | 39.011% (71/182) |
| | 141 | 91 |
QPrintPreviewDialogName: | QPrintPreviewDialog | Coverage: | 38.889% (7/18) |
| | 27 | 10 |
qt_create_qhash_seedName: | 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: | 277-322 |
| | 22 | 5 |
QPrintDialogName: | QPrintDialog | Coverage: | 38.462% (10/26) |
| | 38 | 16 |
numerusHelperName: | 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: | 207-284 |
| | 49 | 18 |
QXcbWMSupportName: | QXcbWMSupport | Coverage: | 37.931% (11/29) |
| | 43 | 11 |
QPrintPreviewWidgetPrivateName: | QPrintPreviewWidgetPrivate | Coverage: | 37.705% (46/122) |
| | 143 | 42 |
qDBusPropertySetName: | 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: | 383-437 |
| | 42 | 10 |
QDomAttrPrivateName: | QDomAttrPrivate | Coverage: | 36.842% (7/19) |
| | 24 | 11 |
q_getTimeFromASN1Name: | 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: | 1015-1106 |
| | 62 | 13 |
QIdentityProxyModelPrivateName: | QIdentityProxyModelPrivate | Coverage: | 36.667% (11/30) |
| | 105 | 24 |
encodeTextName: | 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: | 4146-4211 |
| | 43 | 9 |
_q_OpenSSL_to_QSslErrorName: | _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: | 1002-1049 |
| | 23 | 21 |
propertyWriteReplyName: | 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: | 300-327 |
| | 17 | 6 |
name_to_monthName: | name_to_month | Prototype: | static int name_to_month(const char* month_str) | Coverage: | 36.364% (12/33) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkrequest.cpp | Lines: | 1037-1082 |
| | 21 | 17 |
QGLSignalProxyName: | QGLSignalProxy | Coverage: | 36.364% (4/11) |
| | 5 | 3 |
QLocaleName: | QLocale | Coverage: | 36.278% (193/532) |
| | 487 | 244 |
QLocalSocketPrivateName: | QLocalSocketPrivate | Coverage: | 35.849% (38/106) |
| | 151 | 54 |
parse_length_modifierName: | parse_length_modifier | Prototype: | static LengthMod parse_length_modifier(const char * &c) noexcept | Coverage: | 35.714% (5/14) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | Lines: | 6034-6047 |
| | 9 | 8 |
QNetworkConfigurationName: | QNetworkConfiguration | Coverage: | 35.593% (42/118) |
| | 71 | 70 |
QSysInfoName: | QSysInfo | Coverage: | 35.366% (29/82) |
| | 50 | 38 |
detectProcessorFeaturesName: | 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: | 295-378 |
| | 23 | 6 |
QPrinterPagedPaintDevicePrivateName: | QPrinterPagedPaintDevicePrivate | Coverage: | 35.294% (6/17) |
| | 24 | 9 |
QXcbConnectionName: | QXcbConnection | Coverage: | 34.764% (575/1654) |
| | 1656 | 585 |
QGLContextName: | QGLContext | Coverage: | 33.663% (68/202) |
| | 229 | 84 |
statusCodeFromHttpName: | 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: | 56-124 |
| | 34 | 16 |
registerComplexDBusTypeName: | 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: | 130-151 |
| | 9 | 3 |
pcre16SafeExecName: | 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: | 1214-1231 |
| | 8 | 2 |
detectDesktopEnvironmentName: | 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: | 55-75 |
| | 8 | 11 |
ZoomFactorValidatorName: | ZoomFactorValidator | Coverage: | 33.333% (7/21) |
| | 16 | 7 |
QGLShaderPrivateName: | QGLShaderPrivate | Coverage: | 32.692% (17/52) |
| | 58 | 18 |
QTsciiCodecName: | QTsciiCodec | Coverage: | 31.579% (18/57) |
| | 54 | 20 |
QPageSetupWidgetName: | QPageSetupWidget | Coverage: | 31.313% (31/99) |
| | 202 | 46 |
QAbstractFileEngineName: | QAbstractFileEngine | Coverage: | 31.148% (19/61) |
| | 103 | 49 |
qglx_findVisualInfoName: | qglx_findVisualInfo | Prototype: | XVisualInfo *qglx_findVisualInfo(Display *display, int screen, QSurfaceFormat *format, int drawableBit) | Coverage: | 30.769% (4/13) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/glxconvenience/qglxconvenience.cpp | Lines: | 231-258 |
| | 15 | 5 |
parseXftHintStyleName: | 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: | 788-800 |
| | 9 | 5 |
QJsonArrayName: | QJsonArray | Coverage: | 30.435% (56/184) |
| | 172 | 70 |
parseTzLeapSecondsName: | 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: | 276-299 |
| | 11 | 6 |
qt_xcb_pixmapFromXPixmapName: | 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: | 88-170 |
| | 49 | 17 |
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: | 3001-3032 |
| | 20 | 9 |
QAbstractTableModelName: | QAbstractTableModel | Coverage: | 28.889% (13/45) |
| | 47 | 17 |
toIntegral_helperName: | 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: | 3547-3569 |
| | 7 | 3 |
toIntegral_helperName: | toIntegral_helper | Prototype: | template <typename T> static inline T toIntegral_helper(const QLocalePrivate *d, const QChar *data, int len, bool *ok) | Coverage: | 28.571% (2/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | Lines: | 1104-1119 |
| | 7 | 3 |
installCoverageToolName: | 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: | 326-357 |
| | 8 | 3 |
hashName: | hash | Prototype: | static inline uint hash(const uchar *p, int len, uint seed) noexcept | Coverage: | 28.571% (2/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | Lines: | 202-213 |
| | 6 | 3 |
hashName: | hash | Prototype: | static inline uint hash(const QChar *p, int len, uint seed) noexcept | Coverage: | 28.571% (2/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | Lines: | 220-231 |
| | 6 | 3 |
QXcbCursorCacheKeyName: | QXcbCursorCacheKey | Coverage: | 28.571% (2/7) |
| | 8 | 3 |
QGLPaintDeviceName: | QGLPaintDevice | Coverage: | 28.571% (12/42) |
| | 50 | 24 |
QDomNodePrivateName: | QDomNodePrivate | Coverage: | 27.306% (74/271) |
| | 280 | 107 |
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: | 536-558 |
| | 14 | 6 |
isValidNumerusRulesName: | 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: | 139-191 |
| | 24 | 12 |
QXcbMimeName: | QXcbMime | Coverage: | 26.984% (51/189) |
| | 134 | 49 |
QDomNamedNodeMapPrivateName: | QDomNamedNodeMapPrivate | Coverage: | 26.389% (19/72) |
| | 68 | 33 |
QUnixPrintWidgetPrivateName: | QUnixPrintWidgetPrivate | Coverage: | 26.344% (49/186) |
| | 181 | 57 |
QPrintPreviewWidgetName: | QPrintPreviewWidget | Coverage: | 26.190% (11/42) |
| | 74 | 30 |
qt_hash_block_sizeName: | 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: | 85-112 |
| | 13 | 12 |
QGLEngineShaderManagerName: | QGLEngineShaderManager | Coverage: | 25.778% (58/225) |
| | 200 | 76 |
QJsonObjectName: | QJsonObject | Coverage: | 25.410% (62/244) |
| | 256 | 94 |
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: | 566-582 |
| | 12 | 3 |
next_proto_cbName: | 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: | 388-417 |
| | 11 | 6 |