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

Functions

Page:<>1
McCabe - Cyclomatic Complexity: 439
...10
McCabe - Cyclomatic Complexity: 15
...20
McCabe - Cyclomatic Complexity: 9
...30
McCabe - Cyclomatic Complexity: 7
31
McCabe - Cyclomatic Complexity: 7
32
McCabe - Cyclomatic Complexity: 7
33
McCabe - Cyclomatic Complexity: 7
34
McCabe - Cyclomatic Complexity: 6
3536
McCabe - Cyclomatic Complexity: 6
37
McCabe - Cyclomatic Complexity: 6
38
McCabe - Cyclomatic Complexity: 6
39
McCabe - Cyclomatic Complexity: 6
40
McCabe - Cyclomatic Complexity: 6
...50
McCabe - Cyclomatic Complexity: 5
...60
McCabe - Cyclomatic Complexity: 4
...100
McCabe - Cyclomatic Complexity: 2
...200
McCabe - Cyclomatic Complexity: 1
...306
McCabe - Cyclomatic Complexity: 1
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
QWaitConditionPrivate::wait
Name: QWaitConditionPrivate::wait
Prototype: bool wait(unsigned long time)
Coverage:  78.947% (15/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp
Lines: 136-166
 78.947% (15/19)
176
QVariant::convert
Name: QVariant::convert
Prototype: bool QVariant::convert(int targetTypeId)
Coverage: 100.000% (14/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 3198-3224
100.000% (14/14)
186
QUuid::variant
Name: QUuid::variant
Prototype: QUuid::Variant QUuid::variant() const noexcept
Coverage:  50.000% (8/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/plugin/quuid.cpp
Lines: 779-789
 50.000% (8/16)
76
QUrlPrivate::appendPath
Name: QUrlPrivate::appendPath
Prototype: inline void QUrlPrivate::appendPath(QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const
Coverage: 100.000% (18/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 924-945
100.000% (18/18)
136
QUrl::fromUserInput
Name: QUrl::fromUserInput
Prototype: QUrl QUrl::fromUserInput(const QString &userInput, const QString &workingDirectory, UserInputResolutionOptions options)
Coverage: 100.000% (16/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 4201-4228
100.000% (16/16)
136
QUrl::fromLocalFile
Name: QUrl::fromLocalFile
Prototype: QUrl QUrl::fromLocalFile(const QString &localFile)
Coverage:  95.000% (19/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qurl.cpp
Lines: 3808-3839
 95.000% (19/20)
206
QUnsortedModelEngine::filter
Name: QUnsortedModelEngine::filter
Prototype: QMatchData QUnsortedModelEngine::filter(const QString& part, const QModelIndex& parent, int n)
Coverage:  0.000% (0/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/util/qcompleter.cpp
Lines: 763-801
  0.000% (0/29)
256
QUnifiedTimer::stopAnimationTimer
Name: QUnifiedTimer::stopAnimationTimer
Prototype: void QUnifiedTimer::stopAnimationTimer(QAbstractAnimationTimer *timer)
Coverage:  61.111% (11/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/animation/qabstractanimation.cpp
Lines: 453-479
 61.111% (11/18)
146
QUnicodeTables::detachAndConvertCase
Name: QUnicodeTables::detachAndConvertCase
Prototype: template <typename Traits, typename T> __attribute__((noinline)) static QString detachAndConvertCase(T &str, QStringIterator it)
Coverage: 100.000% (16/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5798-5841
100.000% (16/16)
216
QUndoStack::setIndex
Name: QUndoStack::setIndex
Prototype: void QUndoStack::setIndex(int idx)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/util/qundostack.cpp
Lines: 769-789
  0.000% (0/16)
146
QUdpSocket::readDatagram
Name: QUdpSocket::readDatagram
Prototype: qint64 QUdpSocket::readDatagram(char *data, qint64 maxSize, QHostAddress *address, quint16 *port)
Coverage:  63.158% (12/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qudpsocket.cpp
Lines: 378-405
 63.158% (12/19)
166
QTzTimeZonePrivate::previousTransition
Name: QTzTimeZonePrivate::previousTransition
Prototype: QTimeZonePrivate::Data QTzTimeZonePrivate::previousTransition(qint64 beforeMSecsSinceEpoch) const
Coverage:  77.273% (17/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp
Lines: 975-999
 77.273% (17/22)
136
QTzTimeZonePrivate::nextTransition
Name: QTzTimeZonePrivate::nextTransition
Prototype: QTimeZonePrivate::Data QTzTimeZonePrivate::nextTransition(qint64 afterMSecsSinceEpoch) const
Coverage:  90.909% (20/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp
Lines: 949-973
 90.909% (20/22)
136
QTriangulator::SimpleToMonotone::removeZeroLengthEdges
Name: QTriangulator::SimpleToMonotone::removeZeroLengthEdges
Prototype: template <typename T> void QTriangulator<T>::SimpleToMonotone::removeZeroLengthEdges()
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qtriangulator.cpp
Lines: 1820-1847
  0.000% (0/16)
186
QTriangulator::SimpleToMonotone::classifyVertex
Name: QTriangulator::SimpleToMonotone::classifyVertex
Prototype: template <typename T> void QTriangulator<T>::SimpleToMonotone::classifyVertex(int i)
Coverage:  0.000% (0/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qtriangulator.cpp
Lines: 1914-1942
  0.000% (0/32)
156
QTriangulator::ComplexToSimple::removeUnusedPoints
Name: QTriangulator::ComplexToSimple::removeUnusedPoints
Prototype: template <typename T> void QTriangulator<T>::ComplexToSimple::removeUnusedPoints()
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qtriangulator.cpp
Lines: 1595-1618
  0.000% (0/16)
176
QTriangulator::ComplexToSimple::initEdges
Name: QTriangulator::ComplexToSimple::initEdges
Prototype: template <typename T> void QTriangulator<T>::ComplexToSimple::initEdges()
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qtriangulator.cpp
Lines: 964-988
  0.000% (0/16)
146
QTreeWidgetItemPrivate::propagateDisabled
Name: QTreeWidgetItemPrivate::propagateDisabled
Prototype: void QTreeWidgetItemPrivate::propagateDisabled(QTreeWidgetItem *item)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtreewidget.cpp
Lines: 1655-1679
  0.000% (0/19)
166
QTreeWidget::mimeData
Name: QTreeWidget::mimeData
Prototype: QMimeData *QTreeWidget::mimeData(const QList<QTreeWidgetItem*> items) const
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtreewidget.cpp
Lines: 3283-3307
  0.000% (0/14)
156
QTreeViewPrivate::renderTreeToPixmapForAnimation
Name: QTreeViewPrivate::renderTreeToPixmapForAnimation
Prototype: QPixmap QTreeViewPrivate::renderTreeToPixmapForAnimation(const QRect &rect) const
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtreeview.cpp
Lines: 3232-3269
  0.000% (0/16)
246
QTreeView::viewportEvent
Name: QTreeView::viewportEvent
Prototype: bool QTreeView::viewportEvent(QEvent *event)
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtreeview.cpp
Lines: 1297-1321
  0.000% (0/12)
146
QTreeView::timerEvent
Name: QTreeView::timerEvent
Prototype: void QTreeView::timerEvent(QTimerEvent *event)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtreeview.cpp
Lines: 1248-1279
  0.000% (0/18)
246
QTreeView::rowsInserted
Name: QTreeView::rowsInserted
Prototype: void QTreeView::rowsInserted(const QModelIndex &parent, int start, int end)
Coverage:  0.000% (0/28)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtreeview.cpp
Lines: 2533-2565
  0.000% (0/28)
206
QTreeModel::setColumnCount
Name: QTreeModel::setColumnCount
Prototype: void QTreeModel::setColumnCount(int columns)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtreewidget.cpp
Lines: 182-208
  0.000% (0/16)
196
QTreeModel::itemData
Name: QTreeModel::itemData
Prototype: QMap<int, QVariant> QTreeModel::itemData(const QModelIndex &index) const
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtreewidget.cpp
Lines: 397-420
  0.000% (0/16)
156
QTreeModel::insertColumns
Name: QTreeModel::insertColumns
Prototype: bool QTreeModel::insertColumns(int column, int count, const QModelIndex &parent)
Coverage:  0.000% (0/26)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtreewidget.cpp
Lines: 452-483
  0.000% (0/26)
226
QTreeModel::hasChildren
Name: QTreeModel::hasChildren
Prototype: bool QTreeModel::hasChildren(const QModelIndex &parent) const
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtreewidget.cpp
Lines: 338-355
  0.000% (0/13)
106
QToolButton::setDefaultAction
Name: QToolButton::setDefaultAction
Prototype: void QToolButton::setDefaultAction(QAction *action)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtoolbutton.cpp
Lines: 900-941
  0.000% (0/18)
236
QToolButton::event
Name: QToolButton::event
Prototype: bool QToolButton::event(QEvent *event)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtoolbutton.cpp
Lines: 970-983
  0.000% (0/10)
66
QToolBox::insertItem
Name: QToolBox::insertItem
Prototype: int QToolBox::insertItem(int index, QWidget *widget, const QIcon &icon, const QString &text)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtoolbox.cpp
Lines: 342-390
  0.000% (0/19)
356
QToolBarLayout::setExpanded
Name: QToolBarLayout::setExpanded
Prototype: void QToolBarLayout::setExpanded(bool exp)
Coverage:  0.000% (0/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtoolbarlayout.cpp
Lines: 657-686
  0.000% (0/23)
176
QToolBarAreaLayoutInfo::removeToolBarBreak
Name: QToolBarAreaLayoutInfo::removeToolBarBreak
Prototype: void QToolBarAreaLayoutInfo::removeToolBarBreak(QToolBar *before)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtoolbararealayout.cpp
Lines: 375-394
  0.000% (0/16)
116
QToolBarAreaLayoutInfo::insertItem
Name: QToolBarAreaLayoutInfo::insertItem
Prototype: void QToolBarAreaLayoutInfo::insertItem(QToolBar *before, QLayoutItem *item)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtoolbararealayout.cpp
Lines: 305-324
  0.000% (0/16)
116
QToolBarAreaLayoutInfo::QToolBarAreaLayoutInfo
Name: QToolBarAreaLayoutInfo::QToolBarAreaLayoutInfo
Prototype: QToolBarAreaLayoutInfo::QToolBarAreaLayoutInfo(QInternal::DockPosition pos)
Coverage:  0.000% (0/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtoolbararealayout.cpp
Lines: 203-219
  0.000% (0/8)
76
QToolBarAreaLayout::takeAt
Name: QToolBarAreaLayout::takeAt
Prototype: QLayoutItem *QToolBarAreaLayout::takeAt(int *x, int index)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtoolbararealayout.cpp
Lines: 752-774
  0.000% (0/16)
126
QToolBarAreaLayout::remove
Name: QToolBarAreaLayout::remove
Prototype: void QToolBarAreaLayout::remove(QLayoutItem *item)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtoolbararealayout.cpp
Lines: 1086-1104
  0.000% (0/16)
106
QToolBar::changeEvent
Name: QToolBar::changeEvent
Prototype: void QToolBar::changeEvent(QEvent *event)
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtoolbar.cpp
Lines: 1035-1055
  0.000% (0/12)
136
QTimerInfoList::unregisterTimers
Name: QTimerInfoList::unregisterTimers
Prototype: bool QTimerInfoList::unregisterTimers(QObject *object)
Coverage:  75.000% (12/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp
Lines: 529-548
 75.000% (12/16)
136
QThreadPoolPrivate::tryStart
Name: QThreadPoolPrivate::tryStart
Prototype: bool QThreadPoolPrivate::tryStart(QRunnable *task)
Coverage: 100.000% (16/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qthreadpool.cpp
Lines: 164-200
100.000% (16/16)
206
QTextureGlyphCache::fillInPendingGlyphs
Name: QTextureGlyphCache::fillInPendingGlyphs
Prototype: void QTextureGlyphCache::fillInPendingGlyphs()
Coverage:  0.000% (0/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qtextureglyphcache.cpp
Lines: 226-261
  0.000% (0/20)
206
QTextTablePrivate::update
Name: QTextTablePrivate::update
Prototype: void QTextTablePrivate::update() const
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtexttable.cpp
Lines: 442-490
  0.000% (0/18)
296
QTextStream::readLineInto
Name: QTextStream::readLineInto
Prototype: bool QTextStream::readLineInto(QString *line, qint64 maxlen)
Coverage:  63.636% (14/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qtextstream.cpp
Lines: 1708-1731
 63.636% (14/22)
166
QTextLayout::createLine
Name: QTextLayout::createLine
Prototype: QTextLine QTextLayout::createLine()
Coverage:  0.000% (0/26)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextlayout.cpp
Lines: 822-852
  0.000% (0/26)
206
QTextHtmlParser::parseAttributes
Name: QTextHtmlParser::parseAttributes
Prototype: QStringList QTextHtmlParser::parseAttributes()
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtexthtmlparser.cpp
Lines: 1451-1475
  0.000% (0/18)
186
QTextHtmlExporter::emitFloatStyle
Name: QTextHtmlExporter::emitFloatStyle
Prototype: void QTextHtmlExporter::emitFloatStyle(QTextFrameFormat::Position pos, StyleMode mode)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocument.cpp
Lines: 2526-2545
  0.000% (0/18)
126
QTextFragment::glyphRuns
Name: QTextFragment::glyphRuns
Prototype: QList<QGlyphRun> QTextFragment::glyphRuns(int pos, int len) const
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextobject.cpp
Lines: 1747-1772
  0.000% (0/18)
176
QTextFormat::operator==
Name: QTextFormat::operator==
Prototype: bool QTextFormat::operator==(const QTextFormat &rhs) const
Coverage:  0.000% (0/26)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextformat.cpp
Lines: 1252-1270
  0.000% (0/26)
116
QTextEngine::validate
Name: QTextEngine::validate
Prototype: void QTextEngine::validate() const
Coverage:  0.000% (0/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextengine.cpp
Lines: 1565-1584
  0.000% (0/21)
136
QTextEngine::shapeLine
Name: QTextEngine::shapeLine
Prototype: void QTextEngine::shapeLine(const QScriptLine &line)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextengine.cpp
Lines: 923-951
  0.000% (0/19)
196
QTextEngine::isRightToLeft
Name: QTextEngine::isRightToLeft
Prototype: bool QTextEngine::isRightToLeft() const
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextengine.cpp
Lines: 1765-1781
  0.000% (0/13)
96
QTextEngine::insertionPointsForLine
Name: QTextEngine::insertionPointsForLine
Prototype: void QTextEngine::insertionPointsForLine(int lineNum, QVector<int> &insertionPoints)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextengine.cpp
Lines: 3255-3277
  0.000% (0/18)
136
QTextEngine::LayoutData::reallocate
Name: QTextEngine::LayoutData::reallocate
Prototype: bool QTextEngine::LayoutData::reallocate(int totalGlyphs)
Coverage:  0.000% (0/24)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextengine.cpp
Lines: 2434-2478
  0.000% (0/24)
296
QTextEditPrivate::_q_adjustScrollbars
Name: QTextEditPrivate::_q_adjustScrollbars
Prototype: void QTextEditPrivate::_q_adjustScrollbars()
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtextedit.cpp
Lines: 267-313
  0.000% (0/18)
226
QTextDocumentPrivate::insert_frame
Name: QTextDocumentPrivate::insert_frame
Prototype: void QTextDocumentPrivate::insert_frame(QTextFrame *f)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocument_p.cpp
Lines: 1516-1543
  0.000% (0/18)
186
QTextDocumentLayoutPrivate::layoutCell
Name: QTextDocumentLayoutPrivate::layoutCell
Prototype: QTextLayoutStruct QTextDocumentLayoutPrivate::layoutCell(QTextTable *t, const QTextTableCell &cell, QFixed width, int layoutFrom, int layoutTo, QTextTableData *td, QFixed absoluteTableY, bool withPageBreaks)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocumentlayout.cpp
Lines: 1529-1604
  0.000% (0/18)
376
QTextDocumentLayout::timerEvent
Name: QTextDocumentLayout::timerEvent
Prototype: void QTextDocumentLayout::timerEvent(QTimerEvent *e)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocumentlayout.cpp
Lines: 3309-3330
  0.000% (0/16)
146
QTextDocumentLayout::tableBoundingRect
Name: QTextDocumentLayout::tableBoundingRect
Prototype: QRectF QTextDocumentLayout::tableBoundingRect(QTextTable *table) const
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocumentlayout.cpp
Lines: 3215-3240
  0.000% (0/16)
176
QTextDocumentLayout::resizeInlineObject
Name: QTextDocumentLayout::resizeInlineObject
Prototype: void QTextDocumentLayout::resizeInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat &format)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocumentlayout.cpp
Lines: 3039-3078
  0.000% (0/14)
276
QTextCursor::deletePreviousChar
Name: QTextCursor::deletePreviousChar
Prototype: void QTextCursor::deletePreviousChar()
Coverage:  0.000% (0/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextcursor.cpp
Lines: 1511-1540
  0.000% (0/22)
196
QTextBoundaryFinder::operator=
Name: QTextBoundaryFinder::operator=
Prototype: QTextBoundaryFinder &QTextBoundaryFinder::operator=(const QTextBoundaryFinder &other)
Coverage:  70.588% (12/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtextboundaryfinder.cpp
Lines: 194-223
 70.588% (12/17)
206
QTextBoundaryFinder::isAtBoundary
Name: QTextBoundaryFinder::isAtBoundary
Prototype: bool QTextBoundaryFinder::isAtBoundary() const
Coverage:  81.250% (13/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtextboundaryfinder.cpp
Lines: 432-449
 81.250% (13/16)
86
QTextBlock::textFormats
Name: QTextBlock::textFormats
Prototype: QVector<QTextLayout::FormatRange> QTextBlock::textFormats() const
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextobject.cpp
Lines: 1251-1291
  0.000% (0/18)
296
QTest::qElementData
Name: QTest::qElementData
Prototype: void *QTest::qElementData(const char *tagName, int metaTypeId)
Coverage:  37.500% (6/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestcase.cpp
Lines: 2091-2103
 37.500% (6/16)
86
QTest::handleIgnoredMessage
Name: QTest::handleIgnoredMessage
Prototype: static bool handleIgnoredMessage(QtMsgType type, const QString &message)
Coverage: 100.000% (17/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestlog.cpp
Lines: 256-280
100.000% (17/17)
166
QTest::fetchData
Name: QTest::fetchData
Prototype: void *fetchData(QTestData *data, const char *tagName, int typeId)
Coverage:  43.750% (7/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestcase.cpp
Lines: 1015-1035
 43.750% (7/16)
126
QTableWidgetItem::setData
Name: QTableWidgetItem::setData
Prototype: void QTableWidgetItem::setData(int role, const QVariant &value)
Coverage:  0.000% (0/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 1371-1389
  0.000% (0/20)
136
QTableWidget::dropEvent
Name: QTableWidget::dropEvent
Prototype: void QTableWidget::dropEvent(QDropEvent *event)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 2683-2718
  0.000% (0/14)
256
QTableViewPrivate::setSpan
Name: QTableViewPrivate::setSpan
Prototype: void QTableViewPrivate::setSpan(int row, int column, int rowSpan, int columnSpan)
Coverage:  0.000% (0/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtableview.cpp
Lines: 669-696
  0.000% (0/20)
216
QTableModel::updateRowIndexes
Name: QTableModel::updateRowIndexes
Prototype: void QTableModel::updateRowIndexes(QModelIndexList &indexes, int movedFromRow, int movedToRow)
Coverage:  0.000% (0/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 649-665
  0.000% (0/20)
126
QTableModel::removeRows
Name: QTableModel::removeRows
Prototype: bool QTableModel::removeRows(int row, int count, const QModelIndex &)
Coverage:  0.000% (0/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 100-125
  0.000% (0/20)
206
QTableModel::itemChanged
Name: QTableModel::itemChanged
Prototype: void QTableModel::itemChanged(QTableWidgetItem *item)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 775-793
  0.000% (0/16)
126
QTableModel::headerData
Name: QTableModel::headerData
Prototype: QVariant QTableModel::headerData(int section, Qt::Orientation orientation, int role) const
Coverage:  0.000% (0/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 696-714
  0.000% (0/21)
136
QTabWidget::setUpLayout
Name: QTabWidget::setUpLayout
Prototype: void QTabWidget::setUpLayout(bool onlyCheck)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabwidget.cpp
Lines: 769-802
  0.000% (0/18)
236
QTabWidget::heightForWidth
Name: QTabWidget::heightForWidth
Prototype: int QTabWidget::heightForWidth(int width) const
Coverage:  0.000% (0/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabwidget.cpp
Lines: 884-922
  0.000% (0/21)
286
QTabBarPrivate::setupMovableTab
Name: QTabBarPrivate::setupMovableTab
Prototype: void QTabBarPrivate::setupMovableTab()
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 2031-2067
  0.000% (0/16)
286
QTabBarPrivate::_q_closeTab
Name: QTabBarPrivate::_q_closeTab
Prototype: void QTabBarPrivate::_q_closeTab()
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 763-784
  0.000% (0/16)
146
QTabBar::setTabButton
Name: QTabBar::setTabButton
Prototype: void QTabBar::setTabButton(int index, ButtonPosition position, QWidget *widget)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 2515-2538
  0.000% (0/19)
176
QTabBar::setCurrentIndex
Name: QTabBar::setCurrentIndex
Prototype: void QTabBar::setCurrentIndex(int index)
Coverage:  0.000% (0/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 1319-1348
  0.000% (0/22)
216
QTabBar::changeEvent
Name: QTabBar::changeEvent
Prototype: void QTabBar::changeEvent(QEvent *event)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 2177-2196
  0.000% (0/13)
116
QSystemTrayIconSys::mousePressEvent
Name: QSystemTrayIconSys::mousePressEvent
Prototype: void QSystemTrayIconSys::mousePressEvent(QMouseEvent *ev)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/util/qsystemtrayicon_x11.cpp
Lines: 173-194
  0.000% (0/18)
126
QSystemLocale::fallbackUiLocale
Name: QSystemLocale::fallbackUiLocale
Prototype: QLocale QSystemLocale::fallbackUiLocale() const
Coverage:  60.000% (12/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_unix.cpp
Lines: 110-131
 60.000% (12/20)
136
QStyleSheetStyleSelector::nodeNameEquals
Name: QStyleSheetStyleSelector::nodeNameEquals
Prototype: bool nodeNameEquals(NodePtr node, const QString& nodeName) const override
Coverage:  0.000% (0/26)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 1484-1506
  0.000% (0/26)
166
QStyleSheetStyle::updateStyleSheetFont
Name: QStyleSheetStyle::updateStyleSheetFont
Prototype: void QStyleSheetStyle::updateStyleSheetFont(QWidget* w) const
Coverage:  0.000% (0/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 5918-5960
  0.000% (0/22)
246
QStyleSheetStyle::renderRule
Name: QStyleSheetStyle::renderRule
Prototype: QRenderRule QStyleSheetStyle::renderRule(const QObject *obj, int element, quint64 state) const
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 1725-1760
  0.000% (0/16)
266
QStyleSheetStyle::positionRect
Name: QStyleSheetStyle::positionRect
Prototype: QRect QStyleSheetStyle::positionRect(const QWidget *w, const QRenderRule &rule2, int pe, const QRect &originRect, Qt::LayoutDirection dir) const
Coverage:  0.000% (0/31)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 2284-2313
  0.000% (0/31)
216
QStyleSheetStyle::hasStyleRule
Name: QStyleSheetStyle::hasStyleRule
Prototype: bool QStyleSheetStyle::hasStyleRule(const QObject *obj, int part) const
Coverage:  0.000% (0/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 2034-2063
  0.000% (0/20)
196
QStyleSheetStyle::getDefaultStyleSheet
Name: QStyleSheetStyle::getDefaultStyleSheet
Prototype: StyleSheet QStyleSheetStyle::getDefaultStyleSheet() const
Coverage:  0.000% (0/24)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle_default.cpp
Lines: 145-505
  0.000% (0/24)
1856
QStyleHelper::calcLines
Name: QStyleHelper::calcLines
Prototype: QPolygonF calcLines(const QStyleOptionSlider *dial)
Coverage:  0.000% (0/24)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylehelper.cpp
Lines: 201-240
  0.000% (0/24)
316
QStyle::itemPixmapRect
Name: QStyle::itemPixmapRect
Prototype: QRect QStyle::itemPixmapRect(const QRect &rect, int alignment, const QPixmap &pixmap) const
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstyle.cpp
Lines: 545-566
  0.000% (0/18)
176
QStringRef::lastIndexOf
Name: QStringRef::lastIndexOf
Prototype: int QStringRef::lastIndexOf(const QString &str, int from, Qt::CaseSensitivity cs) const
Coverage: 100.000% (20/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 9761-9780
100.000% (20/20)
156
QStringRef::lastIndexOf
Name: QStringRef::lastIndexOf
Prototype: int QStringRef::lastIndexOf(QLatin1String str, int from, Qt::CaseSensitivity cs) const
Coverage:  0.000% (0/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 9811-9832
  0.000% (0/20)
166
QStringRef::lastIndexOf
Name: QStringRef::lastIndexOf
Prototype: int QStringRef::lastIndexOf(const QStringRef &str, int from, Qt::CaseSensitivity cs) const
Coverage: 100.000% (20/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 9849-9869
100.000% (20/20)
166
QString::toHtmlEscaped
Name: QString::toHtmlEscaped
Prototype: QString QString::toHtmlEscaped() const
Coverage: 100.000% (16/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 10667-10686
100.000% (16/16)
156
QString::repeated
Name: QString::repeated
Prototype: QString QString::repeated(int times) const
Coverage:  87.500% (14/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 7119-7152
 87.500% (14/16)
236
QString::remove
Name: QString::remove
Prototype: QString &QString::remove(QChar ch, Qt::CaseSensitivity cs)
Coverage: 100.000% (17/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2293-2312
100.000% (17/17)
136
QString::reallocData
Name: QString::reallocData
Prototype: void QString::reallocData(uint alloc, bool grow)
Coverage:  78.947% (15/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1760-1788
 78.947% (15/19)
216
QString::number
Name: QString::number
Prototype: QString QString::number(double n, char f, int prec)
Coverage:  66.667% (8/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 6789-6816
 66.667% (8/12)
146
QString::lastIndexOf
Name: QString::lastIndexOf
Prototype: int QString::lastIndexOf(const QString &str, int from, Qt::CaseSensitivity cs) const
Coverage: 100.000% (20/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3265-3283
100.000% (20/20)
146
QString::lastIndexOf
Name: QString::lastIndexOf
Prototype: int QString::lastIndexOf(const QStringRef &str, int from, Qt::CaseSensitivity cs) const
Coverage: 100.000% (20/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3353-3372
100.000% (20/20)
156
QString::lastIndexOf
Name: QString::lastIndexOf
Prototype: int QString::lastIndexOf(QLatin1String str, int from, Qt::CaseSensitivity cs) const
Coverage:  40.000% (8/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3304-3325
 40.000% (8/20)
166
Page:<>1
McCabe - Cyclomatic Complexity: 439
...10
McCabe - Cyclomatic Complexity: 15
...20
McCabe - Cyclomatic Complexity: 9
...30
McCabe - Cyclomatic Complexity: 7
31
McCabe - Cyclomatic Complexity: 7
32
McCabe - Cyclomatic Complexity: 7
33
McCabe - Cyclomatic Complexity: 7
34
McCabe - Cyclomatic Complexity: 6
3536
McCabe - Cyclomatic Complexity: 6
37
McCabe - Cyclomatic Complexity: 6
38
McCabe - Cyclomatic Complexity: 6
39
McCabe - Cyclomatic Complexity: 6
40
McCabe - Cyclomatic Complexity: 6
...50
McCabe - Cyclomatic Complexity: 5
...60
McCabe - Cyclomatic Complexity: 4
...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