OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::ListLayout
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
~ListLayout
Name: ListLayout::~ListLayout
Prototype: ListLayout::~ListLayout()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 178-181
100.000% (1/1)
11
sync
Name: ListLayout::sync
Prototype: void ListLayout::sync(ListLayout *src, ListLayout *target)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 183-196
100.000% (4/4)
82
roleCount
Name: ListLayout::roleCount
Prototype: int roleCount() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel_p_p.h
Lines: 235-235
100.000% (1/1)
11
getRoleOrCreate
Name: ListLayout::getRoleOrCreate
Prototype: const ListLayout::Role &ListLayout::getRoleOrCreate(const QString &key, Role::DataType type)
Coverage: 100.000% (8/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 99-110
100.000% (8/8)
73
getRoleOrCreate
Name: ListLayout::getRoleOrCreate
Prototype: const ListLayout::Role &ListLayout::getRoleOrCreate(QV4::String *key, Role::DataType type)
Coverage: 100.000% (8/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 112-125
100.000% (8/8)
83
getExistingRole
Name: ListLayout::getExistingRole
Prototype: const ListLayout::Role *ListLayout::getExistingRole(QV4::String *key) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 261-268
100.000% (4/4)
52
getExistingRole
Name: ListLayout::getExistingRole
Prototype: const Role &getExistingRole(int index) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel_p_p.h
Lines: 231-231
100.000% (1/1)
11
createRole
Name: ListLayout::createRole
Prototype: const ListLayout::Role &ListLayout::createRole(const QString &key, ListLayout::Role::DataType type)
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 127-163
100.000% (9/9)
233
Role
Name: ListLayout::Role
Coverage: 100.000% (6/6)
100.000% (6/6)
104
ListLayout
Name: ListLayout::ListLayout
Prototype: ListLayout::ListLayout(const ListLayout *other)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 165-176
100.000% (4/4)
82
ListLayout
Name: ListLayout::ListLayout
Prototype: ListLayout()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel_p_p.h
Lines: 190-190
100.000% (1/1)
11
getRoleOrCreate
Name: ListLayout::getRoleOrCreate
Prototype: const ListLayout::Role *ListLayout::getRoleOrCreate(const QString &key, const QVariant &data)
Coverage:  76.667% (23/30)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 216-250
 76.667% (23/30)
2312
getExistingRole
Name: ListLayout::getExistingRole
Prototype: const ListLayout::Role *ListLayout::getExistingRole(const QString &key) const
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/types/qqmllistmodel.cpp
Lines: 252-259
 75.000% (3/4)
52

Generated by Squish Coco 4.2.0