Function | Condition %▾ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
supportedDropActionsName: | 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 |
| | 1 | 1 |
stringListName: | 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 |
| | 1 | 1 |
setStringListName: | 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 |
| | 3 | 1 |
rowCountName: | 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 |
| | 3 | 2 |
removeRowsName: | 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 |
| | 7 | 2 |
insertRowsName: | 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 |
| | 7 | 3 |
flagsName: | 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 |
| | 3 | 2 |
QStringListModelName: | 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 |
| | 2 | 1 |
QStringListModelName: | 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 |
| | 2 | 1 |
dataName: | 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 |
| | 5 | 3 |
sortName: | 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 |
| | 22 | 5 |
setDataName: | 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 |
| | 10 | 2 |
siblingName: | 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 |
| | 3 | 2 |