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

Function Tree

Path:<top>::QAbstractItemModelPrivate
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
itemsAboutToBeMoved
Name: QAbstractItemModelPrivate::itemsAboutToBeMoved
Prototype: void QAbstractItemModelPrivate::itemsAboutToBeMoved(const QModelIndex &srcParent, int srcFirst, int srcLast, const QModelIndex &destinationParent, int destinationChild, Qt::Orientation orientation)
Coverage:  94.444% (51/54)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 657-713
 94.444% (51/54)
3811
rowsAboutToBeRemoved
Name: QAbstractItemModelPrivate::rowsAboutToBeRemoved
Prototype: void QAbstractItemModelPrivate::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last)
Coverage: 100.000% (20/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 768-796
100.000% (20/20)
196
removePersistentIndexData
Name: QAbstractItemModelPrivate::removePersistentIndexData
Prototype: void QAbstractItemModelPrivate::removePersistentIndexData(QPersistentModelIndexData *data)
Coverage:  37.500% (6/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 594-617
 37.500% (6/16)
196
columnsAboutToBeRemoved
Name: QAbstractItemModelPrivate::columnsAboutToBeRemoved
Prototype: void QAbstractItemModelPrivate::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last)
Coverage:  95.000% (19/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 862-891
 95.000% (19/20)
196
allowMove
Name: QAbstractItemModelPrivate::allowMove
Prototype: bool QAbstractItemModelPrivate::allowMove(const QModelIndex &srcParent, int start, int end, const QModelIndex &destinationParent, int destinationStart, Qt::Orientation orientation)
Coverage:  90.000% (18/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 2726-2749
 90.000% (18/20)
146
variantLessThan
Name: QAbstractItemModelPrivate::variantLessThan
Prototype: bool QAbstractItemModelPrivate::variantLessThan(const QVariant &v1, const QVariant &v2)
Coverage:  66.667% (4/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 581-592
 66.667% (4/6)
44
rowsRemoved
Name: QAbstractItemModelPrivate::rowsRemoved
Prototype: void QAbstractItemModelPrivate::rowsRemoved(const QModelIndex &parent, int first, int last)
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 798-823
 80.000% (8/10)
184
rowsAboutToBeInserted
Name: QAbstractItemModelPrivate::rowsAboutToBeInserted
Prototype: void QAbstractItemModelPrivate::rowsAboutToBeInserted(const QModelIndex &parent, int first, int last)
Coverage:  92.857% (13/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 619-636
 92.857% (13/14)
114
movePersistentIndexes
Name: QAbstractItemModelPrivate::movePersistentIndexes
Prototype: void QAbstractItemModelPrivate::movePersistentIndexes(const QVector<QPersistentModelIndexData *> &indexes, int change, const QModelIndex &parent, Qt::Orientation orientation)
Coverage:  63.636% (7/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 722-748
 63.636% (7/11)
154
columnsRemoved
Name: QAbstractItemModelPrivate::columnsRemoved
Prototype: void QAbstractItemModelPrivate::columnsRemoved(const QModelIndex &parent, int first, int last)
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 893-918
 80.000% (8/10)
184
columnsAboutToBeInserted
Name: QAbstractItemModelPrivate::columnsAboutToBeInserted
Prototype: void QAbstractItemModelPrivate::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last)
Coverage:  92.857% (13/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 825-841
 92.857% (13/14)
114
rowsInserted
Name: QAbstractItemModelPrivate::rowsInserted
Prototype: void QAbstractItemModelPrivate::rowsInserted(const QModelIndex &parent, int first, int last)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 638-655
 71.429% (5/7)
113
columnsInserted
Name: QAbstractItemModelPrivate::columnsInserted
Prototype: void QAbstractItemModelPrivate::columnsInserted(const QModelIndex &parent, int first, int last)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 843-860
 71.429% (5/7)
113
invalidatePersistentIndexes
Name: QAbstractItemModelPrivate::invalidatePersistentIndexes
Prototype: void QAbstractItemModelPrivate::invalidatePersistentIndexes()
Coverage: 100.000% (2/2)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 505-512
100.000% (2/2)
42
invalidatePersistentIndex
Name: QAbstractItemModelPrivate::invalidatePersistentIndex
Prototype: void QAbstractItemModelPrivate::invalidatePersistentIndex(const QModelIndex &index)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 519-527
100.000% (4/4)
62
Persistent
Name: QAbstractItemModelPrivate::Persistent
Coverage: 100.000% (6/6)
100.000% (6/6)
72
staticEmptyModel
Name: QAbstractItemModelPrivate::staticEmptyModel
Prototype: QAbstractItemModel *QAbstractItemModelPrivate::staticEmptyModel()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 500-503
100.000% (1/1)
11
itemsMoved
Name: QAbstractItemModelPrivate::itemsMoved
Prototype: void QAbstractItemModelPrivate::itemsMoved(const QModelIndex &sourceParent, int sourceFirst, int sourceLast, const QModelIndex &destinationParent, int destinationChild, Qt::Orientation orientation)
Coverage: 100.000% (9/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 750-766
100.000% (9/9)
111
defaultRoleNames
Name: QAbstractItemModelPrivate::defaultRoleNames
Prototype: const QHash<int,QByteArray> &QAbstractItemModelPrivate::defaultRoleNames()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 545-548
100.000% (1/1)
11
QAbstractItemModelPrivate
Name: QAbstractItemModelPrivate::QAbstractItemModelPrivate
Prototype: QAbstractItemModelPrivate::QAbstractItemModelPrivate()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qabstractitemmodel.cpp
Lines: 489-494
100.000% (1/1)
21

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