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
...43
McCabe - Cyclomatic Complexity: 5
44
McCabe - Cyclomatic Complexity: 5
45
McCabe - Cyclomatic Complexity: 5
46
McCabe - Cyclomatic Complexity: 5
4748
McCabe - Cyclomatic Complexity: 5
49
McCabe - Cyclomatic Complexity: 5
50
McCabe - Cyclomatic Complexity: 5
51
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â–¾
QMenu::mousePressEvent
Name: QMenu::mousePressEvent
Prototype: void QMenu::mousePressEvent(QMouseEvent *e)
Coverage:  0.000% (0/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmenu.cpp
Lines: 2632-2655
  0.000% (0/21)
155
QMenu::internalDelayedPopup
Name: QMenu::internalDelayedPopup
Prototype: void QMenu::internalDelayedPopup()
Coverage:  0.000% (0/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmenu.cpp
Lines: 3378-3412
  0.000% (0/21)
185
QMenu::hideEvent
Name: QMenu::hideEvent
Prototype: void QMenu::hideEvent(QHideEvent *)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmenu.cpp
Lines: 2493-2516
  0.000% (0/13)
175
QMdiSubWindowPrivate::updateWindowTitle
Name: QMdiSubWindowPrivate::updateWindowTitle
Prototype: void QMdiSubWindowPrivate::updateWindowTitle(bool isRequestFromChild)
Coverage:  0.000% (0/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmdisubwindow.cpp
Lines: 1865-1886
  0.000% (0/22)
155
QMdiSubWindowPrivate::setNormalMode
Name: QMdiSubWindowPrivate::setNormalMode
Prototype: void QMdiSubWindowPrivate::setNormalMode()
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmdisubwindow.cpp
Lines: 1254-1320
  0.000% (0/15)
425
QMdiSubWindowPrivate::removeBaseWidget
Name: QMdiSubWindowPrivate::removeBaseWidget
Prototype: void QMdiSubWindowPrivate::removeBaseWidget()
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmdisubwindow.cpp
Lines: 990-1011
  0.000% (0/13)
165
QMdiSubWindowPrivate::drawTitleBarWhenMaximized
Name: QMdiSubWindowPrivate::drawTitleBarWhenMaximized
Prototype: bool QMdiSubWindowPrivate::drawTitleBarWhenMaximized() const
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmdisubwindow.cpp
Lines: 1763-1790
  0.000% (0/17)
125
QMdiSubWindowPrivate::_q_enterInteractiveMode
Name: QMdiSubWindowPrivate::_q_enterInteractiveMode
Prototype: void QMdiSubWindowPrivate::_q_enterInteractiveMode()
Coverage:  0.000% (0/30)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmdisubwindow.cpp
Lines: 911-951
  0.000% (0/30)
255
QMdiSubWindow::showEvent
Name: QMdiSubWindow::showEvent
Prototype: void QMdiSubWindow::showEvent(QShowEvent *showEvent)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmdisubwindow.cpp
Lines: 2927-2960
  0.000% (0/13)
105
QMdiSubWindow::setSystemMenu
Name: QMdiSubWindow::setSystemMenu
Prototype: void QMdiSubWindow::setSystemMenu(QMenu *systemMenu)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmdisubwindow.cpp
Lines: 2507-2526
  0.000% (0/13)
125
QMdiAreaTabBar::contextMenuEvent
Name: QMdiAreaTabBar::contextMenuEvent
Prototype: void QMdiAreaTabBar::contextMenuEvent(QContextMenuEvent *event)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmdiarea.cpp
Lines: 606-643
  0.000% (0/15)
215
QMdiAreaPrivate::resetActiveWindow
Name: QMdiAreaPrivate::resetActiveWindow
Prototype: void QMdiAreaPrivate::resetActiveWindow(QMdiSubWindow *deactivatedWindow)
Coverage:  0.000% (0/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmdiarea.cpp
Lines: 1099-1119
  0.000% (0/21)
145
QMdiAreaPrivate::activateWindow
Name: QMdiAreaPrivate::activateWindow
Prototype: void QMdiAreaPrivate::activateWindow(QMdiSubWindow *child)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmdiarea.cpp
Lines: 995-1015
  0.000% (0/15)
135
QMdiArea::sizeHint
Name: QMdiArea::sizeHint
Prototype: QSize QMdiArea::sizeHint() const
Coverage:  0.000% (0/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmdiarea.cpp
Lines: 1736-1757
  0.000% (0/11)
145
QMdiArea::addSubWindow
Name: QMdiArea::addSubWindow
Prototype: QMdiSubWindow *QMdiArea::addSubWindow(QWidget *widget, Qt::WindowFlags windowFlags)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmdiarea.cpp
Lines: 1966-1997
  0.000% (0/14)
195
QMatrix4x4::mapRect
Name: QMatrix4x4::mapRect
Prototype: QRectF QMatrix4x4::mapRect(const QRectF& rect) const
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/math3d/qmatrix4x4.cpp
Lines: 1842-1873
  0.000% (0/13)
215
QMatrix4x4::mapRect
Name: QMatrix4x4::mapRect
Prototype: QRect QMatrix4x4::mapRect(const QRect& rect) const
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/math3d/qmatrix4x4.cpp
Lines: 1796-1832
  0.000% (0/13)
265
QMatrix4x4::QMatrix4x4
Name: QMatrix4x4::QMatrix4x4
Prototype: QMatrix4x4::QMatrix4x4(const float *values, int cols, int rows)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/math3d/qmatrix4x4.cpp
Lines: 175-188
  0.000% (0/15)
85
QMapDataBase::createNode
Name: QMapDataBase::createNode
Prototype: QMapNodeBase *QMapDataBase::createNode(int alloc, int alignment, QMapNodeBase *parent, bool left)
Coverage:  85.714% (12/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qmap.cpp
Lines: 327-347
 85.714% (12/14)
135
QMainWindowLayoutState::indexOf
Name: QMainWindowLayoutState::indexOf
Prototype: QList<int> QMainWindowLayoutState::indexOf(QWidget *widget) const
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmainwindowlayout.cpp
Lines: 560-585
  0.000% (0/15)
125
QMainWindowLayoutState::gapIndex
Name: QMainWindowLayoutState::gapIndex
Prototype: QList<int> QMainWindowLayoutState::gapIndex(QWidget *widget, const QPoint &pos) const
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmainwindowlayout.cpp
Lines: 637-664
  0.000% (0/15)
135
QMainWindowLayout::updateGapIndicator
Name: QMainWindowLayout::updateGapIndicator
Prototype: void QMainWindowLayout::updateGapIndicator()
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmainwindowlayout.cpp
Lines: 2356-2375
  0.000% (0/19)
125
QMainWindow::setMenuBar
Name: QMainWindow::setMenuBar
Prototype: void QMainWindow::setMenuBar(QMenuBar *menuBar)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmainwindow.cpp
Lines: 542-563
  0.000% (0/15)
135
QMainWindow::addDockWidget
Name: QMainWindow::addDockWidget
Prototype: void QMainWindow::addDockWidget(Qt::DockWidgetArea area, QDockWidget *dockwidget)
Coverage:  0.000% (0/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmainwindow.cpp
Lines: 1086-1117
  0.000% (0/9)
95
QLockFilePrivate::processNameByPid
Name: QLockFilePrivate::processNameByPid
Prototype: QString QLockFilePrivate::processNameByPid(qint64 pid)
Coverage:  44.444% (4/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile_unix.cpp
Lines: 262-318
 44.444% (4/9)
85
QLocale::weekdays
Name: QLocale::weekdays
Prototype: QList<Qt::DayOfWeek> QLocale::weekdays() const
Coverage:  0.000% (0/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 2346-2364
  0.000% (0/23)
125
QLocale::toCurrencyString
Name: QLocale::toCurrencyString
Prototype: QString QLocale::toCurrencyString(qlonglong value, const QString &symbol) const
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 3425-3449
  0.000% (0/17)
185
QLocale::toCurrencyString
Name: QLocale::toCurrencyString
Prototype: QString QLocale::toCurrencyString(double value, const QString &symbol, int precision) const
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 3497-3521
  0.000% (0/17)
185
QLocale::timeFormat
Name: QLocale::timeFormat
Prototype: QString QLocale::timeFormat(FormatType format) const
Coverage:  81.818% (9/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 1709-1733
 81.818% (9/11)
155
QLocale::dateFormat
Name: QLocale::dateFormat
Prototype: QString QLocale::dateFormat(FormatType format) const
Coverage:  81.818% (9/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale.cpp
Lines: 1672-1696
 81.818% (9/11)
155
QLocalSocket::waitForConnected
Name: QLocalSocket::waitForConnected
Prototype: bool QLocalSocket::waitForConnected(int msec)
Coverage:  11.765% (2/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 513-537
 11.765% (2/17)
155
QLocalSocket::setSocketDescriptor
Name: QLocalSocket::setSocketDescriptor
Prototype: bool QLocalSocket::setSocketDescriptor(qintptr socketDescriptor, LocalSocketState socketState, OpenMode openMode)
Coverage:  55.556% (5/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 344-367
 55.556% (5/9)
155
QLocalServerPrivate::listen
Name: QLocalServerPrivate::listen
Prototype: bool QLocalServerPrivate::listen(qintptr socketDescriptor)
Coverage:  66.667% (10/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalserver_unix.cpp
Lines: 196-236
 66.667% (10/15)
235
QListViewPrivate::scrollElasticBandBy
Name: QListViewPrivate::scrollElasticBandBy
Prototype: void QListViewPrivate::scrollElasticBandBy(int dx, int dy)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qlistview.cpp
Lines: 3204-3214
  0.000% (0/13)
85
QListView::scrollTo
Name: QListView::scrollTo
Prototype: void QListView::scrollTo(const QModelIndex &index, ScrollHint hint)
Coverage:  0.000% (0/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qlistview.cpp
Lines: 570-588
  0.000% (0/21)
115
QListView::doItemsLayout
Name: QListView::doItemsLayout
Prototype: void QListView::doItemsLayout()
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qlistview.cpp
Lines: 1456-1475
  0.000% (0/13)
125
QListModel::insert
Name: QListModel::insert
Prototype: void QListModel::insert(int row, QListWidgetItem *item)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qlistwidget.cpp
Lines: 108-130
  0.000% (0/16)
165
QListModeViewBase::initStaticLayout
Name: QListModeViewBase::initStaticLayout
Prototype: QPoint QListModeViewBase::initStaticLayout(const QListViewLayoutInfo &info)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qlistview.cpp
Lines: 2383-2414
  0.000% (0/14)
235
QListModeViewBase::horizontalOffset
Name: QListModeViewBase::horizontalOffset
Prototype: int QListModeViewBase::horizontalOffset() const
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qlistview.cpp
Lines: 2227-2246
  0.000% (0/17)
145
QListData::detach_grow
Name: QListData::detach_grow
Prototype: QListData::Data *QListData::detach_grow(int *idx, int num)
Coverage:  71.429% (10/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlist.cpp
Lines: 73-107
 71.429% (10/14)
225
QLineF::intersect
Name: QLineF::intersect
Prototype: QLineF::IntersectType QLineF::intersect(const QLineF &l, QPointF *intersectionPoint) const
Coverage:  84.211% (16/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qline.cpp
Lines: 658-682
 84.211% (16/19)
165
QLineEditPrivate::sendMouseEventToInputContext
Name: QLineEditPrivate::sendMouseEventToInputContext
Prototype: bool QLineEditPrivate::sendMouseEventToInputContext( QMouseEvent *e )
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qlineedit_p.cpp
Lines: 277-298
  0.000% (0/15)
105
QLineEditPrivate::findSideWidget
Name: QLineEditPrivate::findSideWidget
Prototype: QLineEditPrivate::PositionIndexPair QLineEditPrivate::findSideWidget(const QAction *a) const
Coverage:  0.000% (0/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qlineedit_p.cpp
Lines: 476-491
  0.000% (0/9)
115
QLineEditIconButton::actionEvent
Name: QLineEditIconButton::actionEvent
Prototype: void QLineEditIconButton::actionEvent(QActionEvent *e)
Coverage:  0.000% (0/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qlineedit_p.cpp
Lines: 350-366
  0.000% (0/11)
95
QLineEdit::getTextMargins
Name: QLineEdit::getTextMargins
Prototype: void QLineEdit::getTextMargins(int *left, int *top, int *right, int *bottom) const
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qlineedit.cpp
Lines: 1130-1141
  0.000% (0/13)
95
QLibraryStore::findOrCreate
Name: QLibraryStore::findOrCreate
Prototype: inline QLibraryPrivate *QLibraryStore::findOrCreate(const QString &fileName, const QString &version, QLibrary::LoadHints loadHints)
Coverage:  86.667% (13/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/plugin/qlibrary.cpp
Lines: 442-464
 86.667% (13/15)
135
QLibraryPrivate::unload
Name: QLibraryPrivate::unload
Prototype: bool QLibraryPrivate::unload(UnloadFlag flag)
Coverage:  70.588% (12/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/plugin/qlibrary.cpp
Lines: 557-576
 70.588% (12/17)
125
QLibraryPrivate::loadPlugin
Name: QLibraryPrivate::loadPlugin
Prototype: bool QLibraryPrivate::loadPlugin()
Coverage:  46.154% (6/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/plugin/qlibrary.cpp
Lines: 583-599
 46.154% (6/13)
125
QLibraryInfoPrivate::findConfiguration
Name: QLibraryInfoPrivate::findConfiguration
Prototype: QSettings *QLibraryInfoPrivate::findConfiguration()
Coverage: 100.000% (11/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qlibraryinfo.cpp
Lines: 164-197
100.000% (11/11)
85
QLibrary::isLibrary
Name: QLibrary::isLibrary
Prototype: bool QLibrary::isLibrary(const QString &fileName)
Coverage:  75.000% (12/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/plugin/qlibrary.cpp
Lines: 616-675
 75.000% (12/16)
155
QLayoutPrivate::getMargin
Name: QLayoutPrivate::getMargin
Prototype: void QLayoutPrivate::getMargin(int *result, int userMargin, QStyle::PixelMetric pm) const
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qlayout.cpp
Lines: 164-179
  0.000% (0/13)
105
QLayout::spacing
Name: QLayout::spacing
Prototype: int QLayout::spacing() const
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qlayout.cpp
Lines: 317-334
  0.000% (0/13)
105
QLayout::childEvent
Name: QLayout::childEvent
Prototype: void QLayout::childEvent(QChildEvent *e)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qlayout.cpp
Lines: 632-653
  0.000% (0/13)
135
QLabelPrivate::clearContents
Name: QLabelPrivate::clearContents
Prototype: void QLabelPrivate::clearContents()
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qlabel.cpp
Lines: 1285-1327
  0.000% (0/13)
275
QLabelPrivate::_q_linkHovered
Name: QLabelPrivate::_q_linkHovered
Prototype: void QLabelPrivate::_q_linkHovered(const QString &anchor)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qlabel.cpp
Lines: 1564-1584
  0.000% (0/14)
135
QLabel::minimumSizeHint
Name: QLabel::minimumSizeHint
Prototype: QSize QLabel::minimumSizeHint() const
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qlabel.cpp
Lines: 842-866
  0.000% (0/14)
175
QKeySequenceEditPrivate::translateModifiers
Name: QKeySequenceEditPrivate::translateModifiers
Prototype: int QKeySequenceEditPrivate::translateModifiers(Qt::KeyboardModifiers state, const QString &text)
Coverage:  0.000% (0/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qkeysequenceedit.cpp
Lines: 81-99
  0.000% (0/21)
135
QKdPointTree::build
Name: QKdPointTree::build
Prototype: int QKdPointTree::build(int begin, int end, int depth)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpathclipper.cpp
Lines: 668-701
  0.000% (0/15)
185
QJsonPrivate::Base::reserveSpace
Name: QJsonPrivate::Base::reserveSpace
Prototype: int Base::reserveSpace(uint dataSize, int posInTable, uint numItems, bool replace)
Coverage:  64.286% (9/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjson.cpp
Lines: 149-174
 64.286% (9/14)
175
QJsonDocument::setObject
Name: QJsonDocument::setObject
Prototype: void QJsonDocument::setObject(const QJsonObject &object)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp
Lines: 474-494
  0.000% (0/18)
145
QJsonDocument::setArray
Name: QJsonDocument::setArray
Prototype: void QJsonDocument::setArray(const QJsonArray &array)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp
Lines: 501-521
  0.000% (0/18)
145
QJsonDocument::operator==
Name: QJsonDocument::operator==
Prototype: bool QJsonDocument::operator==(const QJsonDocument &other) const
Coverage:  13.333% (2/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp
Lines: 526-543
 13.333% (2/15)
115
QJsonDocument::fromBinaryData
Name: QJsonDocument::fromBinaryData
Prototype: QJsonDocument QJsonDocument::fromBinaryData(const QByteArray &data, DataValidation validation)
Coverage:  42.105% (8/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsondocument.cpp
Lines: 228-257
 42.105% (8/19)
195
QJsonArray::insert
Name: QJsonArray::insert
Prototype: void QJsonArray::insert(int i, const QJsonValue &value)
Coverage:  66.667% (10/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonarray.cpp
Lines: 480-505
 66.667% (10/15)
185
QItemSelectionRange::isEmpty
Name: QItemSelectionRange::isEmpty
Prototype: bool QItemSelectionRange::isEmpty() const
Coverage:  38.462% (5/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 344-358
 38.462% (5/13)
95
QItemSelectionModelPrivate::_q_columnsAboutToBeRemoved
Name: QItemSelectionModelPrivate::_q_columnsAboutToBeRemoved
Prototype: void QItemSelectionModelPrivate::_q_columnsAboutToBeRemoved(const QModelIndex &parent, int start, int end)
Coverage:  95.000% (19/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 763-789
 95.000% (19/20)
175
QItemSelectionModel::selectedRows
Name: QItemSelectionModel::selectedRows
Prototype: QModelIndexList QItemSelectionModel::selectedRows(int column) const
Coverage:  92.308% (12/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1655-1678
 92.308% (12/13)
135
QItemSelectionModel::selectedColumns
Name: QItemSelectionModel::selectedColumns
Prototype: QModelIndexList QItemSelectionModel::selectedColumns(int row) const
Coverage:  92.308% (12/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1687-1710
 92.308% (12/13)
135
QItemDelegatePrivate::textLayoutBounds
Name: QItemDelegatePrivate::textLayoutBounds
Prototype: QRect QItemDelegatePrivate::textLayoutBounds(const QStyleOptionViewItem &option) const
Coverage:  0.000% (0/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qitemdelegate.cpp
Lines: 129-145
  0.000% (0/7)
85
QItemDelegate::drawCheck
Name: QItemDelegate::drawCheck
Prototype: void QItemDelegate::drawCheck(QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect, Qt::CheckState state) const
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qitemdelegate.cpp
Lines: 735-762
  0.000% (0/12)
165
QInternalMimeData::renderDataHelper
Name: QInternalMimeData::renderDataHelper
Prototype: QByteArray QInternalMimeData::renderDataHelper(const QString &mimeType, const QMimeData *data)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/kernel/qdnd.cpp
Lines: 311-351
  0.000% (0/18)
225
QInt64Set::rehash
Name: QInt64Set::rehash
Prototype: bool QInt64Set::rehash(int capacity)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qtriangulator.cpp
Lines: 505-527
  0.000% (0/13)
155
QInt64Set::contains
Name: QInt64Set::contains
Prototype: bool QInt64Set::contains(quint64 key) const
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qtriangulator.cpp
Lines: 550-564
  0.000% (0/13)
115
QInputDialog::setOptions
Name: QInputDialog::setOptions
Prototype: void QInputDialog::setOptions(InputDialogOptions options)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/dialogs/qinputdialog.cpp
Lines: 662-679
  0.000% (0/17)
125
QImageWriterPrivate::canWriteHelper
Name: QImageWriterPrivate::canWriteHelper
Prototype: bool QImageWriterPrivate::canWriteHelper()
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qimagewriter.cpp
Lines: 293-313
  0.000% (0/15)
155
QImageScale::qimageCalcYPoints
Name: QImageScale::qimageCalcYPoints
Prototype: const unsigned int** QImageScale::qimageCalcYPoints(const unsigned int *src, int sw, int sh, int dh)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qimagescale.cpp
Lines: 111-139
  0.000% (0/15)
195
QImageScale::qimageCalcXPoints
Name: QImageScale::qimageCalcXPoints
Prototype: int* QImageScale::qimageCalcXPoints(int sw, int dw)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qimagescale.cpp
Lines: 141-168
  0.000% (0/15)
185
QImageData::convertInPlace
Name: QImageData::convertInPlace
Prototype: bool QImageData::convertInPlace(QImage::Format newFormat, Qt::ImageConversionFlags flags)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qimage.cpp
Lines: 4764-4782
  0.000% (0/19)
105
QImage::text
Name: QImage::text
Prototype: QString QImage::text(const QString &key) const
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qimage.cpp
Lines: 3776-3790
  0.000% (0/13)
105
QImage::setColorTable
Name: QImage::setColorTable
Prototype: void QImage::setColorTable(const QVector<QRgb> colors)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qimage.cpp
Lines: 1390-1413
  0.000% (0/13)
115
QImage::setColor
Name: QImage::setColor
Prototype: void QImage::setColor(int i, QRgb c)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qimage.cpp
Lines: 1531-1549
  0.000% (0/17)
125
QImage::mirrored_helper
Name: QImage::mirrored_helper
Prototype: QImage QImage::mirrored_helper(bool horizontal, bool vertical) const
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qimage.cpp
Lines: 3101-3124
  0.000% (0/19)
135
QImage::detach
Name: QImage::detach
Prototype: void QImage::detach()
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qimage.cpp
Lines: 1104-1116
  0.000% (0/17)
75
QImage::convertToFormat
Name: QImage::convertToFormat
Prototype: QImage QImage::convertToFormat(Format format, const QVector<QRgb> &colorTable, Qt::ImageConversionFlags flags) const
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qimage.cpp
Lines: 2131-2153
  0.000% (0/17)
145
QIcuCodec::convertToUnicode
Name: QIcuCodec::convertToUnicode
Prototype: QString QIcuCodec::convertToUnicode(const char *chars, int length, QTextCodec::ConverterState *state) const
Coverage:  53.846% (7/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/codecs/qicucodec.cpp
Lines: 595-627
 53.846% (7/13)
235
QIcuCodec::convertFromUnicode
Name: QIcuCodec::convertFromUnicode
Prototype: QByteArray QIcuCodec::convertFromUnicode(const QChar *unicode, int length, QTextCodec::ConverterState *state) const
Coverage:  63.636% (7/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/codecs/qicucodec.cpp
Lines: 630-662
 63.636% (7/11)
245
QIconLoaderEngine::entryForSize
Name: QIconLoaderEngine::entryForSize
Prototype: QIconLoaderEngineEntry *QIconLoaderEngine::entryForSize(const QSize &size)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qiconloader.cpp
Lines: 605-634
  0.000% (0/13)
155
QIcon::addFile
Name: QIcon::addFile
Prototype: void QIcon::addFile(const QString &fileName, const QSize &size, Mode mode, State state)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qicon.cpp
Lines: 1027-1050
  0.000% (0/15)
145
QIODevice::ungetChar
Name: QIODevice::ungetChar
Prototype: void QIODevice::ungetChar(char c)
Coverage:  46.154% (6/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qiodevice.cpp
Lines: 1708-1725
 46.154% (6/13)
85
QHttpThreadDelegate::headerChangedSlot
Name: QHttpThreadDelegate::headerChangedSlot
Prototype: void QHttpThreadDelegate::headerChangedSlot()
Coverage:  76.471% (13/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpthreaddelegate.cpp
Lines: 585-628
 76.471% (13/17)
235
QHttpSocketEngine::setReadNotificationEnabled
Name: QHttpSocketEngine::setReadNotificationEnabled
Prototype: void QHttpSocketEngine::setReadNotificationEnabled(bool enable)
Coverage:  93.333% (14/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 459-474
 93.333% (14/15)
95
QHttpSocketEngine::connectInternal
Name: QHttpSocketEngine::connectInternal
Prototype: bool QHttpSocketEngine::connectInternal()
Coverage:  41.176% (7/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 135-165
 41.176% (7/17)
155
QHttpPartPrivate::readData
Name: QHttpPartPrivate::readData
Prototype: qint64 QHttpPartPrivate::readData(char *data, qint64 maxSize)
Coverage:  76.923% (10/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpmultipart.cpp
Lines: 366-398
 76.923% (10/13)
215
QHttpNetworkRequestPrivate::header
Name: QHttpNetworkRequestPrivate::header
Prototype: QByteArray QHttpNetworkRequestPrivate::header(const QHttpNetworkRequest &request, bool throughProxy)
Coverage:  63.636% (14/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkrequest.cpp
Lines: 136-182
 63.636% (14/22)
315
QHttpNetworkRequest::uri
Name: QHttpNetworkRequest::uri
Prototype: QByteArray QHttpNetworkRequest::uri(bool throughProxy) const
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkrequest.cpp
Lines: 119-134
 84.615% (11/13)
95
QHttpNetworkReplyPrivate::readBodyFast
Name: QHttpNetworkReplyPrivate::readBodyFast
Prototype: qint64 QHttpNetworkReplyPrivate::readBodyFast(QAbstractSocket *socket, QByteDataBuffer *rb)
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkreply.cpp
Lines: 670-697
 84.615% (11/13)
175
QHttpNetworkReplyPrivate::getChunkSize
Name: QHttpNetworkReplyPrivate::getChunkSize
Prototype: qint64 QHttpNetworkReplyPrivate::getChunkSize(QAbstractSocket *socket, qint64 *chunkSize)
Coverage:  72.000% (18/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkreply.cpp
Lines: 907-945
 72.000% (18/25)
245
QHttpNetworkReplyPrivate::expectContent
Name: QHttpNetworkReplyPrivate::expectContent
Prototype: bool QHttpNetworkReplyPrivate::expectContent()
Coverage:  90.476% (19/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkreply.cpp
Lines: 962-979
 90.476% (19/21)
115
QHttpNetworkReplyPrivate::authenticationMethod
Name: QHttpNetworkReplyPrivate::authenticationMethod
Prototype: QAuthenticatorPrivate::Method QHttpNetworkReplyPrivate::authenticationMethod(bool isProxy) const
Coverage:  76.190% (16/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkreply.cpp
Lines: 425-445
 76.190% (16/21)
155
QHttpNetworkConnectionPrivate::resumeConnection
Name: QHttpNetworkConnectionPrivate::resumeConnection
Prototype: void QHttpNetworkConnectionPrivate::resumeConnection()
Coverage:  85.714% (12/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 160-181
 85.714% (12/14)
95
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
...43
McCabe - Cyclomatic Complexity: 5
44
McCabe - Cyclomatic Complexity: 5
45
McCabe - Cyclomatic Complexity: 5
46
McCabe - Cyclomatic Complexity: 5
4748
McCabe - Cyclomatic Complexity: 5
49
McCabe - Cyclomatic Complexity: 5
50
McCabe - Cyclomatic Complexity: 5
51
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