Function | Condition %▴ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
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: | 126-132 |
| | 3 | 2 |
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: | 179-194 |
| | 10 | 2 |
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: | 261-292 |
| | 22 | 5 |
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: | 143-152 |
| | 5 | 3 |
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: | 89-92 |
| | 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: | 99-102 |
| | 2 | 1 |
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: | 162-168 |
| | 3 | 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: | 207-220 |
| | 7 | 3 |
removeRowsName: | QStringListModel::removeRows | Prototype: | bool QStringListModel::removeRows(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: | 233-246 |
| | 7 | 3 |
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: | 115-121 |
| | 3 | 2 |
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: | 308-313 |
| | 3 | 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: | 297-300 |
| | 1 | 1 |
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: | 318-321 |
| | 1 | 1 |