OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQmlJS::MemoryPool
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
~MemoryPool
Name: QQmlJS::MemoryPool::~MemoryPool
Prototype: ~MemoryPool()
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsmemorypool_p.h
Lines: 76-87
100.000% (10/10)
64
newString
Name: QQmlJS::MemoryPool::newString
Prototype: QStringRef newString(const QString &string)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsmemorypool_p.h
Lines: 108-111
100.000% (1/1)
21
allocate
Name: QQmlJS::MemoryPool::allocate
Prototype: inline void *allocate(size_t size)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsmemorypool_p.h
Lines: 89-98
100.000% (4/4)
62
New
Name: QQmlJS::MemoryPool::New
Prototype: template <typename Tp> Tp *New()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsmemorypool_p.h
Lines: 106-106
100.000% (1/1)
11
allocate_helper
Name: QQmlJS::MemoryPool::allocate_helper
Prototype: void *allocate_helper(size_t size)
Coverage:  75.000% (15/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsmemorypool_p.h
Lines: 114-144
 75.000% (15/20)
187
reset
Name: QQmlJS::MemoryPool::reset
Prototype: void reset()
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsmemorypool_p.h
Lines: 100-104
  0.000% (0/1)
21

Generated by Squish Coco 4.2.0