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

Function Tree

Path:<top>::QAbstractItemModel
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–´
QAbstractItemModel
Name: QAbstractItemModel::QAbstractItemModel
Prototype: QAbstractItemModel::QAbstractItemModel(QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 1465-1468
100.000% (1/1)
21
QAbstractItemModel
Name: QAbstractItemModel::QAbstractItemModel
Prototype: QAbstractItemModel::QAbstractItemModel(QAbstractItemModelPrivate &dd, QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 1473-1476
100.000% (1/1)
21
beginInsertColumns
Name: QAbstractItemModel::beginInsertColumns
Prototype: void QAbstractItemModel::beginInsertColumns(const QModelIndex &parent, int first, int last)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2939-2947
100.000% (1/1)
61
beginInsertRows
Name: QAbstractItemModel::beginInsertRows
Prototype: void QAbstractItemModel::beginInsertRows(const QModelIndex &parent, int first, int last)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2638-2646
100.000% (1/1)
61
beginRemoveColumns
Name: QAbstractItemModel::beginRemoveColumns
Prototype: void QAbstractItemModel::beginRemoveColumns(const QModelIndex &parent, int first, int last)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2994-3002
100.000% (1/1)
61
beginRemoveRows
Name: QAbstractItemModel::beginRemoveRows
Prototype: void QAbstractItemModel::beginRemoveRows(const QModelIndex &parent, int first, int last)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2692-2700
100.000% (1/1)
61
beginResetModel
Name: QAbstractItemModel::beginResetModel
Prototype: void QAbstractItemModel::beginResetModel()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 3161-3164
100.000% (1/1)
11
buddy
Name: QAbstractItemModel::buddy
Prototype: QModelIndex QAbstractItemModel::buddy(const QModelIndex &index) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2240-2243
100.000% (1/1)
11
canFetchMore
Name: QAbstractItemModel::canFetchMore
Prototype: bool QAbstractItemModel::canFetchMore(const QModelIndex &) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2196-2199
100.000% (1/1)
11
doSetRoleNames
Name: QAbstractItemModel::doSetRoleNames
Prototype: void QAbstractItemModel::doSetRoleNames(const QHash<int,QByteArray> &roleNames)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2365-2369
100.000% (1/1)
21
doSetSupportedDragActions
Name: QAbstractItemModel::doSetSupportedDragActions
Prototype: void QAbstractItemModel::doSetSupportedDragActions(Qt::DropActions actions)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2007-2011
  0.000% (0/1)
21
endInsertColumns
Name: QAbstractItemModel::endInsertColumns
Prototype: void QAbstractItemModel::endInsertColumns()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2958-2964
100.000% (1/1)
41
endInsertRows
Name: QAbstractItemModel::endInsertRows
Prototype: void QAbstractItemModel::endInsertRows()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2656-2662
100.000% (1/1)
41
endRemoveColumns
Name: QAbstractItemModel::endRemoveColumns
Prototype: void QAbstractItemModel::endRemoveColumns()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 3012-3018
100.000% (1/1)
41
endRemoveRows
Name: QAbstractItemModel::endRemoveRows
Prototype: void QAbstractItemModel::endRemoveRows()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2710-2716
100.000% (1/1)
41
endResetModel
Name: QAbstractItemModel::endResetModel
Prototype: void QAbstractItemModel::endResetModel()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 3177-3183
100.000% (1/1)
41
hasChildren
Name: QAbstractItemModel::hasChildren
Prototype: bool QAbstractItemModel::hasChildren(const QModelIndex &parent) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 1734-1737
100.000% (1/1)
11
insertColumns
Name: QAbstractItemModel::insertColumns
Prototype: bool QAbstractItemModel::insertColumns(int, int, const QModelIndex &)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2081-2084
100.000% (1/1)
11
insertRows
Name: QAbstractItemModel::insertRows
Prototype: bool QAbstractItemModel::insertRows(int, int, const QModelIndex &)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2052-2055
  0.000% (0/1)
11
mimeTypes
Name: QAbstractItemModel::mimeTypes
Coverage: 100.000% (1/1)
100.000% (1/1)
01
moveColumns
Name: QAbstractItemModel::moveColumns
Prototype: bool QAbstractItemModel::moveColumns(const QModelIndex &, int , int , const QModelIndex &, int)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2165-2168
  0.000% (0/1)
11
moveRows
Name: QAbstractItemModel::moveRows
Prototype: bool QAbstractItemModel::moveRows(const QModelIndex &, int , int , const QModelIndex &, int)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2144-2147
  0.000% (0/1)
11
removeColumns
Name: QAbstractItemModel::removeColumns
Prototype: bool QAbstractItemModel::removeColumns(int, int, const QModelIndex &)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2123-2126
100.000% (1/1)
11
removeRows
Name: QAbstractItemModel::removeRows
Prototype: bool QAbstractItemModel::removeRows(int, int, const QModelIndex &)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2102-2105
  0.000% (0/1)
11
roleNames
Name: QAbstractItemModel::roleNames
Prototype: QHash<int,QByteArray> QAbstractItemModel::roleNames() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2402-2406
100.000% (1/1)
21
setData
Name: QAbstractItemModel::setData
Prototype: bool QAbstractItemModel::setData(const QModelIndex &index, const QVariant &value, int role)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 1792-1798
100.000% (1/1)
41
setHeaderData
Name: QAbstractItemModel::setHeaderData
Prototype: bool QAbstractItemModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2465-2473
100.000% (1/1)
51
sibling
Name: QAbstractItemModel::sibling
Prototype: QModelIndex QAbstractItemModel::sibling(int row, int column, const QModelIndex &idx) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 1753-1756
100.000% (1/1)
11
sort
Name: QAbstractItemModel::sort
Prototype: void QAbstractItemModel::sort(int column, Qt::SortOrder order)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2224-2229
100.000% (1/1)
21
span
Name: QAbstractItemModel::span
Prototype: QSize QAbstractItemModel::span(const QModelIndex &) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2342-2345
100.000% (1/1)
11
submit
Name: QAbstractItemModel::submit
Prototype: bool QAbstractItemModel::submit()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2417-2420
100.000% (1/1)
11
supportedDropActions
Name: QAbstractItemModel::supportedDropActions
Prototype: Qt::DropActions QAbstractItemModel::supportedDropActions() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 1980-1983
100.000% (1/1)
11
~QAbstractItemModel
Name: QAbstractItemModel::~QAbstractItemModel
Prototype: QAbstractItemModel::~QAbstractItemModel()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 1481-1484
100.000% (1/1)
11
beginMoveColumns
Name: QAbstractItemModel::beginMoveColumns
Prototype: bool QAbstractItemModel::beginMoveColumns(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationChild)
Coverage:  25.000% (4/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 3058-3081
 25.000% (4/16)
162
beginMoveRows
Name: QAbstractItemModel::beginMoveRows
Prototype: bool QAbstractItemModel::beginMoveRows(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationChild)
Coverage: 100.000% (16/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2841-2863
100.000% (16/16)
162
encodeData
Name: QAbstractItemModel::encodeData
Prototype: void QAbstractItemModel::encodeData(const QModelIndexList &indexes, QDataStream &stream) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2504-2509
100.000% (4/4)
32
flags
Name: QAbstractItemModel::flags
Prototype: Qt::ItemFlags QAbstractItemModel::flags(const QModelIndex &index) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2210-2217
100.000% (4/4)
42
hasIndex
Name: QAbstractItemModel::hasIndex
Prototype: bool QAbstractItemModel::hasIndex(int row, int column, const QModelIndex &parent) const
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 1716-1721
100.000% (6/6)
32
headerData
Name: QAbstractItemModel::headerData
Prototype: QVariant QAbstractItemModel::headerData(int section, Qt::Orientation orientation, int role) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2445-2451
100.000% (4/4)
42
mimeTypes
Name: QAbstractItemModel::mimeTypes
Prototype: QStringList QAbstractItemModel::mimeTypes() const
Coverage: 100.000% (2/2)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 1845-1850
100.000% (2/2)
22
persistentIndexList
Name: QAbstractItemModel::persistentIndexList
Prototype: QModelIndexList QAbstractItemModel::persistentIndexList() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 3258-3269
100.000% (4/4)
82
setItemData
Name: QAbstractItemModel::setItemData
Prototype: bool QAbstractItemModel::setItemData(const QModelIndex &index, const QMap<int, QVariant> &roles)
Coverage:  75.000% (6/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 1822-1828
 75.000% (6/8)
42
supportedDragActions
Name: QAbstractItemModel::supportedDragActions
Prototype: Qt::DropActions QAbstractItemModel::supportedDragActions() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 1996-2002
 50.000% (2/4)
42
endMoveColumns
Name: QAbstractItemModel::endMoveColumns
Prototype: void QAbstractItemModel::endMoveColumns()
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 3094-3114
 42.857% (3/7)
123
endMoveRows
Name: QAbstractItemModel::endMoveRows
Prototype: void QAbstractItemModel::endMoveRows()
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2876-2896
100.000% (7/7)
123
itemData
Name: QAbstractItemModel::itemData
Prototype: QMap<int, QVariant> QAbstractItemModel::itemData(const QModelIndex &index) const
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 1768-1777
100.000% (7/7)
63
mimeData
Name: QAbstractItemModel::mimeData
Prototype: QMimeData *QAbstractItemModel::mimeData(const QModelIndexList &indexes) const
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 1865-1879
 71.429% (5/7)
123
canDropMimeData
Name: QAbstractItemModel::canDropMimeData
Prototype: bool QAbstractItemModel::canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 1894-1911
  0.000% (0/10)
104
changePersistentIndex
Name: QAbstractItemModel::changePersistentIndex
Prototype: void QAbstractItemModel::changePersistentIndex(const QModelIndex &from, const QModelIndex &to)
Coverage:  50.000% (5/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 3194-3210
 50.000% (5/10)
114
changePersistentIndexList
Name: QAbstractItemModel::changePersistentIndexList
Prototype: void QAbstractItemModel::changePersistentIndexList(const QModelIndexList &from, const QModelIndexList &to)
Coverage:  89.474% (17/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 3223-3251
 89.474% (17/19)
207
dropMimeData
Name: QAbstractItemModel::dropMimeData
Prototype: bool QAbstractItemModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
Coverage:  43.478% (10/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 1942-1965
 43.478% (10/23)
177
decodeData
Name: QAbstractItemModel::decodeData
Prototype: bool QAbstractItemModel::decodeData(int row, int column, const QModelIndex &parent, QDataStream &stream)
Coverage:  88.889% (32/36)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2514-2596
 88.889% (32/36)
5612
match
Name: QAbstractItemModel::match
Prototype: QModelIndexList QAbstractItemModel::match(const QModelIndex &start, int role, const QVariant &value, int hits, Qt::MatchFlags flags) const
Coverage:  98.507% (66/67)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2266-2334
 98.507% (66/67)
4721

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9