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

Function Tree

Path:<top>::QItemSelectionModel
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
QItemSelectionModel
Name: QItemSelectionModel::QItemSelectionModel
Prototype: QItemSelectionModel::QItemSelectionModel(QItemSelectionModelPrivate &dd, QAbstractItemModel *model)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1137-1141
  0.000% (0/1)
11
QItemSelectionModel
Name: QItemSelectionModel::QItemSelectionModel
Prototype: QItemSelectionModel::QItemSelectionModel(QAbstractItemModel *model)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1119-1123
100.000% (1/1)
11
QItemSelectionModel
Name: QItemSelectionModel::QItemSelectionModel
Prototype: QItemSelectionModel::QItemSelectionModel(QAbstractItemModel *model, QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1128-1132
100.000% (1/1)
11
currentIndex
Name: QItemSelectionModel::currentIndex
Prototype: QModelIndex QItemSelectionModel::currentIndex() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1387-1390
100.000% (1/1)
11
model
Name: QItemSelectionModel::model
Prototype: QAbstractItemModel *QItemSelectionModel::model()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1767-1770
100.000% (1/1)
11
model
Name: QItemSelectionModel::model
Prototype: const QAbstractItemModel *QItemSelectionModel::model() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1775-1778
100.000% (1/1)
11
selection
Name: QItemSelectionModel::selection
Coverage: 100.000% (1/1)
100.000% (1/1)
11
clear
Name: QItemSelectionModel::clear
Prototype: void QItemSelectionModel::clear()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1304-1308
100.000% (1/1)
21
reset
Name: QItemSelectionModel::reset
Prototype: void QItemSelectionModel::reset()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1328-1332
100.000% (1/1)
21
select
Name: QItemSelectionModel::select
Prototype: void QItemSelectionModel::select(const QModelIndex &index, QItemSelectionModel::SelectionFlags command)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1156-1160
100.000% (1/1)
21
clearSelection
Name: QItemSelectionModel::clearSelection
Prototype: void QItemSelectionModel::clearSelection()
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1338-1345
100.000% (6/6)
42
selectedIndexes
Name: QItemSelectionModel::selectedIndexes
Prototype: QModelIndexList QItemSelectionModel::selectedIndexes() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1640-1646
100.000% (1/1)
41
setModel
Name: QItemSelectionModel::setModel
Prototype: void QItemSelectionModel::setModel(QAbstractItemModel *model)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1787-1795
 50.000% (2/4)
52
hasSelection
Name: QItemSelectionModel::hasSelection
Prototype: bool QItemSelectionModel::hasSelection() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1624-1634
100.000% (4/4)
62
clearCurrentIndex
Name: QItemSelectionModel::clearCurrentIndex
Prototype: void QItemSelectionModel::clearCurrentIndex()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1313-1323
100.000% (4/4)
72
selection
Name: QItemSelectionModel::selection
Prototype: const QItemSelection QItemSelectionModel::selection() const
Coverage: 100.000% (2/2)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1715-1730
100.000% (2/2)
82
selectedColumns
Name: QItemSelectionModel::selectedColumns
Prototype: QModelIndexList QItemSelectionModel::selectedColumns(int row) const
Coverage:  92.308% (12/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1687-1710
 92.308% (12/13)
135
selectedRows
Name: QItemSelectionModel::selectedRows
Prototype: QModelIndexList QItemSelectionModel::selectedRows(int column) const
Coverage:  92.308% (12/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1655-1678
 92.308% (12/13)
135
columnIntersectsSelection
Name: QItemSelectionModel::columnIntersectsSelection
Prototype: bool QItemSelectionModel::columnIntersectsSelection(int column, const QModelIndex &parent) const
Coverage:  71.429% (15/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1591-1616
 71.429% (15/21)
187
setCurrentIndex
Name: QItemSelectionModel::setCurrentIndex
Prototype: void QItemSelectionModel::setCurrentIndex(const QModelIndex &index, QItemSelectionModel::SelectionFlags command)
Coverage:  91.304% (21/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1358-1381
 91.304% (21/23)
197
isSelected
Name: QItemSelectionModel::isSelected
Prototype: bool QItemSelectionModel::isSelected(const QModelIndex &index) const
Coverage:  93.103% (27/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1395-1427
 93.103% (27/29)
209
rowIntersectsSelection
Name: QItemSelectionModel::rowIntersectsSelection
Prototype: bool QItemSelectionModel::rowIntersectsSelection(int row, const QModelIndex &parent) const
Coverage:  83.333% (20/24)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1557-1585
 83.333% (20/24)
218
select
Name: QItemSelectionModel::select
Prototype: void QItemSelectionModel::select(const QItemSelection &selection, QItemSelectionModel::SelectionFlags command)
Coverage:  90.476% (19/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1247-1299
 90.476% (19/21)
279
isColumnSelected
Name: QItemSelectionModel::isColumnSelected
Prototype: bool QItemSelectionModel::isColumnSelected(int column, const QModelIndex &parent) const
Coverage:  71.186% (42/59)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1499-1551
 71.186% (42/59)
3417
emitSelectionChanged
Name: QItemSelectionModel::emitSelectionChanged
Prototype: void QItemSelectionModel::emitSelectionChanged(const QItemSelection &newSelection, const QItemSelection &oldSelection)
Coverage: 100.000% (56/56)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1801-1868
100.000% (56/56)
3716
isRowSelected
Name: QItemSelectionModel::isRowSelected
Prototype: bool QItemSelectionModel::isRowSelected(int row, const QModelIndex &parent) const
Coverage:  76.190% (48/63)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 1437-1489
 76.190% (48/63)
3718

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