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

Functions

Page:<>1
McCabe - Cyclomatic Complexity: 439
...20
McCabe - Cyclomatic Complexity: 9
...30
McCabe - Cyclomatic Complexity: 7
...40
McCabe - Cyclomatic Complexity: 6
...50
McCabe - Cyclomatic Complexity: 5
...54
McCabe - Cyclomatic Complexity: 4
55
McCabe - Cyclomatic Complexity: 4
56
McCabe - Cyclomatic Complexity: 4
57
McCabe - Cyclomatic Complexity: 4
5859
McCabe - Cyclomatic Complexity: 4
60
McCabe - Cyclomatic Complexity: 4
61
McCabe - Cyclomatic Complexity: 4
62
McCabe - Cyclomatic Complexity: 4
...70
McCabe - Cyclomatic Complexity: 3
...80
McCabe - Cyclomatic Complexity: 3
...100
McCabe - Cyclomatic Complexity: 2
...200
McCabe - Cyclomatic Complexity: 1
...306
McCabe - Cyclomatic Complexity: 1
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
QTestXunitStreamer::formatStart
Name: QTestXunitStreamer::formatStart
Prototype: void QTestXunitStreamer::formatStart(const QTestElement *element, QTestCharBuffer *formatted) const
Coverage:  76.923% (10/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestxunitstreamer.cpp
Lines: 78-97
 76.923% (10/13)
104
QTestData::append
Name: QTestData::append
Prototype: void QTestData::append(int type, const void *data)
Coverage:  30.000% (3/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestdata.cpp
Lines: 84-96
 30.000% (3/10)
94
QTest::qSignalDumperCallbackSlot
Name: QTest::qSignalDumperCallbackSlot
Prototype: static void qSignalDumperCallbackSlot(QObject *caller, int method_index, void **argv)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qsignaldumper.cpp
Lines: 124-152
  0.000% (0/14)
224
QTest::qPrintTestSlots
Name: QTest::qPrintTestSlots
Prototype: static void qPrintTestSlots(FILE *stream, const char *filter = 0)
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestcase.cpp
Lines: 313-323
  0.000% (0/12)
64
QTest::newRow
Name: QTest::newRow
Prototype: QTestData &QTest::newRow(const char *dataTag)
Coverage:  40.000% (4/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestcase.cpp
Lines: 2131-2139
 40.000% (4/10)
54
QTest::messageFormatString
Name: QTest::messageFormatString
Prototype: static const char *messageFormatString(bool noDescription, bool noTag)
Coverage:  50.000% (5/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qxmltestlogger.cpp
Lines: 204-224
 50.000% (5/10)
144
QTest::incidentFormatString
Name: QTest::incidentFormatString
Prototype: static const char *incidentFormatString(bool noDescription, bool noTag)
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qxmltestlogger.cpp
Lines: 177-197
100.000% (10/10)
144
QTest::debuggerPresent
Name: QTest::debuggerPresent
Prototype: static bool debuggerPresent()
Coverage:  40.000% (4/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestcase.cpp
Lines: 1257-1286
 40.000% (4/10)
184
QTest::WatchDog::run
Name: QTest::WatchDog::run
Prototype: void run()
Coverage:  75.000% (6/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestcase.cpp
Lines: 896-908
 75.000% (6/8)
84
QTest::TestMethods::TestMethods
Name: QTest::TestMethods::TestMethods
Prototype: TestMethods::TestMethods(const QObject *o, const MetaMethods &m)
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestcase.cpp
Lines: 215-233
100.000% (10/10)
84
QTest::Q_QGS_ignoreClasses::innerFunction
Name: QTest::Q_QGS_ignoreClasses::innerFunction
Prototype: inline Type *innerFunction()
Coverage:  0.000% (0/5)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qsignaldumper.cpp
Lines: 62-62
  0.000% (0/5)
14
QTest::FatalSignalHandler::~FatalSignalHandler
Name: QTest::FatalSignalHandler::~FatalSignalHandler
Prototype: FatalSignalHandler::~FatalSignalHandler()
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestcase.cpp
Lines: 1432-1450
100.000% (10/10)
104
QTest::FatalSignalHandler::FatalSignalHandler
Name: QTest::FatalSignalHandler::FatalSignalHandler
Prototype: FatalSignalHandler::FatalSignalHandler()
Coverage:  91.667% (11/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestcase.cpp
Lines: 1375-1429
 91.667% (11/12)
244
QTemporaryFile::open
Name: QTemporaryFile::open
Prototype: bool QTemporaryFile::open(OpenMode flags)
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qtemporaryfile.cpp
Lines: 778-800
100.000% (10/10)
104
QTeamCityLogger::addMessage
Name: QTeamCityLogger::addMessage
Prototype: void QTeamCityLogger::addMessage(MessageTypes type, const QString &message, const char *file, int line)
Coverage:  75.000% (9/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qteamcitylogger.cpp
Lines: 196-220
 75.000% (9/12)
124
QTcpServer::waitForNewConnection
Name: QTcpServer::waitForNewConnection
Prototype: bool QTcpServer::waitForNewConnection(int msec, bool *timedOut)
Coverage:  66.667% (8/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 491-509
 66.667% (8/12)
114
QTableWidget::selectedItems
Name: QTableWidget::selectedItems
Prototype: QList<QTableWidgetItem*> QTableWidget::selectedItems() const
Coverage:  0.000% (0/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 2366-2379
  0.000% (0/8)
104
QTableViewPrivate::heightHintForIndex
Name: QTableViewPrivate::heightHintForIndex
Prototype: int QTableViewPrivate::heightHintForIndex(const QModelIndex &index, int hint, QStyleOptionViewItem &option) const
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtableview.cpp
Lines: 944-972
  0.000% (0/12)
174
QTableView::selectionChanged
Name: QTableView::selectionChanged
Prototype: void QTableView::selectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtableview.cpp
Lines: 3322-3347
  0.000% (0/10)
164
QTableView::selectedIndexes
Name: QTableView::selectedIndexes
Prototype: QModelIndexList QTableView::selectedIndexes() const
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtableview.cpp
Lines: 2038-2051
  0.000% (0/12)
104
QTableModel::setHeaderData
Name: QTableModel::setHeaderData
Prototype: bool QTableModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 716-734
  0.000% (0/19)
124
QTableModel::removeItem
Name: QTableModel::removeItem
Prototype: void QTableModel::removeItem(QTableWidgetItem *item)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 247-270
  0.000% (0/10)
164
QTableModel::insertColumns
Name: QTableModel::insertColumns
Prototype: bool QTableModel::insertColumns(int column, int count, const QModelIndex &)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 82-98
  0.000% (0/14)
124
QTableModel::index
Name: QTableModel::index
Prototype: QModelIndex QTableModel::index(const QTableWidgetItem *item) const
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 352-368
  0.000% (0/15)
124
QTableCornerButton::paintEvent
Name: QTableCornerButton::paintEvent
Prototype: void paintEvent(QPaintEvent*) override
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtableview.cpp
Lines: 586-601
  0.000% (0/10)
144
QTabWidget::paintEvent
Name: QTabWidget::paintEvent
Prototype: void QTabWidget::paintEvent(QPaintEvent *)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabwidget.cpp
Lines: 1227-1254
  0.000% (0/10)
214
QTabWidget::minimumSizeHint
Name: QTabWidget::minimumSizeHint
Prototype: QSize QTabWidget::minimumSizeHint() const
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabwidget.cpp
Lines: 855-879
  0.000% (0/10)
184
QTabBarPrivate::refresh
Name: QTabBarPrivate::refresh
Prototype: void QTabBarPrivate::refresh()
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 813-834
  0.000% (0/14)
134
QTabBarPrivate::indexAtPos
Name: QTabBarPrivate::indexAtPos
Prototype: int QTabBarPrivate::indexAtPos(const QPoint &p) const
Coverage:  0.000% (0/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 430-439
  0.000% (0/11)
74
QTabBar::tabAt
Name: QTabBar::tabAt
Prototype: int QTabBar::tabAt(const QPoint &position) const
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 1287-1301
  0.000% (0/12)
94
QTabBar::setTabEnabled
Name: QTabBar::setTabEnabled
Prototype: void QTabBar::setTabEnabled(int index, bool enabled)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 1078-1092
  0.000% (0/14)
94
QTabBar::mouseReleaseEvent
Name: QTabBar::mouseReleaseEvent
Prototype: void QTabBar::mouseReleaseEvent(QMouseEvent *event)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 2103-2133
  0.000% (0/18)
224
QSystemTrayIconSys::event
Name: QSystemTrayIconSys::event
Prototype: bool QSystemTrayIconSys::event(QEvent *e)
Coverage:  0.000% (0/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/util/qsystemtrayicon_x11.cpp
Lines: 202-216
  0.000% (0/7)
64
QSystemTrayIconSys::addToTray
Name: QSystemTrayIconSys::addToTray
Prototype: bool QSystemTrayIconSys::addToTray()
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/util/qsystemtrayicon_x11.cpp
Lines: 140-155
  0.000% (0/10)
104
QSystemTrayIcon::setVisible
Name: QSystemTrayIcon::setVisible
Prototype: void QSystemTrayIcon::setVisible(bool visible)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/util/qsystemtrayicon.cpp
Lines: 268-280
  0.000% (0/10)
94
QSyntaxHighlighterPrivate::reformatBlocks
Name: QSyntaxHighlighterPrivate::reformatBlocks
Prototype: void QSyntaxHighlighterPrivate::reformatBlocks(int from, int charsRemoved, int charsAdded)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qsyntaxhighlighter.cpp
Lines: 164-192
  0.000% (0/15)
164
QSyntaxHighlighter::setDocument
Name: QSyntaxHighlighter::setDocument
Prototype: void QSyntaxHighlighter::setDocument(QTextDocument *doc)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qsyntaxhighlighter.cpp
Lines: 330-350
  0.000% (0/10)
154
QSubpathFlatIterator::next
Name: QSubpathFlatIterator::next
Prototype: QStrokerOps::Element next()
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qstroker.cpp
Lines: 125-162
  0.000% (0/10)
304
QStyleSheetStyleSelector::nodeNames
Name: QStyleSheetStyleSelector::nodeNames
Prototype: QStringList nodeNames(NodePtr node) const override
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 1431-1446
  0.000% (0/10)
104
QStyleSheetStyle::styleSheetPalette
Name: QStyleSheetStyle::styleSheetPalette
Prototype: bool QStyleSheetStyle::styleSheetPalette(const QWidget* w, const QStyleOption* opt, QPalette* pal)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 5976-5991
  0.000% (0/16)
94
QStyleSheetStyle::standardPixmap
Name: QStyleSheetStyle::standardPixmap
Prototype: QPixmap QStyleSheetStyle::standardPixmap(StandardPixmap standardPixmap, const QStyleOption *opt, const QWidget *w) const
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 5190-5203
  0.000% (0/12)
84
QStyleSheetStyle::standardIcon
Name: QStyleSheetStyle::standardIcon
Prototype: QIcon QStyleSheetStyle::standardIcon(StandardPixmap standardIcon, const QStyleOption *opt, const QWidget *w) const
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 5172-5183
  0.000% (0/12)
74
QStyleSheetStyle::resolveAlignment
Name: QStyleSheetStyle::resolveAlignment
Prototype: Qt::Alignment QStyleSheetStyle::resolveAlignment(Qt::LayoutDirection layDir, Qt::Alignment src)
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 5993-6007
  0.000% (0/12)
104
QStyleFactory::keys
Name: QStyleFactory::keys
Prototype: QStringList QStyleFactory::keys()
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylefactory.cpp
Lines: 170-218
  0.000% (0/10)
114
QStyle::sliderValueFromPosition
Name: QStyle::sliderValueFromPosition
Prototype: int QStyle::sliderValueFromPosition(int min, int max, int pos, int span, bool upsideDown)
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstyle.cpp
Lines: 2257-2278
  0.000% (0/12)
124
QStrokerOps::strokeEllipse
Name: QStrokerOps::strokeEllipse
Prototype: void QStrokerOps::strokeEllipse(const QRectF &rect, void *data, const QTransform &matrix)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qstroker.cpp
Lines: 343-366
  0.000% (0/10)
164
QStroker::joinModeForJoin
Name: QStroker::joinModeForJoin
Prototype: QStroker::LineJoinMode QStroker::joinModeForJoin(Qt::PenJoinStyle joinStyle)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qstroker.cpp
Lines: 404-410
  0.000% (0/10)
44
QStroker::joinForJoinMode
Name: QStroker::joinForJoinMode
Prototype: Qt::PenJoinStyle QStroker::joinForJoinMode(LineJoinMode mode)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qstroker.cpp
Lines: 396-402
  0.000% (0/10)
44
QString::insert
Name: QString::insert
Prototype: QString& QString::insert(int i, QChar ch)
Coverage:  63.636% (7/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2031-2044
 63.636% (7/11)
104
QString::indexOf
Name: QString::indexOf
Prototype: int QString::indexOf(const QRegularExpression &re, int from, QRegularExpressionMatch *rmatch) const
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3922-3938
100.000% (10/10)
104
QString::fromUtf16
Name: QString::fromUtf16
Prototype: QString QString::fromUtf16(const ushort *unicode, int size)
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4839-4849
 80.000% (8/10)
74
QString::fromUcs4
Name: QString::fromUcs4
Prototype: QString QString::fromUcs4(const uint *unicode, int size)
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4896-4906
100.000% (10/10)
74
QString::fromRawData
Name: QString::fromRawData
Prototype: QString QString::fromRawData(const QChar *unicode, int size)
Coverage:  81.818% (9/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 8207-8220
 81.818% (9/11)
94
QString::count
Name: QString::count
Prototype: int QString::count(const QRegularExpression &re) const
Coverage:  90.000% (9/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4048-4065
 90.000% (9/10)
134
QString::append
Name: QString::append
Prototype: QString &QString::append(const QString &str)
Coverage: 100.000% (12/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2064-2078
100.000% (12/12)
94
QString::QString
Name: QString::QString
Prototype: QString::QString(int size, QChar ch)
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1539-1554
 80.000% (8/10)
114
QStatusBar::setSizeGripEnabled
Name: QStatusBar::setSizeGripEnabled
Prototype: void QStatusBar::setSizeGripEnabled(bool enabled)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qstatusbar.cpp
Lines: 441-463
  0.000% (0/13)
134
QStatusBar::insertPermanentWidget
Name: QStatusBar::insertPermanentWidget
Prototype: int QStatusBar::insertPermanentWidget(int index, QWidget *widget, int stretch)
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qstatusbar.cpp
Lines: 361-381
  0.000% (0/12)
134
QStatePrivate::transitions
Name: QStatePrivate::transitions
Prototype: QList<QAbstractTransition*> QStatePrivate::transitions() const
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstate.cpp
Lines: 235-248
100.000% (10/10)
94
QStatePrivate::childStates
Name: QStatePrivate::childStates
Prototype: QList<QAbstractState*> QStatePrivate::childStates() const
Coverage: 100.000% (12/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstate.cpp
Lines: 207-221
100.000% (12/12)
104
QStateMachinePrivate::stateExitLessThan
Name: QStateMachinePrivate::stateExitLessThan
Prototype: bool QStateMachinePrivate::stateExitLessThan(QAbstractState *s1, QAbstractState *s2)
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 506-522
100.000% (10/10)
124
QStateMachinePrivate::stateEntryLessThan
Name: QStateMachinePrivate::stateEntryLessThan
Prototype: bool QStateMachinePrivate::stateEntryLessThan(QAbstractState *s1, QAbstractState *s2)
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 488-504
100.000% (10/10)
124
QStateMachinePrivate::selectAnimations
Name: QStateMachinePrivate::selectAnimations
Prototype: QList<QAbstractAnimation *> QStateMachinePrivate::selectAnimations(const QList<QAbstractTransition *> &transitionList) const
Coverage:  90.000% (9/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 1584-1601
 90.000% (9/10)
114
QStateMachinePrivate::findErrorState
Name: QStateMachinePrivate::findErrorState
Prototype: QAbstractState *QStateMachinePrivate::findErrorState(QAbstractState *context)
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 1447-1461
100.000% (10/10)
84
QStateMachinePrivate::computePendingRestorables
Name: QStateMachinePrivate::computePendingRestorables
Prototype: QHash<QStateMachinePrivate::RestorableId, QVariant> QStateMachinePrivate::computePendingRestorables( const QList<QAbstractState*> &statesToExit_sorted) const
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 1399-1413
100.000% (10/10)
94
QStateMachinePrivate::_q_animationFinished
Name: QStateMachinePrivate::_q_animationFinished
Prototype: void QStateMachinePrivate::_q_animationFinished()
Coverage:  90.000% (9/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 1551-1582
 90.000% (9/10)
214
QStateMachine::stop
Name: QStateMachine::stop
Prototype: void QStateMachine::stop()
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 2648-2663
 71.429% (5/7)
84
QStateMachine::event
Name: QStateMachine::event
Prototype: bool QStateMachine::event(QEvent *e)
Coverage:  60.000% (6/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 2845-2873
 60.000% (6/10)
214
QState::setInitialState
Name: QState::setInitialState
Prototype: void QState::setInitialState(QAbstractState *state)
Coverage:  83.333% (10/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstate.cpp
Lines: 492-509
 83.333% (10/12)
124
QState::setErrorState
Name: QState::setErrorState
Prototype: void QState::setErrorState(QAbstractState *state)
Coverage: 100.000% (18/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstate.cpp
Lines: 296-313
100.000% (18/18)
114
QState::removeTransition
Name: QState::removeTransition
Prototype: void QState::removeTransition(QAbstractTransition *transition)
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstate.cpp
Lines: 429-446
100.000% (10/10)
134
QState::assignProperty
Name: QState::assignProperty
Prototype: void QState::assignProperty(QObject *object, const char *name, const QVariant &value)
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstate.cpp
Lines: 258-274
100.000% (10/10)
104
QStandardItemPrivate::~QStandardItemPrivate
Name: QStandardItemPrivate::~QStandardItemPrivate
Prototype: QStandardItemPrivate::~QStandardItemPrivate()
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/itemmodels/qstandarditemmodel.cpp
Lines: 94-106
  0.000% (0/12)
94
QStandardItemModelPrivate::rowsRemoved
Name: QStandardItemModelPrivate::rowsRemoved
Prototype: void QStandardItemModelPrivate::rowsRemoved(QStandardItem *parent, int row, int count)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/itemmodels/qstandarditemmodel.cpp
Lines: 587-601
  0.000% (0/10)
94
QStandardItemModelPrivate::itemChanged
Name: QStandardItemModelPrivate::itemChanged
Prototype: void QStandardItemModelPrivate::itemChanged(QStandardItem *item)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/itemmodels/qstandarditemmodel.cpp
Lines: 496-514
  0.000% (0/10)
104
QStandardItemModelPrivate::columnsRemoved
Name: QStandardItemModelPrivate::columnsRemoved
Prototype: void QStandardItemModelPrivate::columnsRemoved(QStandardItem *parent, int column, int count)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/itemmodels/qstandarditemmodel.cpp
Lines: 606-620
  0.000% (0/10)
94
QStandardItemModelPrivate::_q_emitItemChanged
Name: QStandardItemModelPrivate::_q_emitItemChanged
Prototype: void QStandardItemModelPrivate::_q_emitItemChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/itemmodels/qstandarditemmodel.cpp
Lines: 361-373
  0.000% (0/10)
74
QStandardItemModel::setVerticalHeaderLabels
Name: QStandardItemModel::setVerticalHeaderLabels
Prototype: void QStandardItemModel::setVerticalHeaderLabels(const QStringList &labels)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/itemmodels/qstandarditemmodel.cpp
Lines: 2472-2485
  0.000% (0/10)
94
QStandardItemModel::setHorizontalHeaderLabels
Name: QStandardItemModel::setHorizontalHeaderLabels
Prototype: void QStandardItemModel::setHorizontalHeaderLabels(const QStringList &labels)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/itemmodels/qstandarditemmodel.cpp
Lines: 2449-2462
  0.000% (0/10)
94
QStandardItemModel::itemFromIndex
Name: QStandardItemModel::itemFromIndex
Prototype: QStandardItem *QStandardItemModel::itemFromIndex(const QModelIndex &index) const
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/itemmodels/qstandarditemmodel.cpp
Lines: 2207-2222
  0.000% (0/14)
114
QStandardItemModel::headerData
Name: QStandardItemModel::headerData
Prototype: QVariant QStandardItemModel::headerData(int section, Qt::Orientation orientation, int role) const
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/itemmodels/qstandarditemmodel.cpp
Lines: 2788-2803
  0.000% (0/18)
124
QStandardItem::sortChildren
Name: QStandardItem::sortChildren
Prototype: void QStandardItem::sortChildren(int column, Qt::SortOrder order)
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/itemmodels/qstandarditemmodel.cpp
Lines: 1921-1935
  0.000% (0/12)
104
QStackedLayoutPrivate::replaceAt
Name: QStackedLayoutPrivate::replaceAt
Prototype: QLayoutItem* QStackedLayoutPrivate::replaceAt(int idx, QLayoutItem *newitem)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qstackedlayout.cpp
Lines: 60-75
  0.000% (0/14)
124
QStackedLayout::heightForWidth
Name: QStackedLayout::heightForWidth
Prototype: int QStackedLayout::heightForWidth(int width) const
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qstackedlayout.cpp
Lines: 508-527
  0.000% (0/10)
84
QStackedLayout::hasHeightForWidth
Name: QStackedLayout::hasHeightForWidth
Prototype: bool QStackedLayout::hasHeightForWidth() const
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qstackedlayout.cpp
Lines: 492-503
  0.000% (0/10)
64
QSslSocketPrivate::verifyErrorsHaveBeenIgnored
Name: QSslSocketPrivate::verifyErrorsHaveBeenIgnored
Prototype: bool QSslSocketPrivate::verifyErrorsHaveBeenIgnored()
Coverage: 100.000% (11/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2549-2570
100.000% (11/11)
94
QSslSocketPrivate::systemCaCertificates
Name: QSslSocketPrivate::systemCaCertificates
Prototype: QList<QSslCertificate> QSslSocketPrivate::systemCaCertificates()
Coverage: 100.000% (8/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 683-764
100.000% (8/8)
224
QSslSocketPrivate::peek
Name: QSslSocketPrivate::peek
Prototype: QByteArray QSslSocketPrivate::peek(qint64 maxSize)
Coverage:  91.667% (11/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2602-2621
 91.667% (11/12)
104
QSslSocketPrivate::_q_resumeImplementation
Name: QSslSocketPrivate::_q_resumeImplementation
Prototype: void QSslSocketPrivate::_q_resumeImplementation()
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2529-2544
 80.000% (8/10)
104
QSslSocketBackendPrivate::checkSslErrors
Name: QSslSocketBackendPrivate::checkSslErrors
Prototype: bool QSslSocketBackendPrivate::checkSslErrors()
Coverage:  89.474% (17/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 1224-1248
 89.474% (17/19)
164
QSslKeyPrivate::fromEVP_PKEY
Name: QSslKeyPrivate::fromEVP_PKEY
Prototype: bool QSslKeyPrivate::fromEVP_PKEY(EVP_PKEY *pkey)
Coverage:  18.182% (2/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslkey_openssl.cpp
Lines: 85-125
 18.182% (2/11)
214
QSslContext::~QSslContext
Name: QSslContext::~QSslContext
Prototype: QSslContext::~QSslContext()
Coverage:  90.000% (9/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcontext_openssl.cpp
Lines: 82-93
 90.000% (9/10)
64
QSslCertificatePrivate::init
Name: QSslCertificatePrivate::init
Prototype: void QSslCertificatePrivate::init(const QByteArray &data, QSsl::EncodingFormat format)
Coverage:  91.667% (11/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 507-519
 91.667% (11/12)
84
QSslCertificate::operator==
Name: QSslCertificate::operator==
Prototype: bool QSslCertificate::operator==(const QSslCertificate &other) const
Coverage: 100.000% (14/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 53-62
100.000% (14/14)
74
QSqlTableModel::setTable
Name: QSqlTableModel::setTable
Prototype: void QSqlTableModel::setTable(const QString &tableName)
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 323-343
100.000% (10/10)
124
QSqlTableModel::selectStatement
Name: QSqlTableModel::selectStatement
Prototype: QString QSqlTableModel::selectStatement() const
Coverage:  60.000% (6/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 1007-1031
 60.000% (6/10)
184
QSqlTableModel::removeColumns
Name: QSqlTableModel::removeColumns
Prototype: bool QSqlTableModel::removeColumns(int column, int count, const QModelIndex &parent)
Coverage:  57.143% (8/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 1042-1052
 57.143% (8/14)
84
QSqlTableModel::insertRecord
Name: QSqlTableModel::insertRecord
Prototype: bool QSqlTableModel::insertRecord(int row, const QSqlRecord &record)
Coverage:  60.000% (6/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 1189-1200
 60.000% (6/10)
84
QSqlTableModel::headerData
Name: QSqlTableModel::headerData
Prototype: QVariant QSqlTableModel::headerData(int section, Qt::Orientation orientation, int role) const
Coverage:  16.667% (2/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 485-496
 16.667% (2/12)
84
QSqlResult::savePrepare
Name: QSqlResult::savePrepare
Prototype: bool QSqlResult::savePrepare(const QString& query)
Coverage:  60.000% (6/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlresult.cpp
Lines: 585-602
 60.000% (6/10)
114
Page:<>1
McCabe - Cyclomatic Complexity: 439
...20
McCabe - Cyclomatic Complexity: 9
...30
McCabe - Cyclomatic Complexity: 7
...40
McCabe - Cyclomatic Complexity: 6
...50
McCabe - Cyclomatic Complexity: 5
...54
McCabe - Cyclomatic Complexity: 4
55
McCabe - Cyclomatic Complexity: 4
56
McCabe - Cyclomatic Complexity: 4
57
McCabe - Cyclomatic Complexity: 4
5859
McCabe - Cyclomatic Complexity: 4
60
McCabe - Cyclomatic Complexity: 4
61
McCabe - Cyclomatic Complexity: 4
62
McCabe - Cyclomatic Complexity: 4
...70
McCabe - Cyclomatic Complexity: 3
...80
McCabe - Cyclomatic Complexity: 3
...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