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

Function Tree

Page:<>1
Condition %:  0.000% (0/41)
...10
Condition %:  0.000% (0/36)
...20
Condition %:  0.000% (0/10)
...30
Condition %:  0.000% (0/1)
...40
Condition %:  58.621% (17/29)
...43
Condition %:  76.190% (80/105)
44
Condition %:  77.778% (7/9)
45
Condition %:  81.818% (9/11)
46
Condition %:  86.928% (133/153)
4748
Condition %: 100.000% (8/8)
49
Condition %: 100.000% (2/2)
50
Condition %: 100.000% (2/2)
51
Condition %: 100.000% (1/1)
...55
Condition %: 100.000% (1/1)
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
QDirPrivate
Name: QDirPrivate
Coverage:  91.753% (89/97)
 91.753% (89/97)
8336
QRect
Name: QRect
Coverage:  91.803% (168/183)
 91.803% (168/183)
15747
QDBusPendingCall
Name: QDBusPendingCall
Coverage:  91.892% (34/37)
 91.892% (34/37)
3919
composeHelper
Name: composeHelper
Prototype: static void composeHelper(QString *str, QChar::UnicodeVersion version, int from)
Coverage:  91.892% (34/37)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qchar.cpp
Lines: 1813-1874
 91.892% (34/37)
4210
QHashData
Name: QHashData
Coverage:  92.000% (92/100)
 92.000% (92/100)
12337
_q_resolveEntryAndCreateLegacyEngine_recursive
Name: _q_resolveEntryAndCreateLegacyEngine_recursive
Prototype: static bool _q_resolveEntryAndCreateLegacyEngine_recursive(QFileSystemEntry &entry, QFileSystemMetaData &data, QAbstractFileEngine *&engine, bool resolvingEntry = false)
Coverage:  92.000% (23/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfilesystemengine.cpp
Lines: 137-181
 92.000% (23/25)
209
qMetaTypeCustomType_unlocked
Name: qMetaTypeCustomType_unlocked
Prototype: static int qMetaTypeCustomType_unlocked(const char *typeName, int length, int *firstInvalidIndex = 0)
Coverage:  92.000% (23/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 894-914
 92.000% (23/25)
157
QDebug
Name: QDebug
Coverage:  92.105% (35/38)
 92.105% (35/38)
3614
calculateCoarseTimerTimeout
Name: calculateCoarseTimerTimeout
Prototype: static void calculateCoarseTimerTimeout(QTimerInfo *t, timespec currentTime)
Coverage:  92.308% (48/52)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp
Lines: 230-338
 92.308% (48/52)
4915
QRingBuffer
Name: QRingBuffer
Coverage:  92.453% (147/159)
 92.453% (147/159)
16152
QTimeZone
Name: QTimeZone
Coverage:  92.453% (98/106)
 92.453% (98/106)
9662
qFindString
Name: qFindString
Prototype: int qFindString( const QChar *haystack0, int haystackLen, int from, const QChar *needle0, int needleLen, Qt::CaseSensitivity cs)
Coverage:  92.453% (49/53)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3097-3171
 92.453% (49/53)
4516
findObject
Name: findObject
Prototype: static bool findObject(const QDBusConnectionPrivate::ObjectTreeNode *root, const QString &fullpath, int &usedLength, QDBusConnectionPrivate::ObjectTreeNode &result)
Coverage:  92.500% (37/40)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintegrator.cpp
Lines: 371-418
 92.500% (37/40)
299
qConvertToUnsignedNumber
Name: qConvertToUnsignedNumber
Prototype: static qulonglong qConvertToUnsignedNumber(const QVariant::Private *d, bool *ok)
Coverage:  92.500% (37/40)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 264-316
 92.500% (37/40)
1925
QRegularExpression
Name: QRegularExpression
Coverage:  92.537% (62/67)
 92.537% (62/67)
9031
QState
Name: QState
Coverage:  92.562% (112/121)
 92.562% (112/121)
12245
QAbstractEventDispatcher
Name: QAbstractEventDispatcher
Coverage:  92.593% (25/27)
 92.593% (25/27)
2613
operator<<
Name: operator<<
Prototype: QDataStream &operator<<(QDataStream &out, const QDateTime &dateTime)
Coverage:  92.593% (25/27)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 4830-4884
 92.593% (25/27)
2610
QTimeLinePrivate
Name: QTimeLinePrivate
Coverage:  92.683% (38/41)
 92.683% (38/41)
3111
ligatureHelper
Name: ligatureHelper
Prototype: static uint inline ligatureHelper(uint u1, uint u2)
Coverage:  92.683% (38/41)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qchar.cpp
Lines: 1773-1811
 92.683% (38/41)
2610
qt_string_normalize
Name: qt_string_normalize
Prototype: void qt_string_normalize(QString *data, QString::NormalizationForm mode, QChar::UnicodeVersion version, int from)
Coverage:  92.857% (52/56)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 7154-7218
 92.857% (52/56)
4518
QRectF
Name: QRectF
Coverage:  93.064% (161/173)
 93.064% (161/173)
16151
QMutex
Name: QMutex
Coverage:  93.103% (27/29)
 93.103% (27/29)
2413
QFileSelector
Name: QFileSelector
Coverage:  93.333% (14/15)
 93.333% (14/15)
238
QThreadPoolPrivate
Name: QThreadPoolPrivate
Coverage:  93.333% (84/90)
 93.333% (84/90)
9433
decompositionHelper
Name: decompositionHelper
Prototype: static const unsigned short * decompositionHelper (uint ucs4, int *length, int *tag, unsigned short *buffer)
Coverage:  93.333% (14/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qchar.cpp
Lines: 1296-1321
 93.333% (14/15)
173
epochMSecsToLocalTime
Name: epochMSecsToLocalTime
Prototype: static bool epochMSecsToLocalTime(qint64 msecs, QDate *localDate, QTime *localTime, QDateTimePrivate::DaylightStatus *daylightStatus = 0)
Coverage:  93.333% (14/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 2449-2483
 93.333% (14/15)
205
postProcess
Name: postProcess
Prototype: static QList<QNetworkInterfacePrivate *> postProcess(QList<QNetworkInterfacePrivate *> list)
Coverage:  93.333% (14/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qnetworkinterface.cpp
Lines: 52-80
 93.333% (14/15)
135
qRemoveWhitespace
Name: qRemoveWhitespace
Prototype: static void qRemoveWhitespace(const char *s, char *d)
Coverage:  93.333% (28/30)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetaobject.cpp
Lines: 1234-1250
 93.333% (28/30)
126
qstrtoll
Name: qstrtoll
Prototype: long long qstrtoll(const char * nptr, const char **endptr, int base, bool *ok)
Coverage:  93.333% (14/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_tools.cpp
Lines: 409-425
 93.333% (14/15)
123
canonicalOrderHelper
Name: canonicalOrderHelper
Prototype: static void canonicalOrderHelper(QString *str, QChar::UnicodeVersion version, int from)
Coverage:  93.548% (58/62)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qchar.cpp
Lines: 1877-1963
 93.548% (58/62)
5920
QItemSelection
Name: QItemSelection
Coverage:  93.671% (74/79)
 93.671% (74/79)
8628
QMetaCallEvent
Name: QMetaCallEvent
Coverage:  93.750% (30/32)
 93.750% (30/32)
1812
QSize
Name: QSize
Coverage:  93.750% (15/16)
 93.750% (15/16)
125
QSizeF
Name: QSizeF
Coverage:  93.750% (15/16)
 93.750% (15/16)
115
openModeToOpenFlags
Name: openModeToOpenFlags
Prototype: static inline int openModeToOpenFlags(QIODevice::OpenMode mode)
Coverage:  93.750% (15/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfsfileengine_unix.cpp
Lines: 110-131
 93.750% (15/16)
126
parse_flag_characters
Name: parse_flag_characters
Prototype: static uint parse_flag_characters(const char * &c) noexcept
Coverage:  93.750% (15/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5991-6006
 93.750% (15/16)
109
QSettingsPrivate
Name: QSettingsPrivate
Coverage:  93.953% (404/430)
 93.953% (404/430)
368143
QDirIteratorPrivate
Name: QDirIteratorPrivate
Coverage:  94.083% (159/169)
 94.083% (159/169)
11438
QFontEngineMultiFontConfig
Name: QFontEngineMultiFontConfig
Coverage:  94.118% (16/17)
 94.118% (16/17)
299
QRegularExpressionMatchIterator
Name: QRegularExpressionMatchIterator
Coverage:  94.118% (16/17)
 94.118% (16/17)
2213
QDirSortItemComparator
Name: QDirSortItemComparator
Coverage:  94.231% (49/52)
 94.231% (49/52)
4414
QFileSystemMetaData
Name: QFileSystemMetaData
Coverage:  94.444% (51/54)
 94.444% (51/54)
7223
QHostInfoRunnable
Name: QHostInfoRunnable
Coverage:  94.444% (17/18)
 94.444% (17/18)
297
QDBusMessage
Name: QDBusMessage
Coverage:  94.521% (69/73)
 94.521% (69/73)
8944
loadQtCodec
Name: loadQtCodec
Prototype: static QTextCodec *loadQtCodec(const char *name)
Coverage:  94.737% (36/38)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/codecs/qicucodec.cpp
Lines: 356-384
 94.737% (36/38)
2312
qMetaTypeNumber
Name: qMetaTypeNumber
Prototype: static qlonglong qMetaTypeNumber(const QVariant::Private *d)
Coverage:  94.737% (18/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 143-169
 94.737% (18/19)
1210
qNumVariantToHelper
Name: qNumVariantToHelper
Prototype: template <typename T> inline T qNumVariantToHelper(const QVariant::Private &d, const HandlersManager &handlerManager, bool *ok, const T& val)
Coverage:  94.737% (18/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 2642-2661
 94.737% (18/19)
115
QResourceFileEnginePrivate
Name: QResourceFileEnginePrivate
Coverage:  95.000% (19/20)
 95.000% (19/20)
126
qt_qFindChildren_helper
Name: qt_qFindChildren_helper
Prototype: void qt_qFindChildren_helper(const QObject *parent, const QString &name, const QMetaObject &mo, QList<void*> *list, Qt::FindChildOptions options)
Coverage:  95.000% (19/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp
Lines: 1858-1874
 95.000% (19/20)
116
QIPAddressUtils
Name: QIPAddressUtils
Coverage:  95.067% (212/223)
 95.067% (212/223)
18663
q_toPercentEncoding
Name: q_toPercentEncoding
Prototype: static void q_toPercentEncoding(QByteArray *ba, const char *dontEncode, const char *alsoEncode, char percent)
Coverage:  95.122% (39/41)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qbytearray.cpp
Lines: 4568-4606
 95.122% (39/41)
297
QNetworkCacheMetaData
Name: QNetworkCacheMetaData
Coverage:  95.238% (20/21)
 95.238% (20/21)
2619
checkStaticArray
Name: checkStaticArray
Prototype: static bool checkStaticArray(int &val, const QByteArray &dateString, int at, const char *array, int size)
Coverage:  95.238% (20/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkcookie.cpp
Lines: 537-557
 95.238% (20/21)
155
localMSecsToEpochMSecs
Name: localMSecsToEpochMSecs
Prototype: static qint64 localMSecsToEpochMSecs(qint64 localMsecs, QDateTimePrivate::DaylightStatus *daylightStatus, QDate *localDate = 0, QTime *localTime = 0, QString *abbreviation = 0)
Coverage:  95.312% (61/64)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 2488-2582
 95.312% (61/64)
5619
qt_qdnsservicerecord_sort
Name: qt_qdnsservicerecord_sort
Prototype: static void qt_qdnsservicerecord_sort(QList<QDnsServiceRecord> &records)
Coverage:  95.455% (21/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qdnslookup.cpp
Lines: 107-155
 95.455% (21/22)
228
QUtf16
Name: QUtf16
Coverage:  95.506% (85/89)
 95.506% (85/89)
8026
QUtf8
Name: QUtf8
Coverage:  95.541% (150/157)
 95.541% (150/157)
15748
QUrlQuery
Name: QUrlQuery
Coverage:  95.604% (87/91)
 95.604% (87/91)
9947
qt_last_index_of
Name: qt_last_index_of
Prototype: static inline int qt_last_index_of(const QChar *haystack, int haystackLen, QChar needle, int from, Qt::CaseSensitivity cs)
Coverage:  95.652% (22/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 10096-10121
 95.652% (22/23)
179
QSqlCachedResultPrivate
Name: QSqlCachedResultPrivate
Coverage:  95.833% (23/24)
 95.833% (23/24)
3012
QTemporaryFileEngine
Name: QTemporaryFileEngine
Coverage:  95.918% (47/49)
 95.918% (47/49)
7821
QAbstractAnimation
Name: QAbstractAnimation
Coverage:  95.960% (95/99)
 95.960% (95/99)
9842
QBenchmarkTestMethodData
Name: QBenchmarkTestMethodData
Coverage:  96.000% (24/25)
 96.000% (24/25)
2210
QSingleShotTimer
Name: QSingleShotTimer
Coverage:  96.000% (24/25)
 96.000% (24/25)
2010
QTemporaryFile
Name: QTemporaryFile
Coverage:  96.000% (48/50)
 96.000% (48/50)
5824
recode
Name: recode
Prototype: static int recode(QString &result, const ushort *begin, const ushort *end, QUrl::ComponentFormattingOptions encoding, const uchar *actionTable, bool retryBadEncoding)
Coverage:  96.053% (73/76)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurlrecode.cpp
Lines: 374-475
 96.053% (73/76)
6321
QHttpNetworkHeaderPrivate
Name: QHttpNetworkHeaderPrivate
Coverage:  96.154% (25/26)
 96.154% (25/26)
3516
QMapNodeBase
Name: QMapNodeBase
Coverage:  96.154% (25/26)
 96.154% (25/26)
228
lastIndexOfHelper
Name: lastIndexOfHelper
Prototype: static int lastIndexOfHelper(const char *haystack, int l, const char *needle, int ol, int from)
Coverage:  96.154% (25/26)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qbytearray.cpp
Lines: 2604-2635
 96.154% (25/26)
258
validateSingleType
Name: validateSingleType
Prototype: static const char *validateSingleType(const char *signature)
Coverage:  96.154% (25/26)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusutil.cpp
Lines: 259-302
 96.154% (25/26)
2210
QMapDataBase
Name: QMapDataBase
Coverage:  96.667% (174/180)
 96.667% (174/180)
18355
buildMetaObject
Name: buildMetaObject
Prototype: static int buildMetaObject(QMetaObjectBuilderPrivate *d, char *buf, int expectedSize, bool relocatable)
Coverage:  96.689% (146/151)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetaobjectbuilder.cpp
Lines: 1172-1476
 96.689% (146/151)
22654
QSqlRecord
Name: QSqlRecord
Coverage:  96.774% (60/62)
 96.774% (60/62)
6342
qt_normalizePathSegments
Name: qt_normalizePathSegments
Prototype: QString qt_normalizePathSegments(const QString &name, bool allowUncPaths)
Coverage:  96.809% (91/94)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 2052-2167
 96.809% (91/94)
6121
curveToFunc
Name: curveToFunc
Prototype: static QEasingCurve::EasingFunction curveToFunc(QEasingCurve::Type curve)
Coverage:  97.059% (66/68)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 944-1017
 97.059% (66/68)
3535
QVariantAnimation
Name: QVariantAnimation
Coverage:  97.143% (34/35)
 97.143% (34/35)
4525
lockInternal_helper
Name: lockInternal_helper
Prototype: template <bool IsTimed> static inline bool lockInternal_helper(QBasicAtomicPointer<QMutexData> &d_ptr, int timeout = -1, QElapsedTimer *elapsedTimer = 0) noexcept
Coverage:  97.143% (34/35)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qmutex_linux.cpp
Lines: 131-175
 97.143% (34/35)
239
qConvertToNumber
Name: qConvertToNumber
Prototype: static qlonglong qConvertToNumber(const QVariant::Private *d, bool *ok)
Coverage:  97.500% (39/40)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 189-242
 97.500% (39/40)
1925
QUrlPrivate
Name: QUrlPrivate
Coverage:  97.590% (405/415)
 97.590% (405/415)
351143
QCryptographicHash
Name: QCryptographicHash
Coverage:  97.674% (84/86)
 97.674% (84/86)
11345
parseIpFuture
Name: parseIpFuture
Prototype: static const QChar *parseIpFuture(QString &host, const QChar *begin, const QChar *end, QUrl::ParsingMode mode)
Coverage:  97.917% (47/48)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 1196-1244
 97.917% (47/48)
2810
extractSections
Name: extractSections
Prototype: static QString extractSections(const QVector<qt_section_chunk> &sections, int start, int end, QString::SectionFlags flags)
Coverage:  98.276% (57/58)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4199-4258
 98.276% (57/58)
4117
QNetworkCookiePrivate
Name: QNetworkCookiePrivate
Coverage:  98.333% (59/60)
 98.333% (59/60)
5721
QDBusDemarshaller
Name: QDBusDemarshaller
Coverage:  98.551% (136/138)
 98.551% (136/138)
12191
QBitArray
Name: QBitArray
Coverage:  98.571% (69/70)
 98.571% (69/70)
8126
QVersionNumber
Name: QVersionNumber
Coverage:  98.901% (90/91)
 98.901% (90/91)
8534
QFileSystemEntry
Name: QFileSystemEntry
Coverage:  99.174% (120/121)
 99.174% (120/121)
11352
CaseInsensitiveLessThan
Name: CaseInsensitiveLessThan
Coverage: 100.000% (1/1)
100.000% (1/1)
11
CreateMagicMatchRuleResult
Name: CreateMagicMatchRuleResult
Coverage: 100.000% (1/1)
100.000% (1/1)
31
DefaultRoleNames
Name: DefaultRoleNames
Coverage: 100.000% (1/1)
100.000% (1/1)
61
DefaultStateTransition
Name: DefaultStateTransition
Coverage: 100.000% (1/1)
100.000% (1/1)
21
DisconnectRelayEvent
Name: DisconnectRelayEvent
Coverage: 100.000% (2/2)
100.000% (2/2)
32
EnterEventChecker
Name: EnterEventChecker
Coverage: 100.000% (10/10)
100.000% (10/10)
84
ExposeCompressor
Name: ExposeCompressor
Coverage: 100.000% (15/15)
100.000% (15/15)
147
GraphicsView
Name: GraphicsView
Coverage: 100.000% (3/3)
100.000% (3/3)
103
HandlersManager
Name: HandlersManager
Coverage: 100.000% (2/2)
100.000% (2/2)
22
NamePredicate
Name: NamePredicate
Coverage: 100.000% (2/2)
100.000% (2/2)
22
OrgA11yStatusInterface
Name: OrgA11yStatusInterface
Coverage: 100.000% (1/1)
100.000% (1/1)
21
PropertyNotifyEvent
Name: PropertyNotifyEvent
Coverage: 100.000% (14/14)
100.000% (14/14)
95
Page:<>1
Condition %:  0.000% (0/41)
...10
Condition %:  0.000% (0/36)
...20
Condition %:  0.000% (0/10)
...30
Condition %:  0.000% (0/1)
...40
Condition %:  58.621% (17/29)
...43
Condition %:  76.190% (80/105)
44
Condition %:  77.778% (7/9)
45
Condition %:  81.818% (9/11)
46
Condition %:  86.928% (133/153)
4748
Condition %: 100.000% (8/8)
49
Condition %: 100.000% (2/2)
50
Condition %: 100.000% (2/2)
51
Condition %: 100.000% (1/1)
...55
Condition %: 100.000% (1/1)

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