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

Functions

Page:<>1
McCabe - Cyclomatic Complexity: 1
...100
McCabe - Cyclomatic Complexity: 1
...200
McCabe - Cyclomatic Complexity: 2
...230
McCabe - Cyclomatic Complexity: 3
...240
McCabe - Cyclomatic Complexity: 4
...250
McCabe - Cyclomatic Complexity: 4
...260
McCabe - Cyclomatic Complexity: 5
261
McCabe - Cyclomatic Complexity: 5
262
McCabe - Cyclomatic Complexity: 5
263
McCabe - Cyclomatic Complexity: 5
264
McCabe - Cyclomatic Complexity: 5
265266
McCabe - Cyclomatic Complexity: 5
267
McCabe - Cyclomatic Complexity: 6
268
McCabe - Cyclomatic Complexity: 6
269
McCabe - Cyclomatic Complexity: 6
270
McCabe - Cyclomatic Complexity: 6
...280
McCabe - Cyclomatic Complexity: 8
...290
McCabe - Cyclomatic Complexity: 10
...300
McCabe - Cyclomatic Complexity: 18
...306
McCabe - Cyclomatic Complexity: 76
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–´
QXcbDrag::handleFinished
Name: QXcbDrag::handleFinished
Prototype: void QXcbDrag::handleFinished(const xcb_client_message_event_t *event)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbdrag.cpp
Lines: 1006-1053
  0.000% (0/13)
115
QXcbDrag::handleStatus
Name: QXcbDrag::handleStatus
Prototype: void QXcbDrag::handleStatus(const xcb_client_message_event_t *event)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbdrag.cpp
Lines: 860-878
  0.000% (0/15)
125
QXcbDropData::xdndObtainData
Name: QXcbDropData::xdndObtainData
Prototype: QVariant QXcbDropData::xdndObtainData(const QByteArray &format, QVariant::Type requestedType) const
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbdrag.cpp
Lines: 1271-1297
  0.000% (0/17)
185
QXcbGlIntegrationFactory::keys
Name: QXcbGlIntegrationFactory::keys
Prototype: QStringList QXcbGlIntegrationFactory::keys(const QString &pluginPath)
Coverage:  0.000% (0/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/gl_integrations/qxcbglintegrationfactory.cpp
Lines: 58-79
  0.000% (0/11)
125
QXcbMime::mimeAtomToString
Name: QXcbMime::mimeAtomToString
Prototype: QString QXcbMime::mimeAtomToString(QXcbConnection *connection, xcb_atom_t a)
Coverage:  64.706% (11/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbmime.cpp
Lines: 66-88
 64.706% (11/17)
125
QXcbMime::mimeAtomsForFormat
Name: QXcbMime::mimeAtomsForFormat
Prototype: QVector<xcb_atom_t> QXcbMime::mimeAtomsForFormat(QXcbConnection *connection, const QString &format)
Coverage:  53.846% (7/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbmime.cpp
Lines: 143-169
 53.846% (7/13)
155
QXcbNativeInterface::nativeResourceForCursor
Name: QXcbNativeInterface::nativeResourceForCursor
Prototype: void *QXcbNativeInterface::nativeResourceForCursor(const QByteArray &resource, const QCursor &cursor)
Coverage:  0.000% (0/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbnativeinterface.cpp
Lines: 293-304
  0.000% (0/11)
55
QXcbScreen::topLevelAt
Name: QXcbScreen::topLevelAt
Prototype: QWindow *QXcbScreen::topLevelAt(const QPoint &p) const
Coverage:  66.667% (10/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbscreen.cpp
Lines: 316-353
 66.667% (10/15)
235
QXcbSoftwareOpenGLEnforcer::QXcbSoftwareOpenGLEnforcer
Name: QXcbSoftwareOpenGLEnforcer::QXcbSoftwareOpenGLEnforcer
Prototype: QXcbSoftwareOpenGLEnforcer()
Coverage:  46.154% (6/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/glxconvenience/qglxconvenience.cpp
Lines: 133-153
 46.154% (6/13)
65
QXcbSystemTrayTracker::visualHasAlphaChannel
Name: QXcbSystemTrayTracker::visualHasAlphaChannel
Prototype: bool QXcbSystemTrayTracker::visualHasAlphaChannel()
Coverage:  46.667% (7/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbsystemtraytracker.cpp
Lines: 176-208
 46.667% (7/15)
195
QXcbWMSupport::updateVirtualRoots
Name: QXcbWMSupport::updateVirtualRoots
Prototype: void QXcbWMSupport::updateVirtualRoots()
Coverage:  13.333% (2/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbwmsupport.cpp
Lines: 92-130
 13.333% (2/15)
215
QXcbWindow::updateNetWmUserTime
Name: QXcbWindow::updateNetWmUserTime
Prototype: void QXcbWindow::updateNetWmUserTime(xcb_timestamp_t timestamp)
Coverage:  80.000% (12/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp
Lines: 1413-1463
 80.000% (12/15)
305
QXcbWindow::~QXcbWindow
Name: QXcbWindow::~QXcbWindow
Prototype: QXcbWindow::~QXcbWindow()
Coverage:  23.077% (3/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp
Lines: 598-611
 23.077% (3/13)
85
QXmlInputSource::next
Name: QXmlInputSource::next
Prototype: QChar QXmlInputSource::next()
Coverage: 100.000% (13/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/xml/sax/qxml.cpp
Lines: 1144-1166
100.000% (13/13)
135
QXmlNamespaceSupport::processName
Name: QXmlNamespaceSupport::processName
Prototype: void QXmlNamespaceSupport::processName(const QString& qname, bool isAttribute, QString& nsuri, QString& localname) const
Coverage:  93.333% (14/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/xml/sax/qxml.cpp
Lines: 612-640
 93.333% (14/15)
135
QXmlSimpleReader::setFeature
Name: QXmlSimpleReader::setFeature
Prototype: void QXmlSimpleReader::setFeature(const QString& name, bool enable)
Coverage:  47.059% (8/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/xml/sax/qxml.cpp
Lines: 2984-3000
 47.059% (8/17)
125
QXmlSimpleReaderPrivate::insertXmlRef
Name: QXmlSimpleReaderPrivate::insertXmlRef
Prototype: bool QXmlSimpleReaderPrivate::insertXmlRef(const QString &data, const QString &name, bool inLiteral)
Coverage:  56.250% (9/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/xml/sax/qxml.cpp
Lines: 7753-7775
 56.250% (9/16)
145
QXmlStreamReaderPrivate::parseEntity
Name: QXmlStreamReaderPrivate::parseEntity
Prototype: void QXmlStreamReaderPrivate::parseEntity(const QString &value)
Coverage: 100.000% (18/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/xml/qxmlstream.cpp
Lines: 861-881
100.000% (18/18)
135
QXmlStreamReaderPrivate::scanAfterDefaultDecl
Name: QXmlStreamReaderPrivate::scanAfterDefaultDecl
Prototype: bool QXmlStreamReaderPrivate::scanAfterDefaultDecl()
Coverage: 100.000% (9/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/xml/qxmlstream.cpp
Lines: 1091-1104
100.000% (9/9)
55
QXmlStreamWriterPrivate::write
Name: QXmlStreamWriterPrivate::write
Prototype: void QXmlStreamWriterPrivate::write(const char *s, int len)
Coverage: 100.000% (13/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/xml/qxmlstream.cpp
Lines: 3114-3127
100.000% (13/13)
85
QXmlStreamWriterPrivate::write
Name: QXmlStreamWriterPrivate::write
Prototype: void QXmlStreamWriterPrivate::write(const QStringRef &s)
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/xml/qxmlstream.cpp
Lines: 3045-3062
 84.615% (11/13)
95
QXmlStreamWriterPrivate::write
Name: QXmlStreamWriterPrivate::write
Prototype: void QXmlStreamWriterPrivate::write(const QString &s)
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/xml/qxmlstream.cpp
Lines: 3064-3081
 84.615% (11/13)
95
QXmlUtils::isNCName
Name: QXmlUtils::isNCName
Prototype: bool QXmlUtils::isNCName(const QStringRef &ncName)
Coverage:  78.947% (15/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/xml/qxmlutils.cpp
Lines: 372-391
 78.947% (15/19)
115
QZipReader::QZipReader
Name: QZipReader::QZipReader
Prototype: QZipReader::QZipReader(const QString &archive, QIODevice::OpenMode mode)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qzip.cpp
Lines: 822-844
  0.000% (0/16)
165
QZipWriter::QZipWriter
Name: QZipWriter::QZipWriter
Prototype: QZipWriter::QZipWriter(const QString &fileName, QIODevice::OpenMode mode)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qzip.cpp
Lines: 1119-1139
  0.000% (0/16)
145
QtConcurrent::ThreadEngineBarrier::acquire
Name: QtConcurrent::ThreadEngineBarrier::acquire
Prototype: void ThreadEngineBarrier::acquire()
Coverage:  54.545% (6/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/concurrent/qtconcurrentthreadengine.cpp
Lines: 51-63
 54.545% (6/11)
75
QtPrivate::QStringList_lastIndexOf
Name: QtPrivate::QStringList_lastIndexOf
Prototype: int QtPrivate::QStringList_lastIndexOf(const QStringList *that, const QRegularExpression &re, int from)
Coverage: 100.000% (13/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstringlist.cpp
Lines: 670-686
100.000% (13/13)
115
QtPrivate::QStringList_removeDuplicates
Name: QtPrivate::QStringList_removeDuplicates
Prototype: int QtPrivate::QStringList_removeDuplicates(QStringList *that)
Coverage: 100.000% (13/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstringlist.cpp
Lines: 701-721
100.000% (13/13)
175
StyleSelector::declarationsForNode
Name: StyleSelector::declarationsForNode
Prototype: QVector<Declaration> StyleSelector::declarationsForNode(NodePtr node, const char *extraPseudo)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2031-2051
  0.000% (0/17)
145
TypeDestructor::DestructorImpl::Destruct
Name: TypeDestructor::DestructorImpl::Destruct
Prototype: static void Destruct(const int type, void *where)
Coverage:  30.769% (4/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 1820-1834
 30.769% (4/13)
85
TypeInfo::TypeInfoImpl::TypeInfoImpl
Name: TypeInfo::TypeInfoImpl::TypeInfoImpl
Prototype: TypeInfoImpl(const uint type, QMetaTypeInterface &info)
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 2223-2235
 84.615% (11/13)
85
ValueExtractor::lengthValue
Name: ValueExtractor::lengthValue
Prototype: LengthData ValueExtractor::lengthValue(const Value& v)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 404-422
  0.000% (0/13)
145
ZoomFactorValidator::validate
Name: ZoomFactorValidator::validate
Prototype: State validate(QString &input, int &pos) const override
Coverage:  31.579% (6/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/printsupport/dialogs/qprintpreviewdialog.cpp
Lines: 91-109
 31.579% (6/19)
145
activeConditions
Name: activeConditions
Prototype: static QSet<QByteArray> activeConditions()
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestblacklist.cpp
Lines: 168-185
 69.231% (9/13)
115
adjustContextSelectionsForCell
Name: adjustContextSelectionsForCell
Prototype: static void adjustContextSelectionsForCell(QAbstractTextDocumentLayout::PaintContext &cell_context, const QTextTableCell &cell, int r, int c, const int *selectedTableCells)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocumentlayout.cpp
Lines: 914-946
  0.000% (0/19)
165
allocateStringFn
Name: allocateStringFn
Prototype: int allocateStringFn(QTestCharBuffer* str, char const* src, StringFormatFunction func)
Coverage:  63.636% (7/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qxmltestlogger.cpp
Lines: 427-452
 63.636% (7/11)
135
arrayContentToJson
Name: arrayContentToJson
Prototype: static void arrayContentToJson(const QJsonPrivate::Array *a, QByteArray &json, int indent, bool compact)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonwriter.cpp
Lines: 161-181
  0.000% (0/15)
115
bestSizeMatch
Name: bestSizeMatch
Prototype: static QPixmapIconEngineEntry *bestSizeMatch( const QSize &size, QPixmapIconEngineEntry *pa, QPixmapIconEngineEntry *pb)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qicon.cpp
Lines: 190-211
  0.000% (0/18)
165
blend_sourceOver_rgb16_rgb16
Name: blend_sourceOver_rgb16_rgb16
Prototype: static inline void blend_sourceOver_rgb16_rgb16(quint16 *__restrict__ dest, const quint16 *__restrict__ src, int length, const quint8 alpha, const quint8 ialpha)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qdrawhelper.cpp
Lines: 4285-4316
  0.000% (0/15)
215
calculatePosixDate
Name: calculatePosixDate
Prototype: static QDate calculatePosixDate(const QByteArray &dateRule, int year)
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp
Lines: 355-379
 69.231% (9/13)
165
candidateSignal
Name: candidateSignal
Prototype: static const char *candidateSignal(int which)
Coverage:  0.000% (0/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/dialogs/qinputdialog.cpp
Lines: 69-80
  0.000% (0/9)
65
checkIfValid
Name: checkIfValid
Prototype: static QDBusError checkIfValid(const QString &service, const QString &path, const QString &interface, bool isDynamic, bool isPeer)
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusabstractinterface.cpp
Lines: 84-105
 84.615% (11/13)
105
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
childWidgets
Name: childWidgets
Prototype: QList<QWidget*> childWidgets(const QWidget *widget)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/accessible/qaccessiblewidgets.cpp
Lines: 76-95
  0.000% (0/19)
155
comp_func_Source_sse2
Name: comp_func_Source_sse2
Prototype: void comp_func_Source_sse2(uint *dst, const uint *src, int length, uint const_alpha)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qdrawhelper_sse2.cpp
Lines: 209-238
  0.000% (0/13)
175
compare
Name: compare
Prototype: template <Edge edge> bool compare(const QPointF &p, qreal t)
Coverage:  0.000% (0/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpathclipper.cpp
Lines: 1938-1952
  0.000% (0/8)
55
computeAngle
Name: computeAngle
Prototype: static double computeAngle(const QPointF &v)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpathclipper.cpp
Lines: 1155-1180
  0.000% (0/13)
125
coordinateMode
Name: coordinateMode
Prototype: static inline QGradient::CoordinateMode coordinateMode(const QBrush &brush)
Coverage:  0.000% (0/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpainter.cpp
Lines: 104-115
  0.000% (0/7)
35
copyActionToPlatformItem
Name: copyActionToPlatformItem
Prototype: static void copyActionToPlatformItem(const QAction *action, QPlatformMenuItem *item, QPlatformMenu *itemsMenu)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmenu.cpp
Lines: 3256-3289
  0.000% (0/14)
245
crc32
Name: crc32
Prototype: template <typename Char> __attribute__((__target__("sse4.2"))) static uint crc32(const Char *ptr, size_t len, uint h)
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp
Lines: 102-139
100.000% (15/15)
165
doCrypt
Name: doCrypt
Prototype: static QByteArray doCrypt(QSslKeyPrivate::Cipher cipher, const QByteArray &data, const QByteArray &key, const QByteArray &iv, int enc)
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslkey_openssl.cpp
Lines: 274-311
100.000% (10/10)
285
drawEllipse_midpoint_i
Name: drawEllipse_midpoint_i
Prototype: static void drawEllipse_midpoint_i(const QRect &rect, const QRect &clip, ProcessSpans pen_func, ProcessSpans brush_func, QSpanData *pen_data, QSpanData *brush_data)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpaintengine_raster.cpp
Lines: 4736-4778
  0.000% (0/14)
275
dumpRecursive
Name: dumpRecursive
Prototype: static void dumpRecursive(int level, QObject *object)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp
Lines: 3944-3979
  0.000% (0/13)
135
embeddedWidget
Name: embeddedWidget
Prototype: static QWidget *embeddedWidget(QWidget *w)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 2329-2351
  0.000% (0/13)
95
encodeEntity
Name: encodeEntity
Prototype: static QByteArray encodeEntity(const QByteArray& str)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/xml/dom/qdom.cpp
Lines: 5692-5723
  0.000% (0/17)
225
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
extendedPseudoClass
Name: extendedPseudoClass
Prototype: static quint64 extendedPseudoClass(const QWidget *w)
Coverage:  0.000% (0/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 2421-2440
  0.000% (0/22)
95
familyList
Name: familyList
Prototype: static QStringList familyList(const QFontDef &req)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontdatabase.cpp
Lines: 693-716
  0.000% (0/19)
155
fileFromPath
Name: fileFromPath
Prototype: static inline QString fileFromPath(const QString &rootPath, QString path)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/dialogs/qfiledialog.cpp
Lines: 1023-1042
  0.000% (0/13)
95
findAllTextureWidgetsRecursively
Name: findAllTextureWidgetsRecursively
Prototype: static void findAllTextureWidgetsRecursively(QWidget *tlw, QWidget *widget)
Coverage:  0.000% (0/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qwidgetbackingstore.cpp
Lines: 991-1009
  0.000% (0/11)
95
findChar
Name: findChar
Prototype: static int findChar(const char *str, int len, char ch, int from)
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qbytearraymatcher.cpp
Lines: 232-246
  0.000% (0/12)
115
findInBlock
Name: findInBlock
Prototype: static bool findInBlock(const QTextBlock &block, const QString &expression, int offset, QTextDocument::FindFlags options, QTextCursor *cursor)
Coverage:  0.000% (0/27)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocument.cpp
Lines: 1257-1288
  0.000% (0/27)
215
findInBlock
Name: findInBlock
Prototype: static bool findInBlock(const QTextBlock &block, const QRegExp &expression, int offset, QTextDocument::FindFlags options, QTextCursor *cursor)
Coverage:  0.000% (0/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocument.cpp
Lines: 1375-1406
  0.000% (0/25)
215
findUnixOsVersion
Name: findUnixOsVersion
Prototype: static bool findUnixOsVersion(QUnixOSVersion &v)
Coverage:  15.385% (2/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp
Lines: 2365-2378
 15.385% (2/13)
95
findXdndAwareParent
Name: findXdndAwareParent
Prototype: static xcb_window_t findXdndAwareParent(QXcbConnection *c, xcb_window_t window)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbdrag.cpp
Lines: 1099-1131
  0.000% (0/15)
255
fixToolBarOrientation
Name: fixToolBarOrientation
Prototype: static void fixToolBarOrientation(QLayoutItem *item, int dockPos)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmainwindowlayout.cpp
Lines: 1897-1927
  0.000% (0/17)
175
fixedCharData
Name: fixedCharData
Prototype: static QString fixedCharData(const QString &data, bool *ok)
Coverage:  15.385% (2/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/xml/dom/qdom.cpp
Lines: 684-704
 15.385% (2/13)
135
generateName
Name: generateName
Prototype: static QTtfTable generateName(const QVector<QTtfNameRecord> &name)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontsubset.cpp
Lines: 651-701
  0.000% (0/13)
345
getFactor
Name: getFactor
Prototype: static QPair<QGraphicsAnchorLayoutPrivate::Interval, qreal> getFactor(qreal value, qreal min, qreal minPref, qreal pref, qreal maxPref, qreal max)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp
Lines: 415-449
  0.000% (0/15)
235
good_offset
Name: good_offset
Prototype: static ShiftResult good_offset(const QBezier *b1, const QBezier *b2, qreal offset, qreal threshold)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qbezier.cpp
Lines: 237-259
  0.000% (0/13)
175
gray_set_cell
Name: gray_set_cell
Prototype: static void gray_set_cell( PWorker worker, TCoord ex, TCoord ey )
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qgrayraster.c
Lines: 455-495
  0.000% (0/19)
155
huntAndUnregister
Name: huntAndUnregister
Prototype: static void huntAndUnregister(const QVector<QStringRef> &pathComponents, int i, QDBusConnection::UnregisterMode mode, QDBusConnectionPrivate::ObjectTreeNode *node)
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintegrator.cpp
Lines: 601-626
100.000% (15/15)
135
iWantTheFocus
Name: iWantTheFocus
Prototype: static QWidget *iWantTheFocus(QWidget *ancestor)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/dialogs/qwizard.cpp
Lines: 99-115
  0.000% (0/15)
105
indexesFromRange
Name: indexesFromRange
Prototype: template<typename ModelIndexContainer> static void indexesFromRange(const QItemSelectionRange &range, ModelIndexContainer &result)
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 311-328
 84.615% (11/13)
75
initFontDef
Name: initFontDef
Prototype: static void initFontDef(const QtFontDesc &desc, const QFontDef &request, QFontDef *fontDef, bool multi)
Coverage:  0.000% (0/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontdatabase.cpp
Lines: 663-691
  0.000% (0/22)
205
initFontUnlocked
Name: initFontUnlocked
Prototype: static void initFontUnlocked()
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/kernel/qguiapplication.cpp
Lines: 233-243
  0.000% (0/12)
75
initializeDb
Name: initializeDb
Prototype: static void initializeDb()
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontdatabase.cpp
Lines: 890-905
  0.000% (0/13)
85
intValueHelper
Name: intValueHelper
Prototype: static bool intValueHelper(const QCss::Value &v, int *i, const char *unit)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 1463-1478
  0.000% (0/15)
125
integralCompare
Name: integralCompare
Prototype: static int integralCompare(uint promotedType, const QVariant::Private *d1, const QVariant::Private *d2)
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 3439-3460
 84.615% (11/13)
155
interpolate
Name: interpolate
Prototype: static qreal interpolate(const QPair<QGraphicsAnchorLayoutPrivate::Interval, qreal> &factor, qreal min, qreal minPref, qreal pref, qreal maxPref, qreal max)
Coverage:  0.000% (0/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp
Lines: 451-477
  0.000% (0/9)
165
isGPUTestBlacklisted
Name: isGPUTestBlacklisted
Prototype: static bool isGPUTestBlacklisted(const char *slot, const char *data = 0)
Coverage:  0.000% (0/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestblacklist.cpp
Lines: 211-222
  0.000% (0/9)
65
isParentPath
Name: isParentPath
Prototype: static inline bool isParentPath(const QString &path, const QString &reference)
Coverage: 100.000% (13/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkcookiejar.cpp
Lines: 139-156
100.000% (13/13)
85
lastIndexOfMutating
Name: lastIndexOfMutating
Prototype: static int lastIndexOfMutating(const QStringList *that, QRegExp &rx, int from)
Coverage: 100.000% (13/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstringlist.cpp
Lines: 537-548
100.000% (13/13)
85
lineIntersectsRect
Name: lineIntersectsRect
Prototype: static bool lineIntersectsRect(qfixed2d p1, qfixed2d p2, const qfixed2d &tl, const qfixed2d &br)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qstroker.cpp
Lines: 1067-1100
  0.000% (0/16)
175
methodIndexToSignalIndex
Name: methodIndexToSignalIndex
Prototype: static int methodIndexToSignalIndex(const QMetaObject **base, int signal_index)
Coverage:  87.500% (14/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp
Lines: 3196-3214
 87.500% (14/16)
135
minimumHeightForWidth
Name: minimumHeightForWidth
Prototype: static qreal minimumHeightForWidth(qreal width, qreal minh, qreal maxh, const QGraphicsWidget *widget, bool heightForWidth = true)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/graphicsview/qgraphicswidget_p.cpp
Lines: 423-453
  0.000% (0/18)
185
msecsToTime
Name: msecsToTime
Prototype: static void msecsToTime(qint64 msecs, QDate *date, QTime *time)
Coverage: 100.000% (14/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 2416-2439
100.000% (14/14)
155
native_sub_image
Name: native_sub_image
Prototype: static QImage native_sub_image(QByteArray *buffer, const int dstStride, const QImage &src, const QRect &rect, bool swap)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp
Lines: 330-351
  0.000% (0/16)
115
nextField
Name: nextField
Prototype: static QPair<QByteArray, QByteArray> nextField(const QByteArray &text, int &position, bool isNameValue)
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkcookie.cpp
Lines: 384-412
100.000% (15/15)
175
nextGeometryToken
Name: nextGeometryToken
Prototype: static inline int nextGeometryToken(const QByteArray &a, int &pos, char *op)
Coverage:  0.000% (0/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/kernel/qguiapplication.cpp
Lines: 269-290
  0.000% (0/20)
155
numericTypePromotion
Name: numericTypePromotion
Prototype: static int numericTypePromotion(uint t1, uint t2)
Coverage: 100.000% (21/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 3393-3437
100.000% (21/21)
155
objectContentToJson
Name: objectContentToJson
Prototype: static void objectContentToJson(const QJsonPrivate::Object *o, QByteArray &json, int indent, bool compact)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonwriter.cpp
Lines: 184-208
  0.000% (0/17)
155
operator*
Name: operator*
Prototype: QVariant operator*(const QVariant &arg1, double multiplier)
Coverage:  0.000% (0/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qabstractspinbox.cpp
Lines: 2011-2033
  0.000% (0/9)
145
operator/
Name: operator/
Prototype: double operator/(const QVariant &arg1, const QVariant &arg2)
Coverage:  0.000% (0/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qabstractspinbox.cpp
Lines: 2037-2060
  0.000% (0/9)
155
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
 40.000% (4/10)
135
operator<<
Name: operator<<
Prototype: QDataStream &operator<<(QDataStream &out, const QString &str)
Coverage:  75.000% (12/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 8686-8709
 75.000% (12/16)
135
operator<<
Name: operator<<
Prototype: QDataStream &operator<<(QDataStream &s, const QRegion &r)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qregion.cpp
Lines: 396-418
  0.000% (0/14)
145
operator<<
Name: operator<<
Prototype: QDebug operator<<(QDebug d, const QAction *action)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qaction.cpp
Lines: 1307-1328
  0.000% (0/14)
175
operator<<
Name: operator<<
Prototype: QDebug operator<<(QDebug dbg, const QVariant &v)
Coverage: 100.000% (16/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 3614-3636
100.000% (16/16)
175
operator>>
Name: operator>>
Prototype: static inline QDataStream &operator>>(QDataStream &in, QNetworkCacheMetaData::AttributesMap &hash)
Coverage:  53.846% (7/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qabstractnetworkcache.cpp
Lines: 369-394
 53.846% (7/13)
185
Page:<>1
McCabe - Cyclomatic Complexity: 1
...100
McCabe - Cyclomatic Complexity: 1
...200
McCabe - Cyclomatic Complexity: 2
...230
McCabe - Cyclomatic Complexity: 3
...240
McCabe - Cyclomatic Complexity: 4
...250
McCabe - Cyclomatic Complexity: 4
...260
McCabe - Cyclomatic Complexity: 5
261
McCabe - Cyclomatic Complexity: 5
262
McCabe - Cyclomatic Complexity: 5
263
McCabe - Cyclomatic Complexity: 5
264
McCabe - Cyclomatic Complexity: 5
265266
McCabe - Cyclomatic Complexity: 5
267
McCabe - Cyclomatic Complexity: 6
268
McCabe - Cyclomatic Complexity: 6
269
McCabe - Cyclomatic Complexity: 6
270
McCabe - Cyclomatic Complexity: 6
...280
McCabe - Cyclomatic Complexity: 8
...290
McCabe - Cyclomatic Complexity: 10
...300
McCabe - Cyclomatic Complexity: 18
...306
McCabe - Cyclomatic Complexity: 76

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