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

Functions

Page:<>1
McCabe - Cyclomatic Complexity: 439
...3
McCabe - Cyclomatic Complexity: 32
4
McCabe - Cyclomatic Complexity: 27
5
McCabe - Cyclomatic Complexity: 23
6
McCabe - Cyclomatic Complexity: 20
78
McCabe - Cyclomatic Complexity: 17
9
McCabe - Cyclomatic Complexity: 16
10
McCabe - Cyclomatic Complexity: 15
11
McCabe - Cyclomatic Complexity: 14
...20
McCabe - Cyclomatic Complexity: 9
...30
McCabe - Cyclomatic Complexity: 7
...100
McCabe - Cyclomatic Complexity: 2
...200
McCabe - Cyclomatic Complexity: 1
...306
McCabe - Cyclomatic Complexity: 1
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
init_platform
Name: init_platform
Prototype: static void init_platform(const QString &pluginArgument, const QString &platformPluginPath, const QString &platformThemeName, int &argc, char **argv)
Coverage:  0.000% (0/42)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/kernel/qguiapplication.cpp
Lines: 1094-1183
  0.000% (0/42)
4118
drawLineAA
Name: drawLineAA
Prototype: template<DrawPixel drawPixel, class Dasher> static bool drawLineAA(QCosmeticStroker *stroker, qreal rx1, qreal ry1, qreal rx2, qreal ry2, int caps)
Coverage:  0.000% (0/59)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qcosmeticstroker.cpp
Lines: 905-1046
  0.000% (0/59)
9018
do_mirror
Name: do_mirror
Prototype: inline void do_mirror(QImageData *dst, QImageData *src, bool horizontal, bool vertical)
Coverage:  0.000% (0/51)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qimage.cpp
Lines: 3018-3096
  0.000% (0/51)
4718
cursorIdForShape
Name: cursorIdForShape
Prototype: static int cursorIdForShape(int cshape)
Coverage:  57.576% (19/33)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbcursor.cpp
Lines: 385-437
 57.576% (19/33)
3218
blend_tiled_rgb565
Name: blend_tiled_rgb565
Prototype: static void blend_tiled_rgb565(int count, const QSpan *spans, void *userData)
Coverage:  0.000% (0/57)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qdrawhelper.cpp
Lines: 4520-4616
  0.000% (0/57)
7018
QZipPrivate::fillFileInfo
Name: QZipPrivate::fillFileInfo
Prototype: QZipReader::FileInfo QZipPrivate::fillFileInfo(int index) const
Coverage:  0.000% (0/42)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qzip.cpp
Lines: 444-507
  0.000% (0/42)
4018
QXmlTestLogger::xmlQuote
Name: QXmlTestLogger::xmlQuote
Prototype: int QXmlTestLogger::xmlQuote(QTestCharBuffer* destBuf, char const* src, size_t n)
Coverage:  63.265% (31/49)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qxmltestlogger.cpp
Lines: 316-370
 63.265% (31/49)
2218
QXmlStreamReaderPrivate::fastScanLiteralContent
Name: QXmlStreamReaderPrivate::fastScanLiteralContent
Prototype: inline int QXmlStreamReaderPrivate::fastScanLiteralContent()
Coverage:  88.235% (30/34)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/xml/qxmlstream.cpp
Lines: 1145-1193
 88.235% (30/34)
2418
QXcbWindow::handleClientMessageEvent
Name: QXcbWindow::handleClientMessageEvent
Prototype: void QXcbWindow::handleClientMessageEvent(const xcb_client_message_event_t *event)
Coverage:  42.188% (27/64)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbwindow.cpp
Lines: 2029-2093
 42.188% (27/64)
4718
QXcbIntegration::styleHint
Name: QXcbIntegration::styleHint
Prototype: QVariant QXcbIntegration::styleHint(QPlatformIntegration::StyleHint hint) const
Coverage:  66.667% (20/30)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbintegration.cpp
Lines: 378-417
 66.667% (20/30)
1418
QXcbConnection::QXcbConnection
Name: QXcbConnection::QXcbConnection
Prototype: QXcbConnection::QXcbConnection(QXcbNativeInterface *nativeInterface, bool canGrabServer, xcb_visualid_t defaultVisualId, const char *displayName)
Coverage:  44.444% (24/54)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp
Lines: 554-681
 44.444% (24/54)
6518
QXcbClipboard::handleSelectionRequest
Name: QXcbClipboard::handleSelectionRequest
Prototype: void QXcbClipboard::handleSelectionRequest(xcb_selection_request_event_t *req)
Coverage:  60.606% (40/66)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 603-724
 60.606% (40/66)
8018
QWidgetTextControlPrivate::mouseMoveEvent
Name: QWidgetTextControlPrivate::mouseMoveEvent
Prototype: void QWidgetTextControlPrivate::mouseMoveEvent(QEvent *e, Qt::MouseButton button, const QPointF &mousePos, Qt::KeyboardModifiers modifiers, Qt::MouseButtons buttons, const QPoint &globalPos)
Coverage:  0.000% (0/67)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qwidgettextcontrol.cpp
Lines: 1689-1776
  0.000% (0/67)
5218
QVariant::compare
Name: QVariant::compare
Prototype: int QVariant::compare(const QVariant &v) const
Coverage:  96.296% (52/54)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 3512-3572
 96.296% (52/54)
3518
QUnsortedModelEngine::buildIndices
Name: QUnsortedModelEngine::buildIndices
Prototype: int QUnsortedModelEngine::buildIndices(const QString& str, const QModelIndex& parent, int n, const QIndexMapper& indices, QMatchData* m)
Coverage:  0.000% (0/40)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/util/qcompleter.cpp
Lines: 699-747
  0.000% (0/40)
2818
QTreeViewPrivate::layout
Name: QTreeViewPrivate::layout
Prototype: void QTreeViewPrivate::layout(int i, bool recursiveExpanding, bool afterIsUninitialized)
Coverage:  0.000% (0/67)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtreeview.cpp
Lines: 3306-3397
  0.000% (0/67)
6518
QTextList::itemText
Name: QTextList::itemText
Prototype: QString QTextList::itemText(const QTextBlock &blockIt) const
Coverage:  0.000% (0/49)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextlist.cpp
Lines: 180-275
  0.000% (0/49)
5018
QTextHtmlImporter::appendNodeText
Name: QTextHtmlImporter::appendNodeText
Prototype: bool QTextHtmlImporter::appendNodeText()
Coverage:  0.000% (0/63)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocumentfragment.cpp
Lines: 558-645
  0.000% (0/63)
5518
QTabBar::paintEvent
Name: QTabBar::paintEvent
Prototype: void QTabBar::paintEvent(QPaintEvent *)
Coverage:  0.000% (0/74)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 1680-1776
  0.000% (0/74)
6318
QSysInfo::currentCpuArchitecture
Name: QSysInfo::currentCpuArchitecture
Prototype: QString QSysInfo::currentCpuArchitecture()
Coverage:  29.167% (14/48)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp
Lines: 2450-2525
 29.167% (14/48)
2018
QStateMachinePrivate::enterStates
Name: QStateMachinePrivate::enterStates
Prototype: void QStateMachinePrivate::enterStates(QEvent *event, const QList<QAbstractState*> &exitedStates_sorted, const QList<QAbstractState*> &statesToEnter_sorted, const QSet<QAbstractState*> &statesForDefaultEntry, QHash<QAbstractState*, QVector<QPropertyAssignment> > &propertyAssignmentsForState , const QList<QAbstractAnimation *> &selectedAnimations )
Coverage:  92.424% (61/66)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 944-1061
 92.424% (61/66)
5818
QStandardItemModel::dropMimeData
Name: QStandardItemModel::dropMimeData
Prototype: bool QStandardItemModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
Coverage:  0.000% (0/58)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/itemmodels/qstandarditemmodel.cpp
Lines: 3084-3198
  0.000% (0/58)
7518
QSplitterPrivate::recalc
Name: QSplitterPrivate::recalc
Prototype: void QSplitterPrivate::recalc(bool update)
Coverage:  0.000% (0/57)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qsplitter.cpp
Lines: 391-478
  0.000% (0/57)
5618
QSortFilterProxyModelPrivate::source_items_inserted
Name: QSortFilterProxyModelPrivate::source_items_inserted
Prototype: void QSortFilterProxyModelPrivate::source_items_inserted( const QModelIndex &source_parent, int start, int end, Qt::Orientation orient)
Coverage:  74.286% (52/70)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 740-833
 74.286% (52/70)
5718
QSettingsPrivate::variantToString
Name: QSettingsPrivate::variantToString
Prototype: QString QSettingsPrivate::variantToString(const QVariant &v)
Coverage:  84.375% (27/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 394-473
 84.375% (27/32)
4018
QSettingsPrivate::iniEscapedString
Name: QSettingsPrivate::iniEscapedString
Prototype: void QSettingsPrivate::iniEscapedString(const QString &str, QByteArray &result, QTextCodec *codec)
Coverage:  98.592% (70/71)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qsettings.cpp
Lines: 616-695
 98.592% (70/71)
5118
QScrollerPrivate::createScrollingSegments
Name: QScrollerPrivate::createScrollingSegments
Prototype: void QScrollerPrivate::createScrollingSegments(qreal v, qreal startPos, qreal deltaTime, qreal deltaPos, Qt::Orientation orientation)
Coverage:  0.000% (0/91)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/util/qscroller.cpp
Lines: 1259-1400
  0.000% (0/91)
7818
QRegExpMatchState::testAnchor
Name: QRegExpMatchState::testAnchor
Prototype: bool QRegExpMatchState::testAnchor(int i, int a, const int *capBegin)
Coverage:  91.071% (51/56)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp
Lines: 1808-1867
 91.071% (51/56)
3718
QPainter::drawStaticText
Name: QPainter::drawStaticText
Prototype: void QPainter::drawStaticText(const QPointF &topLeftPosition, const QStaticText &staticText)
Coverage:  0.000% (0/72)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpainter.cpp
Lines: 5723-5836
  0.000% (0/72)
7218
QPainter::drawPixmap
Name: QPainter::drawPixmap
Prototype: void QPainter::drawPixmap(const QRectF &r, const QPixmap &pm, const QRectF &sr)
Coverage:  0.000% (0/85)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpainter.cpp
Lines: 5121-5253
  0.000% (0/85)
8218
QOpenGLFunctions_4_4_Core::~QOpenGLFunctions_4_4_Core
Name: QOpenGLFunctions_4_4_Core::~QOpenGLFunctions_4_4_Core
Prototype: QOpenGLFunctions_4_4_Core::~QOpenGLFunctions_4_4_Core()
Coverage:  0.000% (0/52)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qopenglfunctions_4_4_core.cpp
Lines: 90-143
  0.000% (0/52)
5118
QNetworkReplyHttpImplPrivate::replyDownloadMetaData
Name: QNetworkReplyHttpImplPrivate::replyDownloadMetaData
Prototype: void QNetworkReplyHttpImplPrivate::replyDownloadMetaData(const QList<QPair<QByteArray,QByteArray> > &hm, int sc, const QString &rp, bool pu, QSharedPointer<char> db, qint64 contentLength, bool spdyWasUsed)
Coverage:  62.069% (36/58)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkreplyhttpimpl.cpp
Lines: 1153-1248
 62.069% (36/58)
5618
QNetworkReplyHttpImplPrivate::loadFromCacheIfAllowed
Name: QNetworkReplyHttpImplPrivate::loadFromCacheIfAllowed
Prototype: bool QNetworkReplyHttpImplPrivate::loadFromCacheIfAllowed(QHttpNetworkRequest &httpRequest)
Coverage:  83.636% (46/55)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkreplyhttpimpl.cpp
Lines: 454-576
 83.636% (46/55)
6718
QMatrix4x4::inverted
Name: QMatrix4x4::inverted
Prototype: QMatrix4x4 QMatrix4x4::inverted(bool *invertible) const
Coverage:  0.000% (0/56)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/math3d/qmatrix4x4.cpp
Lines: 409-519
  0.000% (0/56)
9218
QLocalServerPrivate::listen
Name: QLocalServerPrivate::listen
Prototype: bool QLocalServerPrivate::listen(const QString &requestedServerName)
Coverage:  69.091% (38/55)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalserver_unix.cpp
Lines: 81-194
 69.091% (38/55)
7318
QLayout::activate
Name: QLayout::activate
Prototype: bool QLayout::activate()
Coverage:  0.000% (0/54)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qlayout.cpp
Lines: 1062-1131
  0.000% (0/54)
5018
QItemSelectionModel::isRowSelected
Name: QItemSelectionModel::isRowSelected
Prototype: bool QItemSelectionModel::isRowSelected(int row, const QModelIndex &parent) const
Coverage:  76.190% (48/63)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1437-1489
 76.190% (48/63)
3718
QImage::createHeuristicMask
Name: QImage::createHeuristicMask
Prototype: QImage QImage::createHeuristicMask(bool clipTight) const
Coverage:  0.000% (0/82)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qimage.cpp
Lines: 2838-2928
  0.000% (0/82)
6518
QHttpNetworkConnectionPrivate::removeReply
Name: QHttpNetworkConnectionPrivate::removeReply
Prototype: void QHttpNetworkConnectionPrivate::removeReply(QHttpNetworkReply *reply)
Coverage:  66.071% (37/56)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 884-974
 66.071% (37/56)
4518
QHttpNetworkConnectionPrivate::prepareRequest
Name: QHttpNetworkConnectionPrivate::prepareRequest
Prototype: void QHttpNetworkConnectionPrivate::prepareRequest(HttpMessagePair &messagePair)
Coverage:  78.689% (48/61)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 255-356
 78.689% (48/61)
5318
QHttpNetworkConnectionPrivate::fillPipeline
Name: QHttpNetworkConnectionPrivate::fillPipeline
Prototype: void QHttpNetworkConnectionPrivate::fillPipeline(QAbstractSocket *socket)
Coverage:  75.000% (48/64)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 712-792
 75.000% (48/64)
4618
QGraphicsScenePrivate::setActivePanelHelper
Name: QGraphicsScenePrivate::setActivePanelHelper
Prototype: void QGraphicsScenePrivate::setActivePanelHelper(QGraphicsItem *item, bool duringActivationEvent)
Coverage:  0.000% (0/68)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/graphicsview/qgraphicsscene.cpp
Lines: 734-812
  0.000% (0/68)
4718
QGraphicsSceneIndexPrivate::recursive_items_helper
Name: QGraphicsSceneIndexPrivate::recursive_items_helper
Prototype: void QGraphicsSceneIndexPrivate::recursive_items_helper(QGraphicsItem *item, QRectF exposeRect, QGraphicsSceneIndexIntersector intersect, QList<QGraphicsItem *> *items, const QTransform &viewTransform, Qt::ItemSelectionMode mode, qreal parentOpacity, const void *intersectData) const
Coverage:  0.000% (0/76)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/graphicsview/qgraphicssceneindex.cpp
Lines: 254-335
  0.000% (0/76)
5218
QGraphicsItem::~QGraphicsItem
Name: QGraphicsItem::~QGraphicsItem
Prototype: QGraphicsItem::~QGraphicsItem()
Coverage:  0.000% (0/54)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/graphicsview/qgraphicsitem.cpp
Lines: 1503-1576
  0.000% (0/54)
4518
QFutureWatcherBasePrivate::sendCallOutEvent
Name: QFutureWatcherBasePrivate::sendCallOutEvent
Prototype: void QFutureWatcherBasePrivate::sendCallOutEvent(QFutureCallOutEvent *event)
Coverage:  85.714% (36/42)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qfuturewatcher.cpp
Lines: 432-490
 85.714% (36/42)
3918
QFontEngine::loadKerningPairs
Name: QFontEngine::loadKerningPairs
Prototype: void QFontEngine::loadKerningPairs(QFixed scalingFactor)
Coverage:  0.000% (0/52)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine.cpp
Lines: 1120-1208
  0.000% (0/52)
5218
QFontDatabase::load
Name: QFontDatabase::load
Prototype: void QFontDatabase::load(const QFontPrivate *d, int script)
Coverage:  0.000% (0/58)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontdatabase.cpp
Lines: 2725-2816
  0.000% (0/58)
5018
QFileSystemModel::data
Name: QFileSystemModel::data
Prototype: QVariant QFileSystemModel::data(const QModelIndex &index, int role) const
Coverage:  0.000% (0/41)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/dialogs/qfilesystemmodel.cpp
Lines: 704-751
  0.000% (0/41)
2818
QFSFileEngine::fileFlags
Name: QFSFileEngine::fileFlags
Prototype: QAbstractFileEngine::FileFlags QFSFileEngine::fileFlags(FileFlags type) const
Coverage:  64.286% (36/56)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfsfileengine_unix.cpp
Lines: 528-597
 64.286% (36/56)
4518
QEGLPlatformContext::updateFormatFromGL
Name: QEGLPlatformContext::updateFormatFromGL
Prototype: void QEGLPlatformContext::updateFormatFromGL()
Coverage:  0.000% (0/57)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/eglconvenience/qeglplatformcontext.cpp
Lines: 293-374
  0.000% (0/57)
5118
QDomNodePrivate::insertBefore
Name: QDomNodePrivate::insertBefore
Prototype: QDomNodePrivate* QDomNodePrivate::insertBefore(QDomNodePrivate* newChild, QDomNodePrivate* refChild)
Coverage:  0.000% (0/57)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/xml/dom/qdom.cpp
Lines: 1518-1611
  0.000% (0/57)
5518
QDomNodePrivate::insertAfter
Name: QDomNodePrivate::insertAfter
Prototype: QDomNodePrivate* QDomNodePrivate::insertAfter(QDomNodePrivate* newChild, QDomNodePrivate* refChild)
Coverage:  29.825% (17/57)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/xml/dom/qdom.cpp
Lines: 1613-1707
 29.825% (17/57)
5518
QDomNodeListPrivate::createList
Name: QDomNodeListPrivate::createList
Prototype: void QDomNodeListPrivate::createList()
Coverage:  0.000% (0/76)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/xml/dom/qdom.cpp
Lines: 1186-1238
  0.000% (0/76)
3618
QDateTimeParser::findAmPm
Name: QDateTimeParser::findAmPm
Prototype: QDateTimeParser::AmPmFinder QDateTimeParser::findAmPm(QString &str, int sectionIndex, int *used) const
Coverage:  51.667% (31/60)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetimeparser.cpp
Lines: 1379-1454
 51.667% (31/60)
4518
QCoreApplicationPrivate::sendPostedEvents
Name: QCoreApplicationPrivate::sendPostedEvents
Prototype: void QCoreApplicationPrivate::sendPostedEvents(QObject *receiver, int event_type, QThreadData *data)
Coverage:  88.750% (71/80)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp
Lines: 1506-1657
 88.750% (71/80)
6618
QComboBoxPrivateContainer::eventFilter
Name: QComboBoxPrivateContainer::eventFilter
Prototype: bool QComboBoxPrivateContainer::eventFilter(QObject *o, QEvent *e)
Coverage:  0.000% (0/63)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qcombobox.cpp
Lines: 660-727
  0.000% (0/63)
4118
QAbstractButtonPrivate::moveFocus
Name: QAbstractButtonPrivate::moveFocus
Prototype: void QAbstractButtonPrivate::moveFocus(int key)
Coverage:  0.000% (0/87)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qabstractbutton.cpp
Lines: 242-331
  0.000% (0/87)
5618
Parser::until
Name: Parser::until
Prototype: bool Parser::until(QCss::TokenType target, QCss::TokenType target2)
Coverage:  0.000% (0/50)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2768-2806
  0.000% (0/50)
2718
qt_xcb_pixmapFromXPixmap
Name: 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
 29.412% (15/51)
4917
qt_messageSourceToString
Name: qt_messageSourceToString
Prototype: static QString qt_messageSourceToString(QOpenGLDebugMessage::Source source)
Coverage:  0.000% (0/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qopengldebug.cpp
Lines: 666-689
  0.000% (0/25)
317
qt_idForPointSize
Name: qt_idForPointSize
Prototype: static QPageSize::PageSizeId qt_idForPointSize(const QSize &size, QPageSize::SizeMatchPolicy matchPolicy, QSize *match)
Coverage:  0.000% (0/65)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpagesize.cpp
Lines: 610-673
  0.000% (0/65)
3617
qt_blend_rgb16_on_rgb16
Name: qt_blend_rgb16_on_rgb16
Prototype: void qt_blend_rgb16_on_rgb16(uchar *dst, int dbpl, const uchar *src, int sbpl, int w, int h, int const_alpha)
Coverage:  0.000% (0/41)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qblendfunctions.cpp
Lines: 179-217
  0.000% (0/41)
2117
q_reduceConfigAttributes
Name: q_reduceConfigAttributes
Prototype: bool q_reduceConfigAttributes(QVector<EGLint> *configAttributes)
Coverage:  0.000% (0/52)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/eglconvenience/qeglconvenience.cpp
Lines: 118-218
  0.000% (0/52)
5417
qDrawShadeLine
Name: qDrawShadeLine
Prototype: void qDrawShadeLine(QPainter *p, int x1, int y1, int x2, int y2, const QPalette &pal, bool sunken, int lineWidth, int midLineWidth)
Coverage:  0.000% (0/52)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qdrawutil.cpp
Lines: 92-170
  0.000% (0/52)
6017
pseudoClass
Name: pseudoClass
Prototype: static quint64 pseudoClass(QStyle::State state)
Coverage:  0.000% (0/52)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 1659-1706
  0.000% (0/52)
3717
operator<<
Name: operator<<
Prototype: QDebug operator<<(QDebug debug, QDir::Filters filters)
Coverage:  0.000% (0/50)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 2307-2333
  0.000% (0/50)
2217
name_to_month
Name: 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
 36.364% (12/33)
2117
find_translation
Name: find_translation
Prototype: static QString find_translation(const QLocale & locale, const QString & filename, const QString & prefix, const QString & directory, const QString & suffix)
Coverage:  0.000% (0/47)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qtranslator.cpp
Lines: 632-723
  0.000% (0/47)
5317
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
dockPosHelper
Name: dockPosHelper
Prototype: static QInternal::DockPosition dockPosHelper(const QRect &rect, const QPoint &_pos, Qt::Orientation o, bool nestingEnabled, QDockAreaLayoutInfo::TabMode tabMode)
Coverage:  0.000% (0/53)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qdockarealayout.cpp
Lines: 643-743
  0.000% (0/53)
4017
comp_func_SourceOver_sse2
Name: comp_func_SourceOver_sse2
Prototype: void comp_func_SourceOver_sse2(uint *destPixels, const uint *srcPixels, int length, uint const_alpha)
Coverage:  0.000% (0/49)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qdrawhelper_sse2.cpp
Lines: 141-159
  0.000% (0/49)
1217
bm_find
Name: bm_find
Prototype: static inline int bm_find(const ushort *uc, uint l, int index, const ushort *puc, uint pl, const uchar *skiptable, Qt::CaseSensitivity cs)
Coverage: 100.000% (50/50)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstringmatcher.cpp
Lines: 63-121
100.000% (50/50)
3717
SegmentTree::intersectLines
Name: SegmentTree::intersectLines
Prototype: void SegmentTree::intersectLines(const QLineF &a, const QLineF &b, QDataBuffer<QIntersection> &intersections)
Coverage:  0.000% (0/82)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpathclipper.cpp
Lines: 389-509
  0.000% (0/82)
8017
QtPrivate::QPixelFormat_createYUV
Name: QtPrivate::QPixelFormat_createYUV
Prototype: QPixelFormat QPixelFormat_createYUV(QPixelFormat::YUVLayout yuvLayout, uchar alphaSize, QPixelFormat::AlphaUsage alphaUsage, QPixelFormat::AlphaPosition alphaPosition, QPixelFormat::AlphaPremultiplied premultiplied, QPixelFormat::TypeInterpretation typeInterpretation, QPixelFormat::ByteOrder byteOrder)
Coverage:  0.000% (0/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/kernel/qpixelformat.cpp
Lines: 528-582
  0.000% (0/25)
2817
Qt::mightBeRichText
Name: Qt::mightBeRichText
Prototype: bool Qt::mightBeRichText(const QString& text)
Coverage:  0.000% (0/77)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocument.cpp
Lines: 87-143
  0.000% (0/77)
3817
QXcbNativeInterface::nativeResourceForScreen
Name: QXcbNativeInterface::nativeResourceForScreen
Prototype: void *QXcbNativeInterface::nativeResourceForScreen(const QByteArray &resourceString, QScreen *screen)
Coverage:  17.073% (7/41)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbnativeinterface.cpp
Lines: 204-259
 17.073% (7/41)
3517
QWidgetPrivate::subtractOpaqueSiblings
Name: QWidgetPrivate::subtractOpaqueSiblings
Prototype: void QWidgetPrivate::subtractOpaqueSiblings(QRegion &sourceRegion, bool *hasDirtySiblingsAbove, bool alsoNonOpaque) const
Coverage:  0.000% (0/64)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qwidget.cpp
Lines: 2194-2283
  0.000% (0/64)
5917
QWidget::restoreGeometry
Name: QWidget::restoreGeometry
Prototype: bool QWidget::restoreGeometry(const QByteArray &geometry)
Coverage:  0.000% (0/59)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qwidget.cpp
Lines: 7392-7527
  0.000% (0/59)
7217
QUtf16::convertToUnicode
Name: QUtf16::convertToUnicode
Prototype: QString QUtf16::convertToUnicode(const char *chars, int len, QTextCodec::ConverterState *state, DataEndianness e)
Coverage:  94.643% (53/56)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/codecs/qutfcodec.cpp
Lines: 484-557
 94.643% (53/56)
5217
QUrlPrivate::parse
Name: QUrlPrivate::parse
Prototype: inline void QUrlPrivate::parse(const QString &url, QUrl::ParsingMode parsingMode)
Coverage:  96.923% (63/65)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 1369-1470
 96.923% (63/65)
5617
QUnicodeTools::getSentenceBreaks
Name: QUnicodeTools::getSentenceBreaks
Prototype: static void getSentenceBreaks(const ushort *string, quint32 len, QCharAttributes *attributes)
Coverage:  67.500% (27/40)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qunicodetools.cpp
Lines: 288-346
 67.500% (27/40)
3517
QTzTimeZonePrivate::systemTimeZoneId
Name: QTzTimeZonePrivate::systemTimeZoneId
Prototype: QByteArray QTzTimeZonePrivate::systemTimeZoneId() const
Coverage:  26.531% (13/49)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp
Lines: 1002-1061
 26.531% (13/49)
2717
QTriangulator::ComplexToSimple::removeUnwantedEdgesAndConnect
Name: QTriangulator::ComplexToSimple::removeUnwantedEdgesAndConnect
Prototype: template <typename T> void QTriangulator<T>::ComplexToSimple::removeUnwantedEdgesAndConnect()
Coverage:  0.000% (0/61)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qtriangulator.cpp
Lines: 1456-1593
  0.000% (0/61)
8017
QTreeView::sizeHintForColumn
Name: QTreeView::sizeHintForColumn
Prototype: int QTreeView::sizeHintForColumn(int column) const
Coverage:  0.000% (0/64)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtreeview.cpp
Lines: 2855-2935
  0.000% (0/64)
5917
QTranslatorPrivate::do_load
Name: QTranslatorPrivate::do_load
Prototype: bool QTranslatorPrivate::do_load(const uchar *data, int len, const QString &directory)
Coverage:  63.158% (36/57)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qtranslator.cpp
Lines: 818-895
 63.158% (36/57)
5817
QToolButtonPrivate::popupTimerDone
Name: QToolButtonPrivate::popupTimerDone
Prototype: void QToolButtonPrivate::popupTimerDone()
Coverage:  0.000% (0/61)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtoolbutton.cpp
Lines: 719-807
  0.000% (0/61)
6217
QTextDocumentLayoutPrivate::hitTest
Name: QTextDocumentLayoutPrivate::hitTest
Prototype: QTextDocumentLayoutPrivate::HitPoint QTextDocumentLayoutPrivate::hitTest(QTextFrame *frame, const QFixedPoint &point, int *position, QTextLayout **l, Qt::HitTestAccuracy accuracy) const
Coverage:  0.000% (0/64)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocumentlayout.cpp
Lines: 593-683
  0.000% (0/64)
5317
QTabBarPrivate::initBasicStyleOption
Name: QTabBarPrivate::initBasicStyleOption
Prototype: void QTabBarPrivate::initBasicStyleOption(QStyleOptionTab *option, int tabIndex) const
Coverage:  0.000% (0/83)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 148-221
  0.000% (0/83)
5117
QTabBar::moveTab
Name: QTabBar::moveTab
Prototype: void QTabBar::moveTab(int from, int to)
Coverage:  0.000% (0/65)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 1799-1878
  0.000% (0/65)
5417
QStyleSheetStyle::hitTestComplexControl
Name: QStyleSheetStyle::hitTestComplexControl
Prototype: QStyle::SubControl QStyleSheetStyle::hitTestComplexControl(ComplexControl cc, const QStyleOptionComplex *opt, const QPoint &pt, const QWidget *w) const
Coverage:  0.000% (0/50)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 4546-4596
  0.000% (0/50)
2817
QString::section
Name: QString::section
Prototype: QString QString::section(const QString &sep, int start, int end, SectionFlags flags) const
Coverage:  98.333% (59/60)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4141-4187
 98.333% (59/60)
3817
QShortcutMap::find
Name: QShortcutMap::find
Prototype: QKeySequence::SequenceMatch QShortcutMap::find(QKeyEvent *e, int ignoredModifiers)
Coverage:  0.000% (0/54)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/kernel/qshortcutmap.cpp
Lines: 432-522
  0.000% (0/54)
5517
QScroller::ensureVisible
Name: QScroller::ensureVisible
Prototype: void QScroller::ensureVisible(const QRectF &rect, qreal xmargin, qreal ymargin, int scrollTime)
Coverage:  0.000% (0/53)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/util/qscroller.cpp
Lines: 739-803
  0.000% (0/53)
4017
QRegExpEngine::parseAtom
Name: QRegExpEngine::parseAtom
Prototype: void QRegExpEngine::parseAtom(Box *box)
Coverage:  78.378% (29/37)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp
Lines: 3610-3678
 78.378% (29/37)
3917
QRegExpEngine::badCharMatch
Name: QRegExpEngine::badCharMatch
Prototype: bool QRegExpEngine::badCharMatch(QRegExpMatchState &matchState) const
Coverage:  91.667% (44/48)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp
Lines: 1896-1959
 91.667% (44/48)
4117
QProcessPrivate::startDetached
Name: QProcessPrivate::startDetached
Prototype: bool QProcessPrivate::startDetached(const QString &program, const QStringList &arguments, const QString &workingDirectory, qint64 *pid)
Coverage:  25.000% (14/56)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 932-1045
 25.000% (14/56)
8017
QPlatformFontDatabase::writingSystemsFromTrueTypeBits
Name: QPlatformFontDatabase::writingSystemsFromTrueTypeBits
Prototype: QSupportedWritingSystems QPlatformFontDatabase::writingSystemsFromTrueTypeBits(quint32 unicodeRange[4], quint32 codePageRange[2])
Coverage:  0.000% (0/53)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qplatformfontdatabase.cpp
Lines: 545-630
  0.000% (0/53)
5217
QPixmapIconEngine::pixmap
Name: QPixmapIconEngine::pixmap
Prototype: QPixmap QPixmapIconEngine::pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state)
Coverage:  0.000% (0/55)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qicon.cpp
Lines: 279-336
  0.000% (0/55)
4217
QPainterPath::toFillPolygons
Name: QPainterPath::toFillPolygons
Prototype: QList<QPolygonF> QPainterPath::toFillPolygons(const QTransform &matrix) const
Coverage:  0.000% (0/51)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpainterpath.cpp
Lines: 1634-1729
  0.000% (0/51)
4317
QOpenGLFunctions_4_3_Core::~QOpenGLFunctions_4_3_Core
Name: QOpenGLFunctions_4_3_Core::~QOpenGLFunctions_4_3_Core
Prototype: QOpenGLFunctions_4_3_Core::~QOpenGLFunctions_4_3_Core()
Coverage:  0.000% (0/49)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qopenglfunctions_4_3_core.cpp
Lines: 89-139
  0.000% (0/49)
4817
Page:<>1
McCabe - Cyclomatic Complexity: 439
...3
McCabe - Cyclomatic Complexity: 32
4
McCabe - Cyclomatic Complexity: 27
5
McCabe - Cyclomatic Complexity: 23
6
McCabe - Cyclomatic Complexity: 20
78
McCabe - Cyclomatic Complexity: 17
9
McCabe - Cyclomatic Complexity: 16
10
McCabe - Cyclomatic Complexity: 15
11
McCabe - Cyclomatic Complexity: 14
...20
McCabe - Cyclomatic Complexity: 9
...30
McCabe - Cyclomatic Complexity: 7
...100
McCabe - Cyclomatic Complexity: 2
...200
McCabe - Cyclomatic Complexity: 1
...306
McCabe - Cyclomatic Complexity: 1

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