Function | Condition % | eLOC - Effective Lines of Codeā¾ | McCabe - Cyclomatic Complexity |
_q_sourceDataChangedName: | QSortFilterProxyModelPrivate::_q_sourceDataChanged | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceDataChanged(const QModelIndex &source_top_left, const QModelIndex &source_bottom_right, const QVector<int> &roles) | Coverage: | 75.385% (49/65) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1158-1266 |
| | 72 | 19 |
source_items_insertedName: | QSortFilterProxyModelPrivate::source_items_inserted | Prototype: | void QSortFilterProxyModelPrivate::source_items_inserted( const QModelIndex &source_parent, int start, int end, Qt::Orientation orient) | Coverage: | 74.286% (52/70) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 740-833 |
| | 57 | 18 |
proxy_intervals_for_source_items_to_addName: | QSortFilterProxyModelPrivate::proxy_intervals_for_source_items_to_add | Prototype: | QVector<QPair<int, QVector<int > > > QSortFilterProxyModelPrivate::proxy_intervals_for_source_items_to_add( const QVector<int> &proxy_to_source, const QVector<int> &source_items, const QModelIndex &source_parent, Qt::Orientation orient) const | Coverage: | 98.113% (52/53) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 613-677 |
| | 42 | 13 |
create_mappingName: | QSortFilterProxyModelPrivate::create_mapping | Prototype: | IndexMap::const_iterator QSortFilterProxyModelPrivate::create_mapping( const QModelIndex &source_parent) const | Coverage: | 94.737% (18/19) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 328-372 |
| | 30 | 7 |
updateChildrenMappingName: | QSortFilterProxyModelPrivate::updateChildrenMapping | Prototype: | void QSortFilterProxyModelPrivate::updateChildrenMapping(const QModelIndex &source_parent, Mapping *parent_mapping, Qt::Orientation orient, int start, int end, int delta_item_count, bool remove) | Coverage: | 100.000% (23/23) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 926-978 |
| | 29 | 6 |
source_items_removedName: | QSortFilterProxyModelPrivate::source_items_removed | Prototype: | void QSortFilterProxyModelPrivate::source_items_removed( const QModelIndex &source_parent, int start, int end, Qt::Orientation orient) | Coverage: | 72.000% (18/25) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 874-919 |
| | 27 | 7 |
_q_sourceHeaderDataChangedName: | QSortFilterProxyModelPrivate::_q_sourceHeaderDataChanged | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceHeaderDataChanged(Qt::Orientation orientation, int start, int end) | Coverage: | 88.889% (16/18) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1268-1308 |
| | 25 | 6 |
handle_filter_changedName: | QSortFilterProxyModelPrivate::handle_filter_changed | Prototype: | QSet<int> QSortFilterProxyModelPrivate::handle_filter_changed( QVector<int> &source_to_proxy, QVector<int> &proxy_to_source, const QModelIndex &source_parent, Qt::Orientation orient) | Coverage: | 92.857% (26/28) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1117-1156 |
| | 24 | 8 |
insert_source_itemsName: | QSortFilterProxyModelPrivate::insert_source_items | Prototype: | void QSortFilterProxyModelPrivate::insert_source_items( QVector<int> &source_to_proxy, QVector<int> &proxy_to_source, const QVector<int> &source_items, const QModelIndex &source_parent, Qt::Orientation orient, bool emit_signal) | Coverage: | 91.667% (22/24) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 687-726 |
| | 23 | 8 |
_q_sourceLayoutChangedName: | QSortFilterProxyModelPrivate::_q_sourceLayoutChanged | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceLayoutChanged(const QList<QPersistentModelIndex> &sourceParents, QAbstractItemModel::LayoutChangeHint hint) | Coverage: | 83.333% (15/18) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1357-1391 |
| | 20 | 6 |
filter_changedName: | QSortFilterProxyModelPrivate::filter_changed | Prototype: | void QSortFilterProxyModelPrivate::filter_changed(const QModelIndex &source_parent) | Coverage: | 93.333% (14/15) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1075-1111 |
| | 19 | 5 |
_q_sourceLayoutAboutToBeChangedName: | QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged(const QList<QPersistentModelIndex> &sourceParents, QAbstractItemModel::LayoutChangeHint hint) | Coverage: | 100.000% (16/16) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1328-1355 |
| | 17 | 6 |
source_to_proxyName: | QSortFilterProxyModelPrivate::source_to_proxy | Prototype: | QModelIndex QSortFilterProxyModelPrivate::source_to_proxy(const QModelIndex &source_index) const | Coverage: | 64.706% (11/17) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 392-411 |
| | 16 | 5 |
source_items_about_to_be_removedName: | QSortFilterProxyModelPrivate::source_items_about_to_be_removed | Prototype: | void QSortFilterProxyModelPrivate::source_items_about_to_be_removed( const QModelIndex &source_parent, int start, int end, Qt::Orientation orient) | Coverage: | 85.714% (18/21) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 841-867 |
| | 16 | 5 |
proxy_intervals_for_source_itemsName: | QSortFilterProxyModelPrivate::proxy_intervals_for_source_items | Prototype: | QVector<QPair<int, int > > QSortFilterProxyModelPrivate::proxy_intervals_for_source_items( const QVector<int> &source_to_proxy, const QVector<int> &source_items) const | Coverage: | 100.000% (12/12) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 513-537 |
| | 16 | 4 |
update_persistent_indexesName: | QSortFilterProxyModelPrivate::update_persistent_indexes | Prototype: | void QSortFilterProxyModelPrivate::update_persistent_indexes( const QModelIndexPairList &source_indexes) | Coverage: | 100.000% (4/4) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1036-1053 |
| | 13 | 2 |
proxy_to_sourceName: | QSortFilterProxyModelPrivate::proxy_to_source | Prototype: | QModelIndex QSortFilterProxyModelPrivate::proxy_to_source(const QModelIndex &proxy_index) const | Coverage: | 58.333% (7/12) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 374-390 |
| | 13 | 4 |
_q_sourceRowsMovedName: | QSortFilterProxyModelPrivate::_q_sourceRowsMoved | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceRowsMoved( const QModelIndex &sourceParent, int , int , const QModelIndex &destParent, int ) | Coverage: | 55.556% (5/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1449-1473 |
| | 13 | 3 |
_q_sourceColumnsMovedName: | QSortFilterProxyModelPrivate::_q_sourceColumnsMoved | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceColumnsMoved( const QModelIndex &sourceParent, int , int , const QModelIndex &destParent, int ) | Coverage: | 0.000% (0/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1549-1570 |
| | 13 | 3 |
remove_source_itemsName: | QSortFilterProxyModelPrivate::remove_source_items | Prototype: | void QSortFilterProxyModelPrivate::remove_source_items( QVector<int> &source_to_proxy, QVector<int> &proxy_to_source, const QVector<int> &source_items, const QModelIndex &source_parent, Qt::Orientation orient, bool emit_signal) | Coverage: | 77.778% (7/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 547-567 |
| | 12 | 3 |
sortName: | QSortFilterProxyModelPrivate::sort | Prototype: | void QSortFilterProxyModelPrivate::sort() | Coverage: | 100.000% (4/4) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 437-451 |
| | 11 | 2 |
remove_proxy_intervalName: | QSortFilterProxyModelPrivate::remove_proxy_interval | Prototype: | void QSortFilterProxyModelPrivate::remove_proxy_interval( QVector<int> &source_to_proxy, QVector<int> &proxy_to_source, int proxy_start, int proxy_end, const QModelIndex &proxy_parent, Qt::Orientation orient, bool emit_signal) | Coverage: | 100.000% (13/13) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 576-599 |
| | 11 | 5 |
can_create_mappingName: | QSortFilterProxyModelPrivate::can_create_mapping | Prototype: | bool QSortFilterProxyModelPrivate::can_create_mapping(const QModelIndex &source_parent) const | Coverage: | 91.667% (11/12) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 413-430 |
| | 10 | 4 |
_q_sourceRowsAboutToBeMovedName: | QSortFilterProxyModelPrivate::_q_sourceRowsAboutToBeMoved | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceRowsAboutToBeMoved( const QModelIndex &sourceParent, int , int , const QModelIndex &destParent, int ) | Coverage: | 57.143% (4/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1427-1447 |
| | 10 | 3 |
_q_sourceColumnsInsertedName: | QSortFilterProxyModelPrivate::_q_sourceColumnsInserted | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceColumnsInserted( const QModelIndex &source_parent, int start, int end) | Coverage: | 93.333% (14/15) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1486-1504 |
| | 10 | 5 |
_q_sourceColumnsAboutToBeMovedName: | QSortFilterProxyModelPrivate::_q_sourceColumnsAboutToBeMoved | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceColumnsAboutToBeMoved( const QModelIndex &sourceParent, int , int , const QModelIndex &destParent, int ) | Coverage: | 0.000% (0/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1531-1547 |
| | 10 | 3 |
proxy_item_rangeName: | QSortFilterProxyModelPrivate::proxy_item_range | Prototype: | void QSortFilterProxyModelPrivate::proxy_item_range( const QVector<int> &source_to_proxy, const QVector<int> &source_items, int &proxy_low, int &proxy_high) const | Coverage: | 80.000% (8/10) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 983-997 |
| | 9 | 4 |
index_to_iteratorName: | QSortFilterProxyModelPrivate::index_to_iterator | Prototype: | inline QHash<QModelIndex, Mapping *>::const_iterator index_to_iterator( const QModelIndex &proxy_index) const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 183-195 |
| | 9 | 1 |
_q_sourceColumnsRemovedName: | QSortFilterProxyModelPrivate::_q_sourceColumnsRemoved | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceColumnsRemoved( const QModelIndex &source_parent, int start, int end) | Coverage: | 100.000% (10/10) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1513-1529 |
| | 9 | 4 |
update_source_sort_columnName: | QSortFilterProxyModelPrivate::update_source_sort_column | Prototype: | bool QSortFilterProxyModelPrivate::update_source_sort_column() | Coverage: | 100.000% (8/8) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 459-477 |
| | 8 | 3 |
store_persistent_indexesName: | QSortFilterProxyModelPrivate::store_persistent_indexes | Prototype: | QModelIndexPairList QSortFilterProxyModelPrivate::store_persistent_indexes() const | Coverage: | 100.000% (2/2) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1017-1028 |
| | 8 | 2 |
sort_source_rowsName: | QSortFilterProxyModelPrivate::sort_source_rows | Prototype: | void QSortFilterProxyModelPrivate::sort_source_rows( QVector<int> &source_rows, const QModelIndex &source_parent) const | Coverage: | 100.000% (7/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 485-500 |
| | 8 | 3 |
_q_sourceResetName: | QSortFilterProxyModelPrivate::_q_sourceReset | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceReset() | Coverage: | 75.000% (3/4) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1316-1326 |
| | 7 | 2 |
_q_clearMappingName: | QSortFilterProxyModelPrivate::_q_clearMapping | Prototype: | void QSortFilterProxyModelPrivate::_q_clearMapping() | Coverage: | 100.000% (6/6) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 311-326 |
| | 7 | 2 |
remove_from_mappingName: | QSortFilterProxyModelPrivate::remove_from_mapping | Prototype: | void QSortFilterProxyModelPrivate::remove_from_mapping(const QModelIndex &source_parent) | Coverage: | 85.714% (6/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 302-309 |
| | 4 | 3 |
build_source_to_proxy_mappingName: | QSortFilterProxyModelPrivate::build_source_to_proxy_mapping | Prototype: | void QSortFilterProxyModelPrivate::build_source_to_proxy_mapping( const QVector<int> &proxy_to_source, QVector<int> &source_to_proxy) const | Coverage: | 100.000% (4/4) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1002-1009 |
| | 4 | 2 |
_q_sourceRowsAboutToBeInsertedName: | QSortFilterProxyModelPrivate::_q_sourceRowsAboutToBeInserted | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceRowsAboutToBeInserted( const QModelIndex &source_parent, int start, int end) | Coverage: | 100.000% (4/4) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1393-1402 |
| | 4 | 2 |
_q_sourceColumnsAboutToBeInsertedName: | QSortFilterProxyModelPrivate::_q_sourceColumnsAboutToBeInserted | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceColumnsAboutToBeInserted( const QModelIndex &source_parent, int start, int end) | Coverage: | 100.000% (4/4) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1475-1484 |
| | 4 | 2 |
filter_about_to_be_changedName: | QSortFilterProxyModelPrivate::filter_about_to_be_changed | Prototype: | void QSortFilterProxyModelPrivate::filter_about_to_be_changed(const QModelIndex &source_parent) | Coverage: | 100.000% (6/6) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1061-1066 |
| | 3 | 2 |
_q_sourceRowsInsertedName: | QSortFilterProxyModelPrivate::_q_sourceRowsInserted | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceRowsInserted( const QModelIndex &source_parent, int start, int end) | Coverage: | 33.333% (2/6) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1404-1410 |
| | 3 | 2 |
_q_sourceRowsAboutToBeRemovedName: | QSortFilterProxyModelPrivate::_q_sourceRowsAboutToBeRemoved | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceRowsAboutToBeRemoved( const QModelIndex &source_parent, int start, int end) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1412-1418 |
| | 3 | 1 |
_q_sourceModelDestroyedName: | QSortFilterProxyModelPrivate::_q_sourceModelDestroyed | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceModelDestroyed() | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 295-300 |
| | 3 | 1 |
_q_sourceRowsRemovedName: | QSortFilterProxyModelPrivate::_q_sourceRowsRemoved | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceRowsRemoved( const QModelIndex &source_parent, int start, int end) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1420-1425 |
| | 2 | 1 |
_q_sourceColumnsAboutToBeRemovedName: | QSortFilterProxyModelPrivate::_q_sourceColumnsAboutToBeRemoved | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceColumnsAboutToBeRemoved( const QModelIndex &source_parent, int start, int end) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1506-1511 |
| | 2 | 1 |
_q_sourceAboutToBeResetName: | QSortFilterProxyModelPrivate::_q_sourceAboutToBeReset | Prototype: | void QSortFilterProxyModelPrivate::_q_sourceAboutToBeReset() | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 1310-1314 |
| | 2 | 1 |
create_indexName: | QSortFilterProxyModelPrivate::create_index | Prototype: | inline QModelIndex create_index(int row, int column, QHash<QModelIndex, Mapping*>::const_iterator it) const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp | Lines: | 197-201 |
| | 1 | 1 |