Function | Condition %▴ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
canDropMimeDataName: | 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 |
| | 10 | 4 |
doSetSupportedDragActionsName: | 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 |
| | 2 | 1 |
insertRowsName: | 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 |
| | 1 | 1 |
moveColumnsName: | 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 |
| | 1 | 1 |
moveRowsName: | 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 |
| | 1 | 1 |
removeRowsName: | 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 |
| | 1 | 1 |
beginMoveColumnsName: | 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 |
| | 16 | 2 |
endMoveColumnsName: | 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 |
| | 12 | 3 |
dropMimeDataName: | 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 |
| | 17 | 7 |
changePersistentIndexName: | 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 |
| | 11 | 4 |
supportedDragActionsName: | 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 |
| | 4 | 2 |
mimeDataName: | 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 |
| | 12 | 3 |
setItemDataName: | 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 |
| | 4 | 2 |
decodeDataName: | 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 |
| | 56 | 12 |
changePersistentIndexListName: | 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 |
| | 20 | 7 |
matchName: | 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 |
| | 47 | 21 |
QAbstractItemModelName: | 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 |
| | 2 | 1 |
QAbstractItemModelName: | 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 |
| | 2 | 1 |
beginInsertColumnsName: | 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 |
| | 6 | 1 |
beginInsertRowsName: | 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 |
| | 6 | 1 |
beginMoveRowsName: | 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 |
| | 16 | 2 |
beginRemoveColumnsName: | 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 |
| | 6 | 1 |
beginRemoveRowsName: | 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 |
| | 6 | 1 |
beginResetModelName: | 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 |
| | 1 | 1 |
buddyName: | 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 |
| | 1 | 1 |
canFetchMoreName: | 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 |
| | 1 | 1 |
doSetRoleNamesName: | 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 |
| | 2 | 1 |
encodeDataName: | 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 |
| | 3 | 2 |
endInsertColumnsName: | 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 |
| | 4 | 1 |
endInsertRowsName: | 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 |
| | 4 | 1 |
endMoveRowsName: | 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 |
| | 12 | 3 |
endRemoveColumnsName: | 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 |
| | 4 | 1 |
endRemoveRowsName: | 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 |
| | 4 | 1 |
endResetModelName: | 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 |
| | 4 | 1 |
flagsName: | 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 |
| | 4 | 2 |
hasChildrenName: | 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 |
| | 1 | 1 |
hasIndexName: | 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 |
| | 3 | 2 |
headerDataName: | 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 |
| | 4 | 2 |
insertColumnsName: | 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 |
| | 1 | 1 |
itemDataName: | 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 |
| | 6 | 3 |
mimeTypesName: | QAbstractItemModel::mimeTypes | Coverage: | 100.000% (1/1) |
| | 0 | 1 |
mimeTypesName: | 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 |
| | 2 | 2 |
persistentIndexListName: | 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 |
| | 8 | 2 |
removeColumnsName: | 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 |
| | 1 | 1 |
roleNamesName: | 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 |
| | 2 | 1 |
setDataName: | 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 |
| | 4 | 1 |
setHeaderDataName: | 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 |
| | 5 | 1 |
siblingName: | 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 |
| | 1 | 1 |
sortName: | 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 |
| | 2 | 1 |
spanName: | 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 |
| | 1 | 1 |
submitName: | 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 |
| | 1 | 1 |
supportedDropActionsName: | 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 |
| | 1 | 1 |
~QAbstractItemModelName: | 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 |
| | 1 | 1 |