QtBase - c71fc3860b0947c3c793578117e9eb0a3eb3fb31 vs 8193340a44fd835cee029e63a31cfcab8ef6fd55

Functions

Page:<>1
Condition %:  0.000% (0/40)
...10
Condition %:  0.000% (0/1)
...20
Condition %:  80.952% (17/21)
...22
Condition %: 100.000% (1/1)
23
Condition %: 100.000% (159/159)
24
Condition %: 100.000% (23/23)
25
Condition %: 100.000% (1/1)
26
FunctionCondition %▴ModificationseLOC - Effective Lines of CodeMcCabe - 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
100.000% (1/1)
New31
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
100.000% (1/1)
New21
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
100.000% (4/4)
New102
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
100.000% (4/4)
New62
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
100.000% (1/1)
New41
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
100.000% (1/1)
New11
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
100.000% (1/1)
New11
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
100.000% (1/1)
New11
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
100.000% (1/1)
New11
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
100.000% (1/1)
New11
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
100.000% (4/4)
New62
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
100.000% (1/1)
New11
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
100.000% (1/1)
New11
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
100.000% (1/1)
New11
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
100.000% (1/1)
New11
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
100.000% (1/1)
New51
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
100.000% (1/1)
New41
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
100.000% (1/1)
New41
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
100.000% (1/1)
New31
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
100.000% (1/1)
New11
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
100.000% (10/10)
New104
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
100.000% (2/2)
New42
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
100.000% (2/2)
Different42
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
100.000% (1/1)
New11
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
100.000% (4/4)
Different32
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
100.000% (7/7)
Same83
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
100.000% (1/1)
New11
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
100.000% (4/4)
New134
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
100.000% (1/1)
New61
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
100.000% (4/4)
New62
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
100.000% (1/1)
New11
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
100.000% (1/1)
New11
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
100.000% (1/1)
New11
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
100.000% (1/1)
New11
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
100.000% (16/16)
Different146
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
100.000% (1/1)
Same11
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
100.000% (8/8)
New32
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
100.000% (1/1)
Different31
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
100.000% (5/5)
Different73
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
100.000% (11/11)
Different135
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
100.000% (8/8)
New83
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
100.000% (2/2)
New02
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
100.000% (1/1)
New01
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
100.000% (2/2)
New02
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
100.000% (1/1)
New01
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
100.000% (2/2)
New02
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
100.000% (1/1)
New01
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
100.000% (1/1)
Different11
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
100.000% (7/7)
Different63
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
100.000% (1/1)
New21
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
100.000% (1/1)
New11
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
100.000% (1/1)
New11
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
100.000% (1/1)
Different11
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
100.000% (1/1)
Different62
Page:<>1
Condition %:  0.000% (0/40)
...10
Condition %:  0.000% (0/1)
...20
Condition %:  80.952% (17/21)
...22
Condition %: 100.000% (1/1)
23
Condition %: 100.000% (159/159)
24
Condition %: 100.000% (23/23)
25
Condition %: 100.000% (1/1)
26

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