OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::WTF::OSAllocator
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
decommitAndRelease
Name: WTF::OSAllocator::decommitAndRelease
Prototype: inline void OSAllocator::decommitAndRelease(void* base, size_t size)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/wtf/OSAllocator.h
Lines: 103-106
100.000% (1/1)
11
releaseDecommitted
Name: WTF::OSAllocator::releaseDecommitted
Prototype: void OSAllocator::releaseDecommitted(void* address, size_t bytes)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp
Lines: 268-273
 50.000% (2/4)
32
reserveAndCommit
Name: WTF::OSAllocator::reserveAndCommit
Prototype: inline void* OSAllocator::reserveAndCommit(size_t reserveSize, size_t commitSize, Usage usage, bool writable, bool executable)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/wtf/OSAllocator.h
Lines: 82-87
  0.000% (0/1)
31
decommitAndRelease
Name: WTF::OSAllocator::decommitAndRelease
Prototype: inline void OSAllocator::decommitAndRelease(void* releaseBase, size_t releaseSize, void* decommitBase, size_t decommitSize)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/wtf/OSAllocator.h
Lines: 89-101
100.000% (1/1)
41
reallocateCommitted
Name: WTF::OSAllocator::reallocateCommitted
Prototype: template<typename T> inline T* OSAllocator::reallocateCommitted(T* oldBase, size_t oldSize, size_t newSize, Usage usage, bool writable, bool executable)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/wtf/OSAllocator.h
Lines: 108-115
  0.000% (0/1)
41
decommit
Name: WTF::OSAllocator::decommit
Prototype: void OSAllocator::decommit(void* address, size_t bytes)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp
Lines: 247-266
 50.000% (2/4)
112
commit
Name: WTF::OSAllocator::commit
Prototype: void OSAllocator::commit(void* address, size_t bytes, bool writable, bool executable)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp
Lines: 215-245
 50.000% (5/10)
244
canAllocateExecutableMemory
Name: WTF::OSAllocator::canAllocateExecutableMemory
Prototype: bool OSAllocator::canAllocateExecutableMemory()
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp
Lines: 275-288
 50.000% (2/4)
292
reserveUncommitted
Name: WTF::OSAllocator::reserveUncommitted
Prototype: void* OSAllocator::reserveUncommitted(size_t bytes, Usage usage, bool writable, bool executable)
Coverage:  57.143% (4/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp
Lines: 110-140
 57.143% (4/7)
333
reserveAndCommit
Name: WTF::OSAllocator::reserveAndCommit
Prototype: void* OSAllocator::reserveAndCommit(size_t bytes, Usage usage, bool writable, bool executable, bool includesGuardPages)
Coverage:  61.905% (13/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp
Lines: 142-213
 61.905% (13/21)
777

Generated by Squish Coco 4.2.0