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

Function Tree

Path:<top>::QSortFilterProxyModel
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
dropMimeData
Name: QSortFilterProxyModel::dropMimeData
Prototype: bool QSortFilterProxyModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2071-2075
100.000% (1/1)
11
mapSelectionFromSource
Name: QSortFilterProxyModel::mapSelectionFromSource
Prototype: QItemSelection QSortFilterProxyModel::mapSelectionFromSource(const QItemSelection &sourceSelection) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2784-2787
100.000% (1/1)
11
mapSelectionToSource
Name: QSortFilterProxyModel::mapSelectionToSource
Prototype: QItemSelection QSortFilterProxyModel::mapSelectionToSource(const QItemSelection &proxySelection) const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2776-2779
  0.000% (0/1)
11
match
Name: QSortFilterProxyModel::match
Prototype: QModelIndexList QSortFilterProxyModel::match(const QModelIndex &start, int role, const QVariant &value, int hits, Qt::MatchFlags flags) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2252-2257
100.000% (1/1)
11
dynamicSortFilter
Name: QSortFilterProxyModel::dynamicSortFilter
Prototype: bool QSortFilterProxyModel::dynamicSortFilter() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2497-2501
  0.000% (0/1)
21
filterCaseSensitivity
Name: QSortFilterProxyModel::filterCaseSensitivity
Prototype: Qt::CaseSensitivity QSortFilterProxyModel::filterCaseSensitivity() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2368-2372
  0.000% (0/1)
21
filterChanged
Name: QSortFilterProxyModel::filterChanged
Prototype: void QSortFilterProxyModel::filterChanged()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2593-2597
  0.000% (0/1)
21
filterKeyColumn
Name: QSortFilterProxyModel::filterKeyColumn
Prototype: int QSortFilterProxyModel::filterKeyColumn() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2344-2348
100.000% (1/1)
21
filterRegExp
Name: QSortFilterProxyModel::filterRegExp
Prototype: QRegExp QSortFilterProxyModel::filterRegExp() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2322-2326
100.000% (1/1)
21
filterRole
Name: QSortFilterProxyModel::filterRole
Prototype: int QSortFilterProxyModel::filterRole() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2544-2548
  0.000% (0/1)
21
invalidateFilter
Name: QSortFilterProxyModel::invalidateFilter
Prototype: void QSortFilterProxyModel::invalidateFilter()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2609-2613
100.000% (1/1)
21
isSortLocaleAware
Name: QSortFilterProxyModel::isSortLocaleAware
Prototype: bool QSortFilterProxyModel::isSortLocaleAware() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2418-2422
  0.000% (0/1)
21
mapFromSource
Name: QSortFilterProxyModel::mapFromSource
Prototype: QModelIndex QSortFilterProxyModel::mapFromSource(const QModelIndex &sourceIndex) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2767-2771
100.000% (1/1)
21
mapToSource
Name: QSortFilterProxyModel::mapToSource
Prototype: QModelIndex QSortFilterProxyModel::mapToSource(const QModelIndex &proxyIndex) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2755-2759
100.000% (1/1)
21
mimeTypes
Name: QSortFilterProxyModel::mimeTypes
Prototype: QStringList QSortFilterProxyModel::mimeTypes() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2052-2056
100.000% (1/1)
21
sortCaseSensitivity
Name: QSortFilterProxyModel::sortCaseSensitivity
Prototype: Qt::CaseSensitivity QSortFilterProxyModel::sortCaseSensitivity() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2393-2397
  0.000% (0/1)
21
sortColumn
Name: QSortFilterProxyModel::sortColumn
Prototype: int QSortFilterProxyModel::sortColumn() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2291-2295
100.000% (1/1)
21
sortOrder
Name: QSortFilterProxyModel::sortOrder
Prototype: Qt::SortOrder QSortFilterProxyModel::sortOrder() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2303-2307
  0.000% (0/1)
21
sortRole
Name: QSortFilterProxyModel::sortRole
Prototype: int QSortFilterProxyModel::sortRole() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2520-2524
  0.000% (0/1)
21
supportedDropActions
Name: QSortFilterProxyModel::supportedDropActions
Prototype: Qt::DropActions QSortFilterProxyModel::supportedDropActions() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2061-2065
100.000% (1/1)
21
filterAcceptsColumn
Name: QSortFilterProxyModel::filterAcceptsColumn
Prototype: bool QSortFilterProxyModel::filterAcceptsColumn(int source_column, const QModelIndex &source_parent) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2742-2747
100.000% (1/1)
31
~QSortFilterProxyModel
Name: QSortFilterProxyModel::~QSortFilterProxyModel
Prototype: QSortFilterProxyModel::~QSortFilterProxyModel()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 1747-1752
100.000% (1/1)
31
clear
Name: QSortFilterProxyModel::clear
Prototype: void QSortFilterProxyModel::clear()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2565-2571
  0.000% (0/1)
41
invalidate
Name: QSortFilterProxyModel::invalidate
Prototype: void QSortFilterProxyModel::invalidate()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2580-2586
100.000% (1/1)
41
setDynamicSortFilter
Name: QSortFilterProxyModel::setDynamicSortFilter
Prototype: void QSortFilterProxyModel::setDynamicSortFilter(bool enable)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2503-2509
100.000% (4/4)
42
setFilterKeyColumn
Name: QSortFilterProxyModel::setFilterKeyColumn
Prototype: void QSortFilterProxyModel::setFilterKeyColumn(int column)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2350-2356
100.000% (1/1)
41
setFilterRegExp
Name: QSortFilterProxyModel::setFilterRegExp
Prototype: void QSortFilterProxyModel::setFilterRegExp(const QRegExp &regExp)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2328-2334
100.000% (1/1)
41
canFetchMore
Name: QSortFilterProxyModel::canFetchMore
Prototype: bool QSortFilterProxyModel::canFetchMore(const QModelIndex &parent) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2213-2220
100.000% (4/4)
52
data
Name: QSortFilterProxyModel::data
Prototype: QVariant QSortFilterProxyModel::data(const QModelIndex &index, int role) const
Coverage:  66.667% (4/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 1969-1976
 66.667% (4/6)
52
fetchMore
Name: QSortFilterProxyModel::fetchMore
Prototype: void QSortFilterProxyModel::fetchMore(const QModelIndex &parent)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2201-2208
100.000% (4/4)
52
flags
Name: QSortFilterProxyModel::flags
Prototype: Qt::ItemFlags QSortFilterProxyModel::flags(const QModelIndex &index) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2225-2232
100.000% (4/4)
52
setData
Name: QSortFilterProxyModel::setData
Prototype: bool QSortFilterProxyModel::setData(const QModelIndex &index, const QVariant &value, int role)
Coverage:  66.667% (4/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 1981-1988
 66.667% (4/6)
52
setFilterFixedString
Name: QSortFilterProxyModel::setFilterFixedString
Prototype: void QSortFilterProxyModel::setFilterFixedString(const QString &pattern)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2472-2479
100.000% (1/1)
51
setFilterRegExp
Name: QSortFilterProxyModel::setFilterRegExp
Prototype: void QSortFilterProxyModel::setFilterRegExp(const QString &pattern)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2442-2449
100.000% (1/1)
51
setFilterWildcard
Name: QSortFilterProxyModel::setFilterWildcard
Prototype: void QSortFilterProxyModel::setFilterWildcard(const QString &pattern)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2457-2464
  0.000% (0/1)
51
setSortCaseSensitivity
Name: QSortFilterProxyModel::setSortCaseSensitivity
Prototype: void QSortFilterProxyModel::setSortCaseSensitivity(Qt::CaseSensitivity cs)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2399-2407
100.000% (4/4)
52
setSortLocaleAware
Name: QSortFilterProxyModel::setSortLocaleAware
Prototype: void QSortFilterProxyModel::setSortLocaleAware(bool on)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2424-2432
  0.000% (0/4)
52
setSortRole
Name: QSortFilterProxyModel::setSortRole
Prototype: void QSortFilterProxyModel::setSortRole(int role)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2526-2533
100.000% (4/4)
52
span
Name: QSortFilterProxyModel::span
Prototype: QSize QSortFilterProxyModel::span(const QModelIndex &index) const
Coverage:  33.333% (2/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2262-2269
 33.333% (2/6)
52
columnCount
Name: QSortFilterProxyModel::columnCount
Prototype: int QSortFilterProxyModel::columnCount(const QModelIndex &parent) const
Coverage:  66.667% (4/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 1937-1945
 66.667% (4/6)
62
rowCount
Name: QSortFilterProxyModel::rowCount
Prototype: int QSortFilterProxyModel::rowCount(const QModelIndex &parent) const
Coverage:  66.667% (4/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 1924-1932
 66.667% (4/6)
62
setFilterCaseSensitivity
Name: QSortFilterProxyModel::setFilterCaseSensitivity
Prototype: void QSortFilterProxyModel::setFilterCaseSensitivity(Qt::CaseSensitivity cs)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2374-2382
  0.000% (0/4)
62
setFilterRole
Name: QSortFilterProxyModel::setFilterRole
Prototype: void QSortFilterProxyModel::setFilterRole(int role)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2550-2558
100.000% (4/4)
62
mimeData
Name: QSortFilterProxyModel::mimeData
Prototype: QMimeData *QSortFilterProxyModel::mimeData(const QModelIndexList &indexes) const
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2038-2047
  0.000% (0/4)
72
sibling
Name: QSortFilterProxyModel::sibling
Prototype: QModelIndex QSortFilterProxyModel::sibling(int row, int column, const QModelIndex &idx) const
Coverage:  66.667% (6/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 1908-1919
 66.667% (6/9)
73
sort
Name: QSortFilterProxyModel::sort
Prototype: void QSortFilterProxyModel::sort(int column, Qt::SortOrder order)
Coverage: 100.000% (8/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2274-2283
100.000% (8/8)
72
buddy
Name: QSortFilterProxyModel::buddy
Prototype: QModelIndex QSortFilterProxyModel::buddy(const QModelIndex &index) const
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2237-2247
 71.429% (5/7)
83
index
Name: QSortFilterProxyModel::index
Prototype: QModelIndex QSortFilterProxyModel::index(int row, int column, const QModelIndex &parent) const
Coverage: 100.000% (11/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 1876-1888
100.000% (11/11)
83
parent
Name: QSortFilterProxyModel::parent
Prototype: QModelIndex QSortFilterProxyModel::parent(const QModelIndex &child) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 1893-1903
100.000% (4/4)
82
QSortFilterProxyModel
Name: QSortFilterProxyModel::QSortFilterProxyModel
Prototype: QSortFilterProxyModel::QSortFilterProxyModel(QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 1729-1742
100.000% (1/1)
101
hasChildren
Name: QSortFilterProxyModel::hasChildren
Prototype: bool QSortFilterProxyModel::hasChildren(const QModelIndex &parent) const
Coverage:  83.333% (10/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 1950-1964
 83.333% (10/12)
104
headerData
Name: QSortFilterProxyModel::headerData
Prototype: QVariant QSortFilterProxyModel::headerData(int section, Qt::Orientation orientation, int role) const
Coverage:  55.556% (10/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 1993-2010
 55.556% (10/18)
135
insertColumns
Name: QSortFilterProxyModel::insertColumns
Prototype: bool QSortFilterProxyModel::insertColumns(int column, int count, const QModelIndex &parent)
Coverage:  75.000% (12/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2100-2115
 75.000% (12/16)
134
insertRows
Name: QSortFilterProxyModel::insertRows
Prototype: bool QSortFilterProxyModel::insertRows(int row, int count, const QModelIndex &parent)
Coverage:  87.500% (14/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2080-2095
 87.500% (14/16)
134
setHeaderData
Name: QSortFilterProxyModel::setHeaderData
Prototype: bool QSortFilterProxyModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role)
Coverage:  61.111% (11/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2015-2033
 61.111% (11/18)
135
filterAcceptsRow
Name: QSortFilterProxyModel::filterAcceptsRow
Prototype: bool QSortFilterProxyModel::filterAcceptsRow(int source_row, const QModelIndex &source_parent) const
Coverage: 100.000% (16/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2707-2727
100.000% (16/16)
166
lessThan
Name: QSortFilterProxyModel::lessThan
Prototype: bool QSortFilterProxyModel::lessThan(const QModelIndex &source_left, const QModelIndex &source_right) const
Coverage:  41.667% (15/36)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2652-2691
 41.667% (15/36)
2116
removeColumns
Name: QSortFilterProxyModel::removeColumns
Prototype: bool QSortFilterProxyModel::removeColumns(int column, int count, const QModelIndex &parent)
Coverage:  82.353% (28/34)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2162-2196
 82.353% (28/34)
278
removeRows
Name: QSortFilterProxyModel::removeRows
Prototype: bool QSortFilterProxyModel::removeRows(int row, int count, const QModelIndex &parent)
Coverage:  86.111% (31/36)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 2120-2157
 86.111% (31/36)
298
setSourceModel
Name: QSortFilterProxyModel::setSourceModel
Prototype: void QSortFilterProxyModel::setSourceModel(QAbstractItemModel *sourceModel)
Coverage:  66.667% (4/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qsortfilterproxymodel.cpp
Lines: 1757-1871
 66.667% (4/6)
752

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