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

Functions

Page:<>1
McCabe - Cyclomatic Complexity: 439
...10
McCabe - Cyclomatic Complexity: 15
...15
McCabe - Cyclomatic Complexity: 11
16
McCabe - Cyclomatic Complexity: 11
17
McCabe - Cyclomatic Complexity: 10
18
McCabe - Cyclomatic Complexity: 10
1920
McCabe - Cyclomatic Complexity: 9
21
McCabe - Cyclomatic Complexity: 9
22
McCabe - Cyclomatic Complexity: 9
23
McCabe - Cyclomatic Complexity: 9
...30
McCabe - Cyclomatic Complexity: 7
...40
McCabe - Cyclomatic Complexity: 6
...100
McCabe - Cyclomatic Complexity: 2
...200
McCabe - Cyclomatic Complexity: 1
...306
McCabe - Cyclomatic Complexity: 1
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
QFontFamilyDelegate::paint
Name: QFontFamilyDelegate::paint
Prototype: void QFontFamilyDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Coverage:  0.000% (0/31)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qfontcombobox.cpp
Lines: 211-281
  0.000% (0/31)
4410
QFontEngineFT::recalcAdvances
Name: QFontEngineFT::recalcAdvances
Prototype: void QFontEngineFT::recalcAdvances(QGlyphLayout *glyphs, QFontEngine::ShaperFlags flags) const
Coverage:  77.273% (34/44)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine_ft.cpp
Lines: 1657-1690
 77.273% (34/44)
2310
QFontEngine::minRightBearing
Name: QFontEngine::minRightBearing
Prototype: qreal QFontEngine::minRightBearing() const
Coverage:  0.000% (0/34)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontengine.cpp
Lines: 581-647
  0.000% (0/34)
2710
QFontDialog::eventFilter
Name: QFontDialog::eventFilter
Prototype: bool QFontDialog::eventFilter(QObject *o , QEvent *e)
Coverage:  0.000% (0/48)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/dialogs/qfontdialog.cpp
Lines: 431-467
  0.000% (0/48)
3010
QFontDatabasePrivate::family
Name: QFontDatabasePrivate::family
Prototype: QtFontFamily *QFontDatabasePrivate::family(const QString &f, FamilyRequestFlags flags)
Coverage:  0.000% (0/35)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontdatabase.cpp
Lines: 514-559
  0.000% (0/35)
3010
QFontDatabase::isSmoothlyScalable
Name: QFontDatabase::isSmoothlyScalable
Prototype: bool QFontDatabase::isSmoothlyScalable(const QString &family, const QString &style) const
Coverage:  0.000% (0/33)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontdatabase.cpp
Lines: 1702-1739
  0.000% (0/33)
2410
QFileSystemModelSorter::compareNodes
Name: QFileSystemModelSorter::compareNodes
Prototype: bool compareNodes(const QFileSystemModelPrivate::QFileSystemNode *l, const QFileSystemModelPrivate::QFileSystemNode *r) const
Coverage:  0.000% (0/24)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/dialogs/qfilesystemmodel.cpp
Lines: 1025-1071
  0.000% (0/24)
2310
QFileSystemModel::headerData
Name: QFileSystemModel::headerData
Prototype: QVariant QFileSystemModel::headerData(int section, Qt::Orientation orientation, int role) const
Coverage:  0.000% (0/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/dialogs/qfilesystemmodel.cpp
Lines: 928-970
  0.000% (0/23)
2610
QFileSystemMetaData::fillFromDirEnt
Name: QFileSystemMetaData::fillFromDirEnt
Prototype: void QFileSystemMetaData::fillFromDirEnt(const struct dirent64 &entry)
Coverage:  80.000% (12/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfilesystemengine.cpp
Lines: 288-404
 80.000% (12/15)
4110
QFileDialog::setVisible
Name: QFileDialog::setVisible
Prototype: void QFileDialog::setVisible(bool visible)
Coverage:  0.000% (0/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/dialogs/qfiledialog.cpp
Lines: 838-875
  0.000% (0/32)
2010
QFileDialog::labelText
Name: QFileDialog::labelText
Prototype: QString QFileDialog::labelText(DialogLabel label) const
Coverage:  0.000% (0/24)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/dialogs/qfiledialog.cpp
Lines: 2028-2056
  0.000% (0/24)
1910
QFactoryLoader::instance
Name: QFactoryLoader::instance
Prototype: QObject *QFactoryLoader::instance(int index) const
Coverage:  63.333% (19/30)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/plugin/qfactoryloader.cpp
Lines: 274-310
 63.333% (19/30)
2410
QFSFileEngine::fileName
Name: QFSFileEngine::fileName
Prototype: QString QFSFileEngine::fileName(FileName file) const
Coverage:  37.500% (12/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qfsfileengine_unix.cpp
Lines: 599-627
 37.500% (12/32)
2310
QFSCompleter::splitPath
Name: QFSCompleter::splitPath
Prototype: QStringList QFSCompleter::splitPath(const QString &path) const
Coverage:  0.000% (0/42)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/dialogs/qfiledialog.cpp
Lines: 4036-4110
  0.000% (0/42)
3410
QEvdevTouchScreenHandler::readData
Name: QEvdevTouchScreenHandler::readData
Prototype: void QEvdevTouchScreenHandler::readData()
Coverage:  0.000% (0/28)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp
Lines: 320-381
  0.000% (0/28)
2310
QEvdevTouchManager::QEvdevTouchManager
Name: QEvdevTouchManager::QEvdevTouchManager
Prototype: QEvdevTouchManager::QEvdevTouchManager(const QString &key, const QString &specification, QObject *parent)
Coverage:  0.000% (0/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/input/evdevtouch/qevdevtouchmanager.cpp
Lines: 54-95
  0.000% (0/22)
2410
QEvdevTabletManager::QEvdevTabletManager
Name: QEvdevTabletManager::QEvdevTabletManager
Prototype: QEvdevTabletManager::QEvdevTabletManager(const QString &key, const QString &specification, QObject *parent)
Coverage:  0.000% (0/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/input/evdevtablet/qevdevtabletmanager.cpp
Lines: 54-95
  0.000% (0/22)
2410
QDynamicFileResourceRoot::registerSelf
Name: QDynamicFileResourceRoot::registerSelf
Prototype: bool registerSelf(const QString &f)
Coverage:  40.625% (13/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qresource.cpp
Lines: 971-1037
 40.625% (13/32)
4610
QDockAreaLayoutInfo::paintSeparators
Name: QDockAreaLayoutInfo::paintSeparators
Prototype: void QDockAreaLayoutInfo::paintSeparators(QPainter *p, QWidget *widget, const QRegion &clip, const QPoint &mouse) const
Coverage:  0.000% (0/34)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qdockarealayout.cpp
Lines: 1619-1652
  0.000% (0/34)
2010
QDockAreaLayoutInfo::findSeparator
Name: QDockAreaLayoutInfo::findSeparator
Prototype: QList<int> QDockAreaLayoutInfo::findSeparator(const QPoint &_pos) const
Coverage:  0.000% (0/36)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qdockarealayout.cpp
Lines: 1390-1431
  0.000% (0/36)
2310
QDockAreaLayout::resizeDocks
Name: QDockAreaLayout::resizeDocks
Prototype: void QDockAreaLayout::resizeDocks(const QList<QDockWidget *> &docks, const QList<int> &sizes, Qt::Orientation o)
Coverage:  0.000% (0/30)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qdockarealayout.cpp
Lines: 3138-3183
  0.000% (0/30)
3210
QDir::operator==
Name: QDir::operator==
Prototype: bool QDir::operator==(const QDir &dir) const
Coverage:  53.846% (21/39)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qdir.cpp
Lines: 1670-1712
 53.846% (21/39)
2710
QDefaultItemEditorFactory::valuePropertyName
Name: QDefaultItemEditorFactory::valuePropertyName
Prototype: QByteArray QDefaultItemEditorFactory::valuePropertyName(int userType) const
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qitemeditorfactory.cpp
Lines: 291-317
  0.000% (0/15)
710
QDateTimeEdit::stepEnabled
Name: QDateTimeEdit::stepEnabled
Prototype: QDateTimeEdit::StepEnabled QDateTimeEdit::stepEnabled() const
Coverage:  0.000% (0/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qdatetimeedit.cpp
Lines: 1409-1469
  0.000% (0/22)
1810
QDBusMetaObject::createMetaObject
Name: QDBusMetaObject::createMetaObject
Prototype: QDBusMetaObject *QDBusMetaObject::createMetaObject(const QString &interface, const QString &xml, QHash<QString, QDBusMetaObject *> &cache, QDBusError &error)
Coverage:  93.750% (30/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusmetaobject.cpp
Lines: 583-655
 93.750% (30/32)
4510
QDBusConnectionPrivate::addSignalHook
Name: QDBusConnectionPrivate::addSignalHook
Prototype: void QDBusConnectionPrivate::addSignalHook(const QString &key, const SignalHook &hook)
Coverage:  82.927% (34/41)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintegrator.cpp
Lines: 2216-2271
 82.927% (34/41)
3410
QCosmeticStroker::setup
Name: QCosmeticStroker::setup
Prototype: void QCosmeticStroker::setup()
Coverage:  0.000% (0/44)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qcosmeticstroker.cpp
Lines: 233-309
  0.000% (0/44)
5210
QCosmeticStroker::calculateLastPoint
Name: QCosmeticStroker::calculateLastPoint
Prototype: void QCosmeticStroker::calculateLastPoint(qreal rx1, qreal ry1, qreal rx2, qreal ry2)
Coverage:  0.000% (0/36)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qcosmeticstroker.cpp
Lines: 411-498
  0.000% (0/36)
5410
QCoreApplication::applicationFilePath
Name: QCoreApplication::applicationFilePath
Prototype: QString QCoreApplication::applicationFilePath()
Coverage:  39.394% (13/33)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp
Lines: 2115-2194
 39.394% (13/33)
2810
QCompletionModel::mapFromSource
Name: QCompletionModel::mapFromSource
Prototype: QModelIndex QCompletionModel::mapFromSource(const QModelIndex& idx) const
Coverage:  0.000% (0/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/util/qcompleter.cpp
Lines: 247-282
  0.000% (0/32)
2310
QCommonStylePrivate::tabLayout
Name: QCommonStylePrivate::tabLayout
Prototype: void QCommonStylePrivate::tabLayout(const QStyleOptionTab *opt, const QWidget *widget, QRect *textRect, QRect *iconRect) const
Coverage:  0.000% (0/38)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qcommonstyle.cpp
Lines: 1092-1152
  0.000% (0/38)
4310
QComboBox::setModel
Name: QComboBox::setModel
Prototype: void QComboBox::setModel(QAbstractItemModel *model)
Coverage:  0.000% (0/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qcombobox.cpp
Lines: 1961-2042
  0.000% (0/32)
6110
QComboBox::event
Name: QComboBox::event
Prototype: bool QComboBox::event(QEvent *event)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qcombobox.cpp
Lines: 3011-3046
  0.000% (0/18)
1310
QColumnView::moveCursor
Name: QColumnView::moveCursor
Prototype: QModelIndex QColumnView::moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers)
Coverage:  0.000% (0/27)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qcolumnview.cpp
Lines: 348-381
  0.000% (0/27)
1810
QCalendarModel::formatForCell
Name: QCalendarModel::formatForCell
Prototype: QTextCharFormat QCalendarModel::formatForCell(int row, int col) const
Coverage:  0.000% (0/40)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qcalendarwidget.cpp
Lines: 1112-1149
  0.000% (0/40)
2810
QCalendarModel::cellForDate
Name: QCalendarModel::cellForDate
Prototype: void QCalendarModel::cellForDate(const QDate &date, int *row, int *column) const
Coverage:  0.000% (0/36)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qcalendarwidget.cpp
Lines: 1057-1091
  0.000% (0/36)
2410
QBalloonTip::QBalloonTip
Name: QBalloonTip::QBalloonTip
Prototype: QBalloonTip::QBalloonTip(QSystemTrayIcon::MessageIcon icon, const QString& title, const QString& message, QSystemTrayIcon *ti)
Coverage:  0.000% (0/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/util/qsystemtrayicon.cpp
Lines: 437-545
  0.000% (0/23)
5910
QApplicationPrivate::tryCloseAllWidgetWindows
Name: QApplicationPrivate::tryCloseAllWidgetWindows
Prototype: bool QApplicationPrivate::tryCloseAllWidgetWindows(QWindowList *processedWindows)
Coverage:  0.000% (0/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qapplication.cpp
Lines: 1908-1935
  0.000% (0/32)
2010
QApplicationPrivate::sendSyntheticEnterLeave
Name: QApplicationPrivate::sendSyntheticEnterLeave
Prototype: void QApplicationPrivate::sendSyntheticEnterLeave(QWidget *widget)
Coverage:  0.000% (0/52)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qapplication.cpp
Lines: 2806-2850
  0.000% (0/52)
2710
QApplicationPrivate::focusNextPrevChild_helper
Name: QApplicationPrivate::focusNextPrevChild_helper
Prototype: QWidget *QApplicationPrivate::focusNextPrevChild_helper(QWidget *toplevel, bool next, bool *wrappingOccurred)
Coverage:  0.000% (0/50)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qapplication.cpp
Lines: 2266-2308
  0.000% (0/50)
3010
QApplication::setFont
Name: QApplication::setFont
Prototype: void QApplication::setFont(const QFont &font, const char *className)
Coverage:  0.000% (0/42)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qapplication.cpp
Lines: 1662-1702
  0.000% (0/42)
2510
QActionPrivate::redoGrabAlternate
Name: QActionPrivate::redoGrabAlternate
Prototype: void QActionPrivate::redoGrabAlternate(QShortcutMap &map)
Coverage:  0.000% (0/28)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qaction.cpp
Lines: 141-170
  0.000% (0/28)
2010
QAccessibleTable::child
Name: QAccessibleTable::child
Prototype: QAccessibleInterface *QAccessibleTable::child(int logicalIndex) const
Coverage:  0.000% (0/36)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/accessible/itemviews.cpp
Lines: 475-524
  0.000% (0/36)
3010
QAccessible::qAccessibleTextBoundaryHelper
Name: QAccessible::qAccessibleTextBoundaryHelper
Prototype: QPair< int, int > QAccessible::qAccessibleTextBoundaryHelper(const QTextCursor &offsetCursor, TextBoundaryType boundaryType)
Coverage:  0.000% (0/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/accessible/qaccessible.cpp
Lines: 891-953
  0.000% (0/22)
4810
QAbstractSpinBox::timerEvent
Name: QAbstractSpinBox::timerEvent
Prototype: void QAbstractSpinBox::timerEvent(QTimerEvent *event)
Coverage:  0.000% (0/30)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qabstractspinbox.cpp
Lines: 1200-1243
  0.000% (0/30)
3010
QAbstractSocketPrivate::_q_connectToNextAddress
Name: QAbstractSocketPrivate::_q_connectToNextAddress
Prototype: void QAbstractSocketPrivate::_q_connectToNextAddress()
Coverage:  75.758% (25/33)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp
Lines: 1062-1144
 75.758% (25/33)
3510
QAbstractSocket::socketOption
Name: QAbstractSocket::socketOption
Prototype: QVariant QAbstractSocket::socketOption(QAbstractSocket::SocketOption option)
Coverage:  61.905% (13/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp
Lines: 1999-2037
 61.905% (13/21)
2110
QAbstractSocket::setSocketDescriptor
Name: QAbstractSocket::setSocketDescriptor
Prototype: bool QAbstractSocket::setSocketDescriptor(qintptr socketDescriptor, SocketState socketState, OpenMode openMode)
Coverage:  72.414% (21/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp
Lines: 1887-1946
 72.414% (21/29)
3910
QAbstractItemView::mouseMoveEvent
Name: QAbstractItemView::mouseMoveEvent
Prototype: void QAbstractItemView::mouseMoveEvent(QMouseEvent *event)
Coverage:  0.000% (0/53)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/itemviews/qabstractitemview.cpp
Lines: 1821-1885
  0.000% (0/53)
4110
PathSimplifier::buildTree
Name: PathSimplifier::buildTree
Prototype: PathSimplifier::BVHNode *PathSimplifier::buildTree(Element **elements, int elementCount)
Coverage:  0.000% (0/33)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpathsimplifier.cpp
Lines: 933-1003
  0.000% (0/33)
5110
PathSimplifier::appendSeparatingAxes
Name: PathSimplifier::appendSeparatingAxes
Prototype: void PathSimplifier::appendSeparatingAxes(QVarLengthArray<QPoint, 12> &axes, Element *element)
Coverage:  0.000% (0/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpathsimplifier.cpp
Lines: 1161-1213
  0.000% (0/29)
3710
Parser::parseRuleset
Name: Parser::parseRuleset
Prototype: bool Parser::parseRuleset(StyleRule *styleRule)
Coverage:  0.000% (0/30)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 2362-2406
  0.000% (0/30)
3110
Parser::parseObject
Name: Parser::parseObject
Prototype: bool Parser::parseObject()
Coverage:  65.625% (21/32)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonparser.cpp
Lines: 386-452
 65.625% (21/32)
3710
Parser::nextToken
Name: Parser::nextToken
Prototype: char Parser::nextToken()
Coverage:  86.667% (13/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonparser.cpp
Lines: 274-294
 86.667% (13/15)
910
Declaration::colorValues
Name: Declaration::colorValues
Prototype: void Declaration::colorValues(QColor *c, const QPalette &pal) const
Coverage:  0.000% (0/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 1526-1557
  0.000% (0/29)
2010
AtSpiAdaptor::valueInterface
Name: AtSpiAdaptor::valueInterface
Prototype: bool AtSpiAdaptor::valueInterface(QAccessibleInterface *interface, const QString &function, const QDBusMessage &message, const QDBusConnection &connection)
Coverage:  0.000% (0/31)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/linuxaccessibility/atspiadaptor.cpp
Lines: 2239-2276
  0.000% (0/31)
2410
AtSpiAdaptor::introspect
Name: AtSpiAdaptor::introspect
Prototype: QString AtSpiAdaptor::introspect(const QString &path) const
Coverage:  0.000% (0/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/linuxaccessibility/atspiadaptor.cpp
Lines: 155-617
  0.000% (0/29)
2210
writingSystemForFont
Name: writingSystemForFont
Prototype: static QFontDatabase::WritingSystem writingSystemForFont(const QFont &font, bool *hasLatin)
Coverage:  0.000% (0/39)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qfontcombobox.cpp
Lines: 138-182
  0.000% (0/39)
249
writeProperty
Name: writeProperty
Prototype: static int writeProperty(QObject *obj, const QByteArray &property_name, QVariant value, int propFlags = QDBusConnection::ExportAllProperties)
Coverage:  58.065% (18/31)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusinternalfilters.cpp
Lines: 329-381
 58.065% (18/31)
299
wrapText
Name: wrapText
Prototype: static QString wrapText(const QString &names, int longestOptionNameString, const QString &description)
Coverage:  54.545% (18/33)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qcommandlineparser.cpp
Lines: 1035-1084
 54.545% (18/33)
369
valueToJson
Name: valueToJson
Prototype: static void valueToJson(const QJsonPrivate::Base *b, const QJsonPrivate::Value &v, QByteArray &json, int indent, bool compact)
Coverage:  0.000% (0/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonwriter.cpp
Lines: 123-159
  0.000% (0/23)
249
ucstricmp
Name: ucstricmp
Prototype: static int ucstricmp(const ushort *a, const ushort *ae, const uchar *b, const uchar *be)
Coverage:  72.000% (18/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 413-440
 72.000% (18/25)
209
ucstricmp
Name: ucstricmp
Prototype: static int ucstricmp(const ushort *a, const ushort *ae, const ushort *b, const ushort *be)
Coverage:  84.000% (21/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 379-410
 84.000% (21/25)
229
toSubpaths
Name: toSubpaths
Prototype: QVector<QPainterPath> toSubpaths(const QPainterPath &path)
Coverage:  0.000% (0/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpathclipper.cpp
Lines: 1891-1926
  0.000% (0/21)
229
shift
Name: shift
Prototype: static ShiftResult shift(const QBezier *orig, QBezier *shifted, qreal offset, qreal threshold)
Coverage:  0.000% (0/44)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qbezier.cpp
Lines: 261-337
  0.000% (0/44)
529
resolveLibraryInternal
Name: resolveLibraryInternal
Prototype: static bool resolveLibraryInternal()
Coverage:  41.667% (10/24)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qhostinfo_unix.cpp
Lines: 94-129
 41.667% (10/24)
199
read_xbm_body
Name: read_xbm_body
Prototype: static bool read_xbm_body(QIODevice *device, int w, int h, QImage *outImage)
Coverage:  0.000% (0/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qxbmhandler.cpp
Lines: 120-172
  0.000% (0/29)
329
read_pbm_int
Name: read_pbm_int
Prototype: static int read_pbm_int(QIODevice *d)
Coverage:  0.000% (0/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qppmhandler.cpp
Lines: 65-94
  0.000% (0/23)
229
qt_try_modal
Name: qt_try_modal
Prototype: bool qt_try_modal(QWidget *widget, QEvent::Type type)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qapplication.cpp
Lines: 2626-2657
  0.000% (0/19)
119
qt_regionToPath
Name: qt_regionToPath
Prototype: QPainterPath qt_regionToPath(const QRegion &region)
Coverage:  0.000% (0/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qregion.cpp
Lines: 1060-1116
  0.000% (0/29)
399
qt_real_to_string
Name: qt_real_to_string
Prototype: const char *qt_real_to_string(qreal val, char *buf)
Coverage:  0.000% (0/26)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpdf.cpp
Lines: 85-135
  0.000% (0/26)
369
qt_painterPathFromVectorPath
Name: qt_painterPathFromVectorPath
Prototype: QPainterPath qt_painterPathFromVectorPath(const QVectorPath &path)
Coverage:  0.000% (0/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpaintengineex.cpp
Lines: 1004-1047
  0.000% (0/22)
289
qt_messageSourceToGL
Name: qt_messageSourceToGL
Prototype: static GLenum qt_messageSourceToGL(QOpenGLDebugMessage::Source source)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qopengldebug.cpp
Lines: 638-661
  0.000% (0/17)
119
qt_last_index_of
Name: qt_last_index_of
Prototype: static inline int qt_last_index_of(const QChar *haystack, int haystackLen, QChar needle, int from, Qt::CaseSensitivity cs)
Coverage:  95.652% (22/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 10096-10121
 95.652% (22/23)
179
qt_gl_read_framebuffer
Name: qt_gl_read_framebuffer
Prototype: static QImage qt_gl_read_framebuffer(const QSize &size, GLenum internal_format, bool include_alpha, bool flip)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qopenglframebufferobject.cpp
Lines: 1333-1355
  0.000% (0/14)
89
qt_find_ellipse_coords
Name: qt_find_ellipse_coords
Prototype: void qt_find_ellipse_coords(const QRectF &r, qreal angle, qreal length, QPointF* startPoint, QPointF *endPoint)
Coverage:  0.000% (0/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpainterpath.cpp
Lines: 95-142
  0.000% (0/29)
289
qt_error_string
Name: qt_error_string
Prototype: QString qt_error_string(int errorCode)
Coverage:  78.947% (15/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp
Lines: 3147-3214
 78.947% (15/19)
209
qt_draw_decoration_for_glyphs
Name: qt_draw_decoration_for_glyphs
Prototype: void qt_draw_decoration_for_glyphs(QPainter *painter, const glyph_t *glyphArray, const QFixedPoint *positions, int glyphCount, QFontEngine *fontEngine, const QFont &font, const QTextCharFormat &charFormat)
Coverage:  0.000% (0/35)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpainter.cpp
Lines: 6330-6373
  0.000% (0/35)
279
qt_blend_argb32_on_argb32
Name: qt_blend_argb32_on_argb32
Prototype: static void qt_blend_argb32_on_argb32(uchar *destPixels, int dbpl, const uchar *srcPixels, int sbpl, int w, int h, int const_alpha)
Coverage:  0.000% (0/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qblendfunctions.cpp
Lines: 339-375
  0.000% (0/25)
209
qglx_findConfig
Name: qglx_findConfig
Prototype: GLXFBConfig qglx_findConfig(Display *display, int screen , QSurfaceFormat format, bool highestPixelFormat, int drawableBit)
Coverage:  45.946% (17/37)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/glxconvenience/qglxconvenience.cpp
Lines: 182-229
 45.946% (17/37)
319
qPenFromStyle
Name: qPenFromStyle
Prototype: static QPen qPenFromStyle(const QBrush& b, qreal width, BorderStyle s)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qcssutil.cpp
Lines: 51-78
  0.000% (0/17)
149
qDrawBorder
Name: qDrawBorder
Prototype: void qDrawBorder(QPainter *p, const QRect &rect, const QCss::BorderStyle *styles, const int *borders, const QBrush *colors, const QSize *radii)
Coverage:  0.000% (0/73)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qcssutil.cpp
Lines: 348-404
  0.000% (0/73)
439
qConvertToRealNumber
Name: qConvertToRealNumber
Prototype: static qreal qConvertToRealNumber(const QVariant::Private *d, bool *ok)
Coverage:  66.667% (8/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 244-262
 66.667% (8/12)
69
qConvertARGB32PMToARGB64PM_sse2
Name: qConvertARGB32PMToARGB64PM_sse2
Prototype: template<bool RGBA, bool maskAlpha> static inline void qConvertARGB32PMToARGB64PM_sse2(QRgba64 *buffer, const uint *src, int count)
Coverage:  0.000% (0/27)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qdrawhelper.cpp
Lines: 511-550
  0.000% (0/27)
299
parse_flag_characters
Name: parse_flag_characters
Prototype: static uint parse_flag_characters(const char * &c) noexcept
Coverage:  93.750% (15/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 5991-6006
 93.750% (15/16)
109
parseShorthandBackgroundProperty
Name: parseShorthandBackgroundProperty
Prototype: static void parseShorthandBackgroundProperty(const QVector<QCss::Value> &values, BrushData *brush, QString *image, Repeat *repeat, Qt::Alignment *alignment, const QPalette &pal)
Coverage:  0.000% (0/31)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 993-1037
  0.000% (0/31)
329
parsePosixZoneNameAndOffset
Name: parsePosixZoneNameAndOffset
Prototype: static QPair<QString, int> parsePosixZoneNameAndOffset(const char *&pos, const char *end)
Coverage:  88.235% (30/34)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp
Lines: 458-501
 88.235% (30/34)
309
parseMethod
Name: parseMethod
Prototype: static bool parseMethod(QXmlStreamReader &xml, QDBusIntrospection::Method &methodData, QDBusIntrospection::Interface *ifaceData)
Coverage:  68.966% (20/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusxmlparser.cpp
Lines: 174-228
 68.966% (20/29)
349
parseCombinedArgString
Name: parseCombinedArgString
Prototype: static QStringList parseCombinedArgString(const QString &program)
Coverage: 100.000% (27/27)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess.cpp
Lines: 2188-2226
100.000% (27/27)
239
operator>>
Name: operator>>
Prototype: QDataStream &operator>>(QDataStream &in, QString &str)
Coverage:  88.462% (23/26)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 8720-8767
 88.462% (23/26)
339
operator<<
Name: operator<<
Prototype: QDebug operator<<(QDebug debug, QAbstractSocket::SocketState state)
Coverage:  29.412% (5/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp
Lines: 3001-3032
 29.412% (5/17)
209
operator<<
Name: operator<<
Prototype: QDebug operator<<(QDebug dbg, const QMatrix4x4 &m)
Coverage:  0.000% (0/26)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/math3d/qmatrix4x4.cpp
Lines: 2015-2048
  0.000% (0/26)
269
operator<<
Name: operator<<
Prototype: QDebug operator<<(QDebug debug, const QWidget *widget)
Coverage:  0.000% (0/26)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qwidget.cpp
Lines: 13019-13057
  0.000% (0/26)
329
multicastMembershipHelper
Name: multicastMembershipHelper
Prototype: static bool multicastMembershipHelper(QNativeSocketEnginePrivate *d, int how6, int how4, const QHostAddress &groupAddress, const QNetworkInterface &interface)
Coverage:  52.174% (12/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 597-668
 52.174% (12/23)
489
mergeInto
Name: mergeInto
Prototype: static void mergeInto(QVector<int> *a, const QVector<int> &b)
Coverage: 100.000% (27/27)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp
Lines: 717-752
100.000% (27/27)
259
match
Name: match
Prototype: static int match(int script, const QFontDef &request, const QString &family_name, const QString &foundry_name, QtFontDesc *desc, const QList<int> &blacklistedFamilies)
Coverage:  0.000% (0/33)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontdatabase.cpp
Lines: 1219-1296
  0.000% (0/33)
429
makeCacheKey
Name: makeCacheKey
Prototype: static QByteArray makeCacheKey(QUrl &url, QNetworkProxy *proxy)
Coverage:  63.636% (14/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpthreaddelegate.cpp
Lines: 127-173
 63.636% (14/22)
269
lockInternal_helper
Name: lockInternal_helper
Prototype: template <bool IsTimed> static inline bool lockInternal_helper(QBasicAtomicPointer<QMutexData> &d_ptr, int timeout = -1, QElapsedTimer *elapsedTimer = 0) noexcept
Coverage:  97.143% (34/35)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/thread/qmutex_linux.cpp
Lines: 131-175
 97.143% (34/35)
239
load_glyph_image_to_texture
Name: load_glyph_image_to_texture
Prototype: static void load_glyph_image_to_texture(QOpenGLContext *ctx, QImage &img, GLuint texture, int tx, int ty)
Coverage:  0.000% (0/34)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qopengltextureglyphcache.cpp
Lines: 184-252
  0.000% (0/34)
339
jump
Name: jump
Prototype: static void jump(QtMsgType t, const QMessageLogContext & , const QString &m)
Coverage:  0.000% (0/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/dialogs/qerrormessage.cpp
Lines: 182-218
  0.000% (0/21)
219
Page:<>1
McCabe - Cyclomatic Complexity: 439
...10
McCabe - Cyclomatic Complexity: 15
...15
McCabe - Cyclomatic Complexity: 11
16
McCabe - Cyclomatic Complexity: 11
17
McCabe - Cyclomatic Complexity: 10
18
McCabe - Cyclomatic Complexity: 10
1920
McCabe - Cyclomatic Complexity: 9
21
McCabe - Cyclomatic Complexity: 9
22
McCabe - Cyclomatic Complexity: 9
23
McCabe - Cyclomatic Complexity: 9
...30
McCabe - Cyclomatic Complexity: 7
...40
McCabe - Cyclomatic Complexity: 6
...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