| Function | Condition %▴ | Modifications | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
qEnvironmentVariableIsEmpty| Name: | qEnvironmentVariableIsEmpty | | Prototype: | bool qEnvironmentVariableIsEmpty(const char *varName) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp | | Lines: | 3269-3283 | | Comparison: | New |
| | New | 3 | 1 |
qEnvironmentVariableIsSet| Name: | qEnvironmentVariableIsSet | | Prototype: | bool qEnvironmentVariableIsSet(const char *varName) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp | | Lines: | 3350-3360 | | Comparison: | New |
| | New | 2 | 1 |
qHash| Name: | qHash | | Prototype: | uint qHash(const QUrl &url, uint seed) noexcept | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp | | Lines: | 4123-4136 | | Comparison: | New |
| | New | 10 | 2 |
qHash| Name: | qHash | | Prototype: | uint qHash(const QUrlQuery &key, uint seed) noexcept | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurlquery.cpp | | Lines: | 432-442 | | Comparison: | New |
| | New | 6 | 2 |
qHash| Name: | qHash | | Prototype: | uint qHash(const QUuid &uuid, uint seed) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/plugin/quuid.cpp | | Lines: | 1065-1071 | | Comparison: | New |
| | New | 4 | 1 |
qHash| Name: | qHash | | Prototype: | uint qHash(const QDate &key, uint seed) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 5032-5035 | | Comparison: | New |
| | New | 1 | 1 |
qHash| Name: | qHash | | Prototype: | uint qHash(const QTime &key, uint seed) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 5043-5046 | | Comparison: | New |
| | New | 1 | 1 |
qHash| Name: | qHash | | Prototype: | uint qHash(const QByteArray &key, uint seed) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 233-236 | | Comparison: | New |
| | New | 1 | 1 |
qHash| Name: | qHash | | Prototype: | uint qHash(const QString &key, uint seed) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 238-241 | | Comparison: | New |
| | New | 1 | 1 |
qHash| Name: | qHash | | Prototype: | uint qHash(const QStringRef &key, uint seed) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 243-246 | | Comparison: | New |
| | New | 1 | 1 |
qHash| Name: | qHash | | Prototype: | uint qHash(const QBitArray &bitArray, uint seed) noexcept | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 248-259 | | Comparison: | New |
| | New | 6 | 2 |
qHash| Name: | qHash | | Prototype: | uint qHash(QLatin1String key, uint seed) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 261-264 | | Comparison: | New |
| | New | 1 | 1 |
qHash| Name: | qHash | | Prototype: | uint qHash(float key, uint seed) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 973-976 | | Comparison: | New |
| | New | 1 | 1 |
qHash| Name: | qHash | | Prototype: | uint qHash(double key, uint seed) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 983-986 | | Comparison: | New |
| | New | 1 | 1 |
qHash| Name: | qHash | | Prototype: | uint qHash(long double key, uint seed) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 994-997 | | Comparison: | New |
| | New | 1 | 1 |
qHash| Name: | qHash | | Prototype: | static uint qHash(const QRegExpEngineKey &key, uint seed = 0) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 896-903 | | Comparison: | New |
| | New | 5 | 1 |
qHash| Name: | qHash | | Prototype: | uint qHash(const QRegExp &key, uint seed) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp | | Lines: | 4043-4049 | | Comparison: | New |
| | New | 4 | 1 |
qHash| Name: | qHash | | Prototype: | uint qHash(const QRegularExpression &key, uint seed) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregularexpression.cpp | | Lines: | 1858-1864 | | Comparison: | New |
| | New | 4 | 1 |
qHash| Name: | qHash | | Prototype: | uint qHash(const QSslError &key, uint seed) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslerror.cpp | | Lines: | 319-325 | | Comparison: | New |
| | New | 3 | 1 |
qHashBits| Name: | qHashBits | | Prototype: | uint qHashBits(const void *p, size_t len, uint seed) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 215-218 | | Comparison: | New |
| | New | 1 | 1 |
qIsEffectiveTLD| Name: | qIsEffectiveTLD | | Prototype: | bool qIsEffectiveTLD(const QStringRef &domain) | | Coverage: | 100.000% (10/10) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qtldurl.cpp | | Lines: | 106-125 | | Comparison: | New |
| | New | 10 | 4 |
qSelectionIndexes| Name: | qSelectionIndexes | | Prototype: | template<typename ModelIndexContainer> static ModelIndexContainer qSelectionIndexes(const QItemSelection &selection) | | Coverage: | 100.000% (2/2) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp | | Lines: | 330-337 | | Comparison: | New |
| | New | 4 | 2 |
qSelectionPersistentRowLengths| Name: | qSelectionPersistentRowLengths | | Prototype: | static QVector<QPair<QPersistentModelIndex, uint> > qSelectionPersistentRowLengths(const QItemSelection &sel) | | Coverage: | 100.000% (2/2) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp | | Lines: | 484-490 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp | | Lines (reference): | 482-488 | | Comparison: | Different |
| | Different | 4 | 2 |
qVersion| Name: | qVersion | | Prototype: | const char *qVersion() noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp | | Lines: | 1022-1025 | | Comparison: | New |
| | New | 1 | 1 |
q_X509Callback| Name: | q_X509Callback | | Prototype: | int q_X509Callback(int ok, X509_STORE_CTX *ctx) | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp | | Lines: | 280-311 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp | | Lines (reference): | 270-300 | | Comparison: | Different |
| | Different | 3 | 2 |
qrand| Name: | qrand | | Prototype: | int qrand() | | Coverage: | 100.000% (7/7) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp | | Lines: | 3520-3564 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp | | Lines (reference): | 3457-3501 | | Comparison: | Same |
| | Same | 8 | 3 |
qt_QMetaEnum_flagDebugOperator| Name: | qt_QMetaEnum_flagDebugOperator | | Prototype: | void qt_QMetaEnum_flagDebugOperator(QDebug &debug, size_t sizeofT, int value) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdebug.cpp | | Lines: | 894-897 | | Comparison: | New |
| | New | 1 | 1 |
qt_from_latin1| Name: | qt_from_latin1 | | Prototype: | void qt_from_latin1(ushort *dst, const char *str, size_t size) noexcept | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp | | Lines: | 213-261 | | Comparison: | New |
| | New | 13 | 4 |
qt_gettime| Name: | qt_gettime | | Prototype: | struct timespec qt_gettime() noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qelapsedtimer_unix.cpp | | Lines: | 170-180 | | Comparison: | New |
| | New | 6 | 1 |
qt_hash| Name: | qt_hash | | Prototype: | static uint qt_hash(const QChar *p, int n) noexcept | | Coverage: | 100.000% (4/4) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 408-418 | | Comparison: | New |
| | New | 6 | 2 |
qt_hash| Name: | qt_hash | | Prototype: | uint qt_hash(const QString &key) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 424-427 | | Comparison: | New |
| | New | 1 | 1 |
qt_hash| Name: | qt_hash | | Prototype: | uint qt_hash(const QStringRef &key) noexcept | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp | | Lines: | 433-436 | | Comparison: | New |
| | New | 1 | 1 |
qt_pollfd_check| Name: | qt_pollfd_check | | Prototype: | static bool qt_pollfd_check(const pollfd &pfd, short revents) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp | | Lines: | 168-171 | | Comparison: | New |
| | New | 1 | 1 |
qt_ppoll| Name: | qt_ppoll | | Prototype: | static inline int qt_ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout_ts) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qcore_unix.cpp | | Lines: | 78-87 | | Comparison: | New |
| | New | 1 | 1 |
qt_qdnsmailexchangerecord_sort| Name: | qt_qdnsmailexchangerecord_sort | | Prototype: | static void qt_qdnsmailexchangerecord_sort(QList<QDnsMailExchangeRecord> &records) | | Coverage: | 100.000% (16/16) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qdnslookup.cpp | | Lines: | 65-92 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qdnslookup.cpp | | Lines (reference): | 59-86 | | Comparison: | Different |
| | Different | 14 | 6 |
qt_timezone| Name: | qt_timezone | | Prototype: | static int qt_timezone() | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines: | 2165-2196 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp | | Lines (reference): | 2144-2173 | | Comparison: | Same |
| | Same | 1 | 1 |
registerEventTypeZeroBased| Name: | registerEventTypeZeroBased | | Prototype: | static inline int registerEventTypeZeroBased(int id) noexcept | | Coverage: | 100.000% (8/8) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qcoreevent.cpp | | Lines: | 453-461 | | Comparison: | New |
| | New | 3 | 2 |
resourceType| Name: | resourceType | | Prototype: | static int resourceType(const QByteArray &key) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbnativeinterface.cpp | | Lines: | 77-95 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbnativeinterface.cpp | | Lines (reference): | 70-87 | | Comparison: | Different |
| | Different | 3 | 1 |
searchExecutable| Name: | searchExecutable | | Prototype: | static inline QString searchExecutable(const QStringList &searchPaths, const QString &executableName) | | Coverage: | 100.000% (5/5) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstandardpaths.cpp | | Lines: | 449-460 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstandardpaths.cpp | | Lines (reference): | 462-473 | | Comparison: | Different |
| | Different | 7 | 3 |
selectionHelper| Name: | selectionHelper | | Prototype: | static QString selectionHelper(const QString &path, const QString &fileName, const QStringList &selectors) | | Coverage: | 100.000% (11/11) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfileselector.cpp | | Lines: | 270-294 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfileselector.cpp | | Lines (reference): | 267-291 | | Comparison: | Different |
| | Different | 13 | 5 |
separate_if| Name: | separate_if | | Prototype: | template <typename InputIt, typename OutputIt1, typename OutputIt2, typename UnaryPredicate> std::pair<OutputIt1, OutputIt2> separate_if(InputIt first, InputIt last, OutputIt1 dest1, OutputIt2 dest2, UnaryPredicate p) | | Coverage: | 100.000% (8/8) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostinfo.cpp | | Lines: | 83-97 | | Comparison: | New |
| | New | 8 | 3 |
textHtmlLiteral| Name: | textHtmlLiteral | | Prototype: | static inline QString textHtmlLiteral() | | Coverage: | 100.000% (2/2) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmimedata.cpp | | Lines: | 50-50 | | Comparison: | New |
| | New | 0 | 2 |
textHtmlLiteral::[lambda]| Name: | textHtmlLiteral::[lambda] | | Prototype: | []() | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmimedata.cpp | | Lines: | 50-50 | | Comparison: | New |
| | New | 0 | 1 |
textPlainLiteral| Name: | textPlainLiteral | | Prototype: | static inline QString textPlainLiteral() | | Coverage: | 100.000% (2/2) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmimedata.cpp | | Lines: | 51-51 | | Comparison: | New |
| | New | 0 | 2 |
textPlainLiteral::[lambda]| Name: | textPlainLiteral::[lambda] | | Prototype: | []() | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmimedata.cpp | | Lines: | 51-51 | | Comparison: | New |
| | New | 0 | 1 |
textUriListLiteral| Name: | textUriListLiteral | | Prototype: | static inline QString textUriListLiteral() | | Coverage: | 100.000% (2/2) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmimedata.cpp | | Lines: | 49-49 | | Comparison: | New |
| | New | 0 | 2 |
textUriListLiteral::[lambda]| Name: | textUriListLiteral::[lambda] | | Prototype: | []() | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmimedata.cpp | | Lines: | 49-49 | | Comparison: | New |
| | New | 0 | 1 |
threeBytesToInt| Name: | threeBytesToInt | | Prototype: | static qint32 threeBytesToInt(const char *bytes) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/access/qspdyprotocolhandler.cpp | | Lines: | 370-373 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/network/access/qspdyprotocolhandler.cpp | | Lines (reference): | 364-367 | | Comparison: | Different |
| | Different | 1 | 1 |
timerSourceCheckHelper| Name: | timerSourceCheckHelper | | Prototype: | static gboolean timerSourceCheckHelper(GTimerSource *src) | | Coverage: | 100.000% (7/7) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp | | Lines: | 140-150 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp | | Lines (reference): | 134-144 | | Comparison: | Different |
| | Different | 6 | 3 |
timespecToMillisecs| Name: | timespecToMillisecs | | Prototype: | static inline int timespecToMillisecs(const struct timespec *ts) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qcore_unix.cpp | | Lines: | 68-72 | | Comparison: | New |
| | New | 2 | 1 |
toIntegral_helper| Name: | toIntegral_helper | | Prototype: | static qlonglong toIntegral_helper(const QLocaleData *d, const QChar *data, int len, bool *ok, QLocale::NumberOptions mode, qlonglong) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | | Lines: | 1092-1096 | | Comparison: | New |
| | New | 1 | 1 |
toIntegral_helper| Name: | toIntegral_helper | | Prototype: | static qulonglong toIntegral_helper(const QLocaleData *d, const QChar *data, int len, bool *ok, QLocale::NumberOptions mode, qulonglong) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp | | Lines: | 1098-1102 | | Comparison: | New |
| | New | 1 | 1 |
twoBytesToInt| Name: | twoBytesToInt | | Prototype: | static qint16 twoBytesToInt(const char *bytes) | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/access/qspdyprotocolhandler.cpp | | Lines: | 365-368 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/network/access/qspdyprotocolhandler.cpp | | Lines (reference): | 359-362 | | Comparison: | Different |
| | Different | 1 | 1 |
unixCheckClockType| Name: | unixCheckClockType | | Prototype: | static int unixCheckClockType() | | Coverage: | 100.000% (1/1) | | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qelapsedtimer_unix.cpp | | Lines: | 113-149 | | Absolute File Name (reference): | /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qelapsedtimer_unix.cpp | | Lines (reference): | 106-138 | | Comparison: | Different |
| | Different | 6 | 2 |