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

Function Tree

Path:<top>::QStringListModel
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
supportedDropActions
Name: QStringListModel::supportedDropActions
Prototype: Qt::DropActions QStringListModel::supportedDropActions() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qstringlistmodel.cpp
Lines: 324-327
100.000% (1/1)
11
stringList
Name: QStringListModel::stringList
Prototype: QStringList QStringListModel::stringList() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qstringlistmodel.cpp
Lines: 303-306
100.000% (1/1)
11
setStringList
Name: QStringListModel::setStringList
Prototype: void QStringListModel::setStringList(const QStringList &strings)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qstringlistmodel.cpp
Lines: 314-319
100.000% (1/1)
31
rowCount
Name: QStringListModel::rowCount
Prototype: int QStringListModel::rowCount(const QModelIndex &parent) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qstringlistmodel.cpp
Lines: 121-127
100.000% (4/4)
32
removeRows
Name: QStringListModel::removeRows
Prototype: bool QStringListModel::removeRows(int row, int count, const QModelIndex &parent)
Coverage: 100.000% (8/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qstringlistmodel.cpp
Lines: 239-252
100.000% (8/8)
72
insertRows
Name: QStringListModel::insertRows
Prototype: bool QStringListModel::insertRows(int row, int count, const QModelIndex &parent)
Coverage: 100.000% (11/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qstringlistmodel.cpp
Lines: 213-226
100.000% (11/11)
73
flags
Name: QStringListModel::flags
Prototype: Qt::ItemFlags QStringListModel::flags(const QModelIndex &index) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qstringlistmodel.cpp
Lines: 168-174
100.000% (4/4)
32
QStringListModel
Name: QStringListModel::QStringListModel
Prototype: QStringListModel::QStringListModel(QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qstringlistmodel.cpp
Lines: 95-98
100.000% (1/1)
21
QStringListModel
Name: QStringListModel::QStringListModel
Prototype: QStringListModel::QStringListModel(const QStringList &strings, QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qstringlistmodel.cpp
Lines: 105-108
100.000% (1/1)
21
data
Name: QStringListModel::data
Prototype: QVariant QStringListModel::data(const QModelIndex &index, int role) const
Coverage:  90.909% (10/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qstringlistmodel.cpp
Lines: 149-158
 90.909% (10/11)
53
sort
Name: QStringListModel::sort
Prototype: void QStringListModel::sort(int, Qt::SortOrder order)
Coverage:  85.714% (12/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qstringlistmodel.cpp
Lines: 267-298
 85.714% (12/14)
225
setData
Name: QStringListModel::setData
Prototype: bool QStringListModel::setData(const QModelIndex &index, const QVariant &value, int role)
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qstringlistmodel.cpp
Lines: 185-200
 80.000% (8/10)
102
sibling
Name: QStringListModel::sibling
Prototype: QModelIndex QStringListModel::sibling(int row, int column, const QModelIndex &idx) const
Coverage:  75.000% (6/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qstringlistmodel.cpp
Lines: 132-138
 75.000% (6/8)
32

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