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
...40
McCabe - Cyclomatic Complexity: 6
41
McCabe - Cyclomatic Complexity: 5
42
McCabe - Cyclomatic Complexity: 5
43
McCabe - Cyclomatic Complexity: 5
4445
McCabe - Cyclomatic Complexity: 5
46
McCabe - Cyclomatic Complexity: 5
47
McCabe - Cyclomatic Complexity: 5
48
McCabe - Cyclomatic Complexity: 5
...50
McCabe - Cyclomatic Complexity: 5
...60
McCabe - Cyclomatic Complexity: 4
...70
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â–¾
QTextEngine::alignLine
Name: QTextEngine::alignLine
Prototype: QFixed QTextEngine::alignLine(const QScriptLine &line)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextengine.cpp
Lines: 3092-3107
  0.000% (0/17)
115
QTextEdit::mouseMoveEvent
Name: QTextEdit::mouseMoveEvent
Prototype: void QTextEdit::mouseMoveEvent(QMouseEvent *e)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtextedit.cpp
Lines: 1577-1592
  0.000% (0/13)
125
QTextDocumentPrivate::setLayout
Name: QTextDocumentPrivate::setLayout
Prototype: void QTextDocumentPrivate::setLayout(QAbstractTextDocumentLayout *layout)
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocument_p.cpp
Lines: 298-317
  0.000% (0/12)
155
QTextDocumentPrivate::insert_block
Name: QTextDocumentPrivate::insert_block
Prototype: int QTextDocumentPrivate::insert_block(int pos, uint strPos, int format, int blockFormat, QTextUndoCommand::Operation op, int command)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocument_p.cpp
Lines: 348-392
  0.000% (0/17)
325
QTextDocumentPrivate::endEditBlock
Name: QTextDocumentPrivate::endEditBlock
Prototype: void QTextDocumentPrivate::endEditBlock()
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocument_p.cpp
Lines: 1183-1201
  0.000% (0/15)
115
QTextDocumentPrivate::clear
Name: QTextDocumentPrivate::clear
Prototype: void QTextDocumentPrivate::clear()
Coverage:  0.000% (0/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocument_p.cpp
Lines: 234-286
  0.000% (0/11)
355
QTextDocumentLayoutPrivate::floatMargins
Name: QTextDocumentLayoutPrivate::floatMargins
Prototype: void QTextDocumentLayoutPrivate::floatMargins(const QFixed &y, const QTextLayoutStruct *layoutStruct, QFixed *left, QFixed *right) const
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocumentlayout.cpp
Lines: 2804-2824
  0.000% (0/15)
105
QTextDocumentLayoutPrivate::drawBorder
Name: QTextDocumentLayoutPrivate::drawBorder
Prototype: void QTextDocumentLayoutPrivate::drawBorder(QPainter *painter, const QRectF &rect, qreal topMargin, qreal bottomMargin, qreal border, const QBrush &brush, QTextFrameFormat::BorderStyle style) const
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocumentlayout.cpp
Lines: 828-870
  0.000% (0/17)
195
QTextDocumentLayout::positionInlineObject
Name: QTextDocumentLayout::positionInlineObject
Prototype: void QTextDocumentLayout::positionInlineObject(QTextInlineObject item, int posInDocument, const QTextFormat &format)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocumentlayout.cpp
Lines: 3080-3105
  0.000% (0/15)
175
QTextDocumentLayout::hitTest
Name: QTextDocumentLayout::hitTest
Prototype: int QTextDocumentLayout::hitTest(const QPointF &point, Qt::HitTestAccuracy accuracy) const
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocumentlayout.cpp
Lines: 3013-3037
  0.000% (0/17)
195
QTextDocumentLayout::blockBoundingRect
Name: QTextDocumentLayout::blockBoundingRect
Prototype: QRectF QTextDocumentLayout::blockBoundingRect(const QTextBlock &block) const
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocumentlayout.cpp
Lines: 3271-3298
  0.000% (0/17)
195
QTextCursor::setPosition
Name: QTextCursor::setPosition
Prototype: void QTextCursor::setPosition(int pos, MoveMode m)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextcursor.cpp
Lines: 1149-1172
  0.000% (0/19)
155
QTextCursor::columnNumber
Name: QTextCursor::columnNumber
Prototype: int QTextCursor::columnNumber() const
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextcursor.cpp
Lines: 2552-2572
  0.000% (0/15)
135
QTextCursor::charFormat
Name: QTextCursor::charFormat
Prototype: QTextCharFormat QTextCursor::charFormat() const
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextcursor.cpp
Lines: 1871-1903
  0.000% (0/18)
205
QTextBrowserPrivate::_q_activateAnchor
Name: QTextBrowserPrivate::_q_activateAnchor
Prototype: void QTextBrowserPrivate::_q_activateAnchor(const QString &href)
Coverage:  0.000% (0/27)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtextbrowser.cpp
Lines: 205-244
  0.000% (0/27)
235
QTextBrowser::setSource
Name: QTextBrowser::setSource
Prototype: void QTextBrowser::setSource(const QUrl &url)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtextbrowser.cpp
Lines: 753-789
  0.000% (0/18)
225
QTextBrowser::keyPressEvent
Name: QTextBrowser::keyPressEvent
Prototype: void QTextBrowser::keyPressEvent(QKeyEvent *ev)
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtextbrowser.cpp
Lines: 920-986
  0.000% (0/10)
125
QTextBoundaryFinder::QTextBoundaryFinder
Name: QTextBoundaryFinder::QTextBoundaryFinder
Prototype: QTextBoundaryFinder::QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer, int bufferSize)
Coverage:  62.500% (10/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtextboundaryfinder.cpp
Lines: 268-288
 62.500% (10/16)
95
QTestXunitStreamer::outputElements
Name: QTestXunitStreamer::outputElements
Prototype: void QTestXunitStreamer::outputElements(QTestElement *element, bool) const
Coverage:  93.333% (14/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestxunitstreamer.cpp
Lines: 176-207
 93.333% (14/15)
175
QTestXunitStreamer::formatAfterAttributes
Name: QTestXunitStreamer::formatAfterAttributes
Prototype: void QTestXunitStreamer::formatAfterAttributes(const QTestElement *element, QTestCharBuffer *formatted) const
Coverage:  81.250% (13/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestxunitstreamer.cpp
Lines: 147-166
 81.250% (13/16)
105
QTestResult::verify
Name: QTestResult::verify
Prototype: bool QTestResult::verify(bool statement, const char *statementStr, const char *description, const char *file, int line)
Coverage:  88.235% (15/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestresult.cpp
Lines: 239-257
 88.235% (15/17)
105
QTestResult::expectFail
Name: QTestResult::expectFail
Prototype: bool QTestResult::expectFail(const char *dataIndex, const char *comment, QTest::TestFailMode mode, const char *file, int line)
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestresult.cpp
Lines: 192-213
 69.231% (9/13)
135
QTestPrivate::parseGpuBlackList
Name: QTestPrivate::parseGpuBlackList
Prototype: void parseGpuBlackList()
Coverage:  54.545% (6/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestblacklist.cpp
Lines: 258-267
 54.545% (6/11)
65
QTestPrivate::checkBlackLists
Name: QTestPrivate::checkBlackLists
Prototype: void checkBlackLists(const char *slot, const char *data)
Coverage:  66.667% (14/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestblacklist.cpp
Lines: 269-296
 66.667% (14/21)
165
QTestLog::printUnhandledIgnoreMessages
Name: QTestLog::printUnhandledIgnoreMessages
Prototype: void QTestLog::printUnhandledIgnoreMessages()
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestlog.cpp
Lines: 367-383
100.000% (10/10)
65
QTest::toHexRepresentation
Name: QTest::toHexRepresentation
Prototype: char *toHexRepresentation(const char *ba, int length)
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestcase.cpp
Lines: 1047-1101
  0.000% (0/12)
305
QTest::qt_asprintf
Name: QTest::qt_asprintf
Prototype: int qt_asprintf(QTestCharBuffer *str, const char *format, ...)
Coverage:  61.538% (8/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qabstracttestlogger.cpp
Lines: 133-164
 61.538% (8/13)
175
QTcpServerPrivate::resolveProxy
Name: QTcpServerPrivate::resolveProxy
Prototype: QNetworkProxy QTcpServerPrivate::resolveProxy(const QHostAddress &address, quint16 port)
Coverage: 100.000% (12/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 140-164
100.000% (12/12)
115
QTcpServer::setSocketDescriptor
Name: QTcpServer::setSocketDescriptor
Prototype: bool QTcpServer::setSocketDescriptor(qintptr socketDescriptor)
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qtcpserver.cpp
Lines: 403-444
 69.231% (9/13)
225
QTableViewPrivate::spanContainsSection
Name: QTableViewPrivate::spanContainsSection
Prototype: bool QTableViewPrivate::spanContainsSection(const QHeaderView *header, int logical, int spanLogical, int span) const
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtableview.cpp
Lines: 746-760
  0.000% (0/13)
115
QTableView::setVerticalHeader
Name: QTableView::setVerticalHeader
Prototype: void QTableView::setVerticalHeader(QHeaderView *header)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtableview.cpp
Lines: 1265-1293
  0.000% (0/17)
235
QTableView::setModel
Name: QTableView::setModel
Prototype: void QTableView::setModel(QAbstractItemModel *model)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtableview.cpp
Lines: 1114-1147
  0.000% (0/15)
275
QTableView::setHorizontalHeader
Name: QTableView::setHorizontalHeader
Prototype: void QTableView::setHorizontalHeader(QHeaderView *header)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtableview.cpp
Lines: 1227-1258
  0.000% (0/17)
245
QTableModel::sort
Name: QTableModel::sort
Prototype: void QTableModel::sort(int column, Qt::SortOrder order)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 495-537
  0.000% (0/17)
295
QTableModel::setVerticalHeaderItem
Name: QTableModel::setVerticalHeaderItem
Prototype: void QTableModel::setVerticalHeaderItem(int section, QTableWidgetItem *item)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 294-314
  0.000% (0/15)
145
QTableModel::setHorizontalHeaderItem
Name: QTableModel::setHorizontalHeaderItem
Prototype: void QTableModel::setHorizontalHeaderItem(int section, QTableWidgetItem *item)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 272-292
  0.000% (0/15)
145
QTableModel::setData
Name: QTableModel::setData
Prototype: bool QTableModel::setData(const QModelIndex &index, const QVariant &value, int role)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 410-433
  0.000% (0/13)
155
QTableModel::clear
Name: QTableModel::clear
Prototype: void QTableModel::clear()
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qtablewidget.cpp
Lines: 743-760
  0.000% (0/13)
115
QTabWidgetPrivate::updateTabBarPosition
Name: QTabWidgetPrivate::updateTabBarPosition
Prototype: void QTabWidgetPrivate::updateTabBarPosition()
Coverage:  0.000% (0/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabwidget.cpp
Lines: 933-955
  0.000% (0/9)
155
QTabWidget::sizeHint
Name: QTabWidget::sizeHint
Prototype: QSize QTabWidget::sizeHint() const
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabwidget.cpp
Lines: 820-847
  0.000% (0/14)
205
QTabWidget::setCornerWidget
Name: QTabWidget::setCornerWidget
Prototype: void QTabWidget::setCornerWidget(QWidget * widget, Qt::Corner corner)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabwidget.cpp
Lines: 577-593
  0.000% (0/16)
115
QTabBarPrivate::makeVisible
Name: QTabBarPrivate::makeVisible
Prototype: void QTabBarPrivate::makeVisible(int index)
Coverage:  0.000% (0/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 668-699
  0.000% (0/21)
215
QTabBar::tabRect
Name: QTabBar::tabRect
Prototype: QRect QTabBar::tabRect(int index) const
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 1263-1279
  0.000% (0/14)
125
QTabBar::minimumSizeHint
Name: QTabBar::minimumSizeHint
Prototype: QSize QTabBar::minimumSizeHint() const
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qtabbar.cpp
Lines: 1407-1422
  0.000% (0/13)
115
QSystemTrayIconPrivate::showMessage_sys_qpa
Name: QSystemTrayIconPrivate::showMessage_sys_qpa
Prototype: void QSystemTrayIconPrivate::showMessage_sys_qpa(const QString &title, const QString &message, QSystemTrayIcon::MessageIcon icon, int msecs)
Coverage:  0.000% (0/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/util/qsystemtrayicon.cpp
Lines: 726-747
  0.000% (0/9)
115
QSystemTrayIconPrivate::addPlatformMenu
Name: QSystemTrayIconPrivate::addPlatformMenu
Prototype: void QSystemTrayIconPrivate::addPlatformMenu(QMenu *menu) const
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/util/qsystemtrayicon.cpp
Lines: 749-768
  0.000% (0/13)
105
QSystemSemaphorePrivate::modifySemaphore
Name: QSystemSemaphorePrivate::modifySemaphore
Prototype: bool QSystemSemaphorePrivate::modifySemaphore(int count)
Coverage:  70.588% (12/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsystemsemaphore_systemv.cpp
Lines: 168-197
 70.588% (12/17)
185
QSystemSemaphorePrivate::cleanHandle
Name: QSystemSemaphorePrivate::cleanHandle
Prototype: void QSystemSemaphorePrivate::cleanHandle()
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsystemsemaphore_systemv.cpp
Lines: 141-163
 84.615% (11/13)
105
QSystemError::toString
Name: QSystemError::toString
Prototype: QString QSystemError::toString() const
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsystemerror.cpp
Lines: 154-171
 42.857% (3/7)
45
QStyledItemDelegate::updateEditorGeometry
Name: QStyledItemDelegate::updateEditorGeometry
Prototype: void QStyledItemDelegate::updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qstyleditemdelegate.cpp
Lines: 490-522
  0.000% (0/18)
165
QStyleSheetStyle::initObject
Name: QStyleSheetStyle::initObject
Prototype: bool QStyleSheetStyle::initObject(const QObject *obj) const
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 2741-2755
  0.000% (0/13)
105
QStyleHelper::angle
Name: QStyleHelper::angle
Prototype: qreal angle(const QPointF &p1, const QPointF &p2)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylehelper.cpp
Lines: 169-199
  0.000% (0/15)
175
QStyleFactory::create
Name: QStyleFactory::create
Prototype: QStyle *QStyleFactory::create(const QString& key)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylefactory.cpp
Lines: 108-162
  0.000% (0/14)
115
QStyle::sliderPositionFromValue
Name: QStyle::sliderPositionFromValue
Prototype: int QStyle::sliderPositionFromValue(int min, int max, int logicalValue, int span, bool upsideDown)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstyle.cpp
Lines: 2214-2237
  0.000% (0/19)
145
QStyle::alignedRect
Name: QStyle::alignedRect
Prototype: QRect QStyle::alignedRect(Qt::LayoutDirection direction, Qt::Alignment alignment, const QSize &size, const QRect &rectangle)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstyle.cpp
Lines: 2165-2181
  0.000% (0/13)
145
QStringRef::mid
Name: QStringRef::mid
Prototype: QStringRef QStringRef::mid(int pos, int n) const
Coverage:  88.889% (8/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 9605-9620
 88.889% (8/9)
85
QStringListModel::sort
Name: QStringListModel::sort
Prototype: void QStringListModel::sort(int, Qt::SortOrder order)
Coverage:  85.714% (12/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qstringlistmodel.cpp
Lines: 267-298
 85.714% (12/14)
225
QString::section
Name: QString::section
Prototype: QString QString::section(const QRegularExpression &re, int start, int end, SectionFlags flags) const
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4315-4343
 69.231% (9/13)
205
QString::rightJustified
Name: QString::rightJustified
Prototype: QString QString::rightJustified(int width, QChar fill, bool truncate) const
Coverage: 100.000% (14/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5738-5757
100.000% (14/14)
145
QString::resize
Name: QString::resize
Prototype: void QString::resize(int size)
Coverage:  89.474% (17/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1673-1689
 89.474% (17/19)
105
QString::remove
Name: QString::remove
Prototype: QString &QString::remove(int pos, int len)
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 2240-2255
 69.231% (9/13)
115
QString::multiArg
Name: QString::multiArg
Prototype: QString QString::multiArg(int numArgs, const QString **args) const
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 7986-8015
 84.615% (11/13)
155
QString::midRef
Name: QString::midRef
Prototype: QStringRef QString::midRef(int position, int n) const
Coverage:  88.889% (8/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 9642-9657
 88.889% (8/9)
85
QString::mid
Name: QString::mid
Prototype: QString QString::mid(int position, int n) const
Coverage:  88.889% (8/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4400-4418
 88.889% (8/9)
95
QString::leftJustified
Name: QString::leftJustified
Prototype: QString QString::leftJustified(int width, QChar fill, bool truncate) const
Coverage: 100.000% (14/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5699-5718
100.000% (14/14)
145
QString::lastIndexOf
Name: QString::lastIndexOf
Prototype: int QString::lastIndexOf(const QRegularExpression &re, int from, QRegularExpressionMatch *rmatch) const
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 3973-3996
100.000% (15/15)
155
QString::insert
Name: QString::insert
Prototype: QString& QString::insert(int i, const QChar *unicode, int size)
Coverage:  83.333% (15/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 1998-2022
 83.333% (15/18)
165
QString::fromLocal8Bit_helper
Name: QString::fromLocal8Bit_helper
Prototype: QString QString::fromLocal8Bit_helper(const char *str, int size)
Coverage:  82.353% (14/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4743-4759
 82.353% (14/17)
115
QString::fromLatin1_helper
Name: QString::fromLatin1_helper
Prototype: QString::Data *QString::fromLatin1_helper(const char *str, int size)
Coverage:  72.222% (13/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 4678-4697
 72.222% (13/18)
145
QStorageInfoPrivate::mountedVolumes
Name: QStorageInfoPrivate::mountedVolumes
Prototype: QList<QStorageInfo> QStorageInfoPrivate::mountedVolumes()
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstorageinfo_unix.cpp
Lines: 564-584
 84.615% (11/13)
135
QStatusBar::showMessage
Name: QStatusBar::showMessage
Prototype: void QStatusBar::showMessage(const QString &message, int timeout)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qstatusbar.cpp
Lines: 548-567
  0.000% (0/13)
135
QStatusBar::paintEvent
Name: QStatusBar::paintEvent
Prototype: void QStatusBar::paintEvent(QPaintEvent *event)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qstatusbar.cpp
Lines: 665-692
  0.000% (0/19)
195
QStatusBar::insertWidget
Name: QStatusBar::insertWidget
Prototype: int QStatusBar::insertWidget(int index, QWidget *widget, int stretch)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qstatusbar.cpp
Lines: 296-319
  0.000% (0/15)
155
QStateMachinePrivate::unregisterSignalTransition
Name: QStateMachinePrivate::unregisterSignalTransition
Prototype: void QStateMachinePrivate::unregisterSignalTransition(QSignalTransition *transition)
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 2299-2322
 84.615% (11/13)
185
QStateMachinePrivate::unregisterRestorables
Name: QStateMachinePrivate::unregisterRestorables
Prototype: void QStateMachinePrivate::unregisterRestorables(const QList<QAbstractState *> &states, QObject *object, const QByteArray &propertyName)
Coverage: 100.000% (13/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 1339-1363
100.000% (13/13)
145
QStateMachinePrivate::unregisterEventTransition
Name: QStateMachinePrivate::unregisterEventTransition
Prototype: void QStateMachinePrivate::unregisterEventTransition(QEventTransition *transition)
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 2376-2396
 84.615% (11/13)
165
QStateMachinePrivate::unregisterAllTransitions
Name: QStateMachinePrivate::unregisterAllTransitions
Prototype: void QStateMachinePrivate::unregisterAllTransitions()
Coverage:  92.308% (12/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 2324-2343
 92.308% (12/13)
115
QStateMachinePrivate::transitionStateEntryLessThan
Name: QStateMachinePrivate::transitionStateEntryLessThan
Prototype: bool QStateMachinePrivate::transitionStateEntryLessThan(QAbstractTransition *t1, QAbstractTransition *t2)
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 464-486
 69.231% (9/13)
175
QStateMachinePrivate::registerEventTransition
Name: QStateMachinePrivate::registerEventTransition
Prototype: void QStateMachinePrivate::registerEventTransition(QEventTransition *transition)
Coverage:  73.333% (11/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 2352-2374
 73.333% (11/15)
145
QStateMachinePrivate::processEvents
Name: QStateMachinePrivate::processEvents
Prototype: void QStateMachinePrivate::processEvents(EventProcessingMode processingMode)
Coverage:  80.000% (12/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 2020-2036
 80.000% (12/15)
105
QStateMachinePrivate::initializeAnimation
Name: QStateMachinePrivate::initializeAnimation
Prototype: QStateMachinePrivate::InitializeAnimationResult QStateMachinePrivate::initializeAnimation(QAbstractAnimation *abstractAnimation, const QPropertyAssignment &prop)
Coverage:  94.444% (17/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 1521-1549
 94.444% (17/18)
175
QStateMachinePrivate::createInitialTransition
Name: QStateMachinePrivate::createInitialTransition
Prototype: QAbstractTransition *QStateMachinePrivate::createInitialTransition() const
Coverage:  85.714% (6/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 1718-1743
 85.714% (6/7)
125
QStateMachinePrivate::computePropertyAssignments
Name: QStateMachinePrivate::computePropertyAssignments
Prototype: QHash<QAbstractState*, QVector<QPropertyAssignment> > QStateMachinePrivate::computePropertyAssignments( const QList<QAbstractState*> &statesToEnter_sorted, QHash<RestorableId, QVariant> &pendingRestorables) const
Coverage: 100.000% (13/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 1422-1443
100.000% (13/13)
135
QStateMachine::start
Name: QStateMachine::start
Prototype: void QStateMachine::start()
Coverage:  83.333% (10/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 2620-2640
 83.333% (10/12)
115
QStateMachine::cancelDelayedEvent
Name: QStateMachine::cancelDelayedEvent
Prototype: bool QStateMachine::cancelDelayedEvent(int id)
Coverage:  85.714% (12/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/statemachine/qstatemachine.cpp
Lines: 2782-2810
 85.714% (12/14)
205
QStandardPaths::findExecutable
Name: QStandardPaths::findExecutable
Prototype: QString QStandardPaths::findExecutable(const QString &executableName, const QStringList &paths)
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qstandardpaths.cpp
Lines: 504-536
 69.231% (9/13)
135
QStandardItemPrivate::setItemData
Name: QStandardItemPrivate::setItemData
Prototype: void QStandardItemPrivate::setItemData(const QMap<int, QVariant> &roles)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/itemmodels/qstandarditemmodel.cpp
Lines: 200-220
  0.000% (0/15)
125
QStackedLayout::sizeHint
Name: QStackedLayout::sizeHint
Prototype: QSize QStackedLayout::sizeHint() const
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qstackedlayout.cpp
Lines: 436-452
  0.000% (0/12)
125
QStackedLayout::insertWidget
Name: QStackedLayout::insertWidget
Prototype: int QStackedLayout::insertWidget(int index, QWidget *widget)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qstackedlayout.cpp
Lines: 220-240
  0.000% (0/14)
165
QSslSocketPrivate::peek
Name: QSslSocketPrivate::peek
Prototype: qint64 QSslSocketPrivate::peek(char *data, qint64 maxSize)
Coverage:  66.667% (10/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2575-2597
 66.667% (10/15)
125
QSslSocketPrivate::isMatchingHostname
Name: QSslSocketPrivate::isMatchingHostname
Prototype: bool QSslSocketPrivate::isMatchingHostname(const QSslCertificate &cert, const QString &peerName)
Coverage:  54.545% (6/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2664-2682
 54.545% (6/11)
115
QSslSocketPrivate::ensureCiphersAndCertsLoaded
Name: QSslSocketPrivate::ensureCiphersAndCertsLoaded
Prototype: void QSslSocketPrivate::ensureCiphersAndCertsLoaded()
Coverage:  61.538% (8/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 510-567
 61.538% (8/13)
165
QSslSocket::startClientEncryption
Name: QSslSocket::startClientEncryption
Prototype: void QSslSocket::startClientEncryption()
Coverage:  61.538% (8/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 1793-1812
 61.538% (8/13)
245
QSslKeyPrivate::pemFromDer
Name: QSslKeyPrivate::pemFromDer
Prototype: QByteArray QSslKeyPrivate::pemFromDer(const QByteArray &der, const QMap<QByteArray, QByteArray> &headers) const
Coverage:  61.538% (8/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslkey_p.cpp
Lines: 143-170
 61.538% (8/13)
185
QSslCertificatePrivate::text_from_X509
Name: QSslCertificatePrivate::text_from_X509
Prototype: QString QSslCertificatePrivate::text_from_X509(X509 *x509)
Coverage:  38.462% (5/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 557-580
 38.462% (5/13)
145
QSqlResult::execBatch
Name: QSqlResult::execBatch
Prototype: bool QSqlResult::execBatch(bool arrayBind)
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlresult.cpp
Lines: 948-963
 69.231% (9/13)
115
QSqlQueryModel::setQuery
Name: QSqlQueryModel::setQuery
Prototype: void QSqlQueryModel::setQuery(const QSqlQuery &query)
Coverage:  66.667% (12/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 409-453
 66.667% (12/18)
285
QSqlQueryModel::insertColumns
Name: QSqlQueryModel::insertColumns
Prototype: bool QSqlQueryModel::insertColumns(int column, int count, const QModelIndex &parent)
Coverage:  90.476% (19/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 606-628
 90.476% (19/21)
175
QSqlQueryModel::headerData
Name: QSqlQueryModel::headerData
Prototype: QVariant QSqlQueryModel::headerData(int section, Qt::Orientation orientation, int role) const
Coverage:  94.737% (18/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 369-382
 94.737% (18/19)
105
QSqlQuery::prepare
Name: QSqlQuery::prepare
Prototype: bool QSqlQuery::prepare(const QString& query)
Coverage:  56.250% (9/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 958-987
 56.250% (9/16)
195
Page:<>1
McCabe - Cyclomatic Complexity: 439
...10
McCabe - Cyclomatic Complexity: 15
...20
McCabe - Cyclomatic Complexity: 9
...30
McCabe - Cyclomatic Complexity: 7
...40
McCabe - Cyclomatic Complexity: 6
41
McCabe - Cyclomatic Complexity: 5
42
McCabe - Cyclomatic Complexity: 5
43
McCabe - Cyclomatic Complexity: 5
4445
McCabe - Cyclomatic Complexity: 5
46
McCabe - Cyclomatic Complexity: 5
47
McCabe - Cyclomatic Complexity: 5
48
McCabe - Cyclomatic Complexity: 5
...50
McCabe - Cyclomatic Complexity: 5
...60
McCabe - Cyclomatic Complexity: 4
...70
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